X500Principal
Class X500Principal
- java.lang.Object
-
- javax.security.auth.x500.X500Principal
- All Implemented Interfaces:
- Serializable, Principal
public final class X500Principal extends Object implements Principal, Serializable
This class represents an X.500 Principal
. X500Principal
s are represented by distinguished names such as "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US".
This class can be instantiated by using a string representation of the distinguished name, or by using the ASN.1 DER encoded byte representation of the distinguished name. The current specification for the string representation of a