Package org.xwiki.crypto.pkix.params
Interface PrincipalIndentifier
-
- All Known Implementing Classes:
DistinguishedName
,X509DirectoryName
public interface PrincipalIndentifier
Marker interface for unique identifier of a principal.- Since:
- 5.4
- Version:
- $Id: 857539fcefe6ed9c4b815452dbc06a51b5802426 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object o)
Equality operator.byte[]
getEncoded()
String
getName()
-
-
-
Method Detail
-
getEncoded
byte[] getEncoded() throws IOException
- Returns:
- the ASN.1 encoded form of this identifier.
- Throws:
IOException
- on encoding error.
-
getName
String getName()
- Returns:
- a string representation of this principal.
-
-