Package org.ldaptive.ssl
Enum DefaultHostnameVerifier.SubjectAltNameType
- java.lang.Object
-
- java.lang.Enum<DefaultHostnameVerifier.SubjectAltNameType>
-
- org.ldaptive.ssl.DefaultHostnameVerifier.SubjectAltNameType
-
- All Implemented Interfaces:
Serializable
,Comparable<DefaultHostnameVerifier.SubjectAltNameType>
- Enclosing class:
- DefaultHostnameVerifier
private static enum DefaultHostnameVerifier.SubjectAltNameType extends Enum<DefaultHostnameVerifier.SubjectAltNameType>
Enum for subject alt name types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECTORY_NAME
directory name (4).DNS_NAME
dns name (2).EDI_PARTY_NAME
edi party name (5).IP_ADDRESS
ip address (7).OTHER_NAME
other name (0).REGISTERED_ID
registered id (8).RFC822_NAME
ref822 name (1).UNIFORM_RESOURCE_IDENTIFIER
uniform resource identifier (6).X400_ADDRESS
x400 address (3).
-
Constructor Summary
Constructors Modifier Constructor Description private
SubjectAltNameType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefaultHostnameVerifier.SubjectAltNameType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultHostnameVerifier.SubjectAltNameType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OTHER_NAME
public static final DefaultHostnameVerifier.SubjectAltNameType OTHER_NAME
other name (0).
-
RFC822_NAME
public static final DefaultHostnameVerifier.SubjectAltNameType RFC822_NAME
ref822 name (1).
-
DNS_NAME
public static final DefaultHostnameVerifier.SubjectAltNameType DNS_NAME
dns name (2).
-
X400_ADDRESS
public static final DefaultHostnameVerifier.SubjectAltNameType X400_ADDRESS
x400 address (3).
-
DIRECTORY_NAME
public static final DefaultHostnameVerifier.SubjectAltNameType DIRECTORY_NAME
directory name (4).
-
EDI_PARTY_NAME
public static final DefaultHostnameVerifier.SubjectAltNameType EDI_PARTY_NAME
edi party name (5).
-
UNIFORM_RESOURCE_IDENTIFIER
public static final DefaultHostnameVerifier.SubjectAltNameType UNIFORM_RESOURCE_IDENTIFIER
uniform resource identifier (6).
-
IP_ADDRESS
public static final DefaultHostnameVerifier.SubjectAltNameType IP_ADDRESS
ip address (7).
-
REGISTERED_ID
public static final DefaultHostnameVerifier.SubjectAltNameType REGISTERED_ID
registered id (8).
-
-
Method Detail
-
values
public static DefaultHostnameVerifier.SubjectAltNameType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultHostnameVerifier.SubjectAltNameType c : DefaultHostnameVerifier.SubjectAltNameType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultHostnameVerifier.SubjectAltNameType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-