public enum X509NameType extends java.lang.Enum<X509NameType> implements IStringConstant
Enum Constant and Description |
---|
DIRECTORY_NAME |
DNS_NAME |
EDI_PARTY_NAME |
IP_ADDRESS |
OTHER_NAME |
REGISTERED_ID |
RFC822_NAME |
URI |
X400_ADDESS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString()
Returns the string representation of the implementing object.
|
java.lang.String |
getAsn1Name() |
int |
getTag() |
static X509NameType |
ofTag(int asn1Tag) |
java.lang.String |
toString() |
static X509NameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static X509NameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
getDeclaringClass, name, ordinal
public static final X509NameType OTHER_NAME
public static final X509NameType RFC822_NAME
public static final X509NameType DNS_NAME
public static final X509NameType X400_ADDESS
public static final X509NameType DIRECTORY_NAME
public static final X509NameType EDI_PARTY_NAME
public static final X509NameType URI
public static final X509NameType IP_ADDRESS
public static final X509NameType REGISTERED_ID
public static X509NameType[] values()
for (X509NameType c : X509NameType.values()) System.out.println(c);
public static X509NameType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static X509NameType ofTag(int asn1Tag)
public java.lang.String getAsn1Name()
public int getTag()
public java.lang.String asString()
IStringRepresentation
asString
in interface IStringRepresentation
public java.lang.String toString()
toString
in class java.lang.Enum<X509NameType>