public enum GeneralNameType extends Enum<GeneralNameType>
| Enum Constant and Description |
|---|
DIRECTORY_NAME
Directory name
Type Name: directory |
DNS_NAME
DNS name
Type Name: dns |
EDI_PARTY_NAME
EDI party name
Type Name: ediParty |
IP_ADDRESS_NAME
IP address
Type Name: ipaddress |
OTHER_NAME
Other name
Type Name: otherName |
REGISTERED_ID_NAME
Registered id name
Type Name: registeredId |
RFC822_NAME
RFC822 (email address) name
Type Name: rfc822 |
UNIFORM_RESOURCE_IDENTIFIER_NAME
Uniform resource id name
Type Name: uniformResourceIdentifier |
X400ADDRESS_NAME
x400 address
Type Name: x400Address |
| Modifier and Type | Method and Description |
|---|---|
static GeneralNameType |
fromTag(int tag)
Gets a
GeneralNameType for a given tag. |
String |
getDisplay()
Gets the display name of this type
|
int |
getTag()
Gets the tag id of this type
|
String |
toString() |
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.
|
public static final GeneralNameType OTHER_NAME
public static final GeneralNameType RFC822_NAME
public static final GeneralNameType DNS_NAME
public static final GeneralNameType X400ADDRESS_NAME
public static final GeneralNameType DIRECTORY_NAME
public static final GeneralNameType EDI_PARTY_NAME
public static final GeneralNameType UNIFORM_RESOURCE_IDENTIFIER_NAME
public static final GeneralNameType IP_ADDRESS_NAME
public static final GeneralNameType REGISTERED_ID_NAME
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 nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<GeneralNameType>public String getDisplay()
public int getTag()
public static GeneralNameType fromTag(int tag)
GeneralNameType for a given tag.tag - The tag used to lookup the GeneralNameTypeGeneralNameType for the given tag. If the tag does not match a known type, the null is returned.Copyright © 2010–2020 The Direct Project. All rights reserved.