Package eu.europa.esig.dss.model.x509
Class X500PrincipalHelper
java.lang.Object
eu.europa.esig.dss.model.x509.X500PrincipalHelper
This class contain utility methods to extract String representation of a
X500Principal
distinguishing name-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets canonical namebyte[]
Gets encodedX500Principal
object binariesGets pretty-printed RFC2253 standard nameReturns the currentX500Principal
Gets RFC2253 standard nameint
hashCode()
-
Constructor Details
-
X500PrincipalHelper
Default constructor- Parameters:
principal
-X500Principal
-
-
Method Details
-
getPrincipal
-
getCanonical
-
getRFC2253
-
getPrettyPrintRFC2253
-
getEncoded
public byte[] getEncoded()Gets encodedX500Principal
object binaries- Returns:
- byte array
-
hashCode
-
equals
-