|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GeneralNameType>
edu.vt.middleware.crypt.x509.types.GeneralNameType
public enum GeneralNameType
Representation of the options in the CHOICE element describing various
categories of the GeneralName type defined in section 4.2.1.7 of
RFC 2459.
| Enum Constant Summary | |
|---|---|
DirectoryName
directoryName choice element. |
|
DNSName
dNSName choice element. |
|
EdiPartyName
ediPartyName choice element. |
|
IPAddress
iPAddress choice element. |
|
OtherName
otherName choice element. |
|
RegisteredID
registeredID choice element. |
|
RFC822Name
rfc822Name choice element. |
|
UniformResourceIdentifier
uniformResourceIdentifier choice element. |
|
X400Address
x400Address choice element. |
|
| Field Summary | |
|---|---|
static int |
MAX_TAG_NUMBER
Maximum tag number for items in CHOICE definition. |
static int |
MIN_TAG_NUMBER
Minimum tag number for items in CHOICE definition. |
| Method Summary | |
|---|---|
static GeneralNameType |
fromTagNumber(int tagNo)
Gets a name type from the value of the tag in the CHOICE element definition. |
static GeneralNameType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GeneralNameType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GeneralNameType OtherName
public static final GeneralNameType RFC822Name
public static final GeneralNameType DNSName
public static final GeneralNameType X400Address
public static final GeneralNameType DirectoryName
public static final GeneralNameType EdiPartyName
public static final GeneralNameType UniformResourceIdentifier
public static final GeneralNameType IPAddress
public static final GeneralNameType RegisteredID
| Field Detail |
|---|
public static final int MIN_TAG_NUMBER
public static final int MAX_TAG_NUMBER
| Method Detail |
|---|
public static GeneralNameType[] values()
for (GeneralNameType c : GeneralNameType.values()) System.out.println(c);
public static GeneralNameType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static GeneralNameType fromTagNumber(int tagNo)
tagNo - Ordinal position of type in CHOICE definition in RFC 2459.
IllegalArgumentException - If there is not general name type
corresponding to the given tag number.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||