javax.security.auth.x500

Class X500Principal

public final class X500Principal extends Object implements Principal, Serializable

Field Summary
static StringCANONICAL
static StringRFC1779
static StringRFC2253
Constructor Summary
X500Principal(String name)
X500Principal(byte[] encoded)
X500Principal(InputStream encoded)
Method Summary
booleanequals(Object o)
byte[]getEncoded()
StringgetName()
StringgetName(String format)
inthashCode()
StringtoString()

Field Detail

CANONICAL

public static final String CANONICAL

RFC1779

public static final String RFC1779

RFC2253

public static final String RFC2253

Constructor Detail

X500Principal

public X500Principal(String name)

X500Principal

public X500Principal(byte[] encoded)

X500Principal

public X500Principal(InputStream encoded)

Method Detail

equals

public boolean equals(Object o)

getEncoded

public byte[] getEncoded()

getName

public String getName()

getName

public String getName(String format)

hashCode

public int hashCode()

toString

public String toString()