Example usage for Java javax.security.auth.x500 X500Principal fields, constructors, methods, implement or subclass
The text is from its open source code.
String | RFC1779 RFC 1779 String format of Distinguished Names. |
String | RFC2253 RFC 2253 String format of Distinguished Names. |
String | CANONICAL Canonical String format of Distinguished Names. |
X500Principal(X500Name x500Name) Creates an X500Principal by wrapping an X500Name. | |
X500Principal(String name) Creates an X500Principal from a string representation of an X.500 distinguished name (ex: "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"). | |
X500Principal(byte[] name) Creates an X500Principal from a distinguished name in ASN.1 DER encoded form. | |
X500Principal(InputStream is) Creates an X500Principal from an InputStream containing the distinguished name in ASN.1 DER encoded form. | |
X500Principal(String name, Map Creates an X500Principal from a string representation of an X.500 distinguished name (ex: "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"). |
boolean | equals(Object o) Compares the specified Object with this X500Principal for equality. |
byte[] | getEncoded() Returns the distinguished name in ASN.1 DER encoded form. |
String | getName(String format) Returns a string representation of the X.500 distinguished name using the specified format. |
String | getName() Returns a string representation of the X.500 distinguished name using the format defined in RFC 2253. |
String | getName(String format, Map Returns a string representation of the X.500 distinguished name using the specified format. |
int | hashCode() Return a hash code for this X500Principal . |
String | toString() Return a user-friendly string representation of this X500Principal . |