Package org.ldaptive.ssl
Enum Class DefaultHostnameVerifier.SubjectAltNameType
java.lang.Object
java.lang.Enum<DefaultHostnameVerifier.SubjectAltNameType>
org.ldaptive.ssl.DefaultHostnameVerifier.SubjectAltNameType
- All Implemented Interfaces:
Serializable
,Comparable<DefaultHostnameVerifier.SubjectAltNameType>
,Constable
- Enclosing class:
DefaultHostnameVerifier
private static enum DefaultHostnameVerifier.SubjectAltNameType
extends Enum<DefaultHostnameVerifier.SubjectAltNameType>
Enum for subject alt name types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiondirectory name (4).dns name (2).edi party name (5).ip address (7).other name (0).registered id (8).ref822 name (1).uniform resource identifier (6).x400 address (3). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTHER_NAME
other name (0). -
RFC822_NAME
ref822 name (1). -
DNS_NAME
dns name (2). -
X400_ADDRESS
x400 address (3). -
DIRECTORY_NAME
directory name (4). -
EDI_PARTY_NAME
edi party name (5). -
UNIFORM_RESOURCE_IDENTIFIER
uniform resource identifier (6). -
IP_ADDRESS
ip address (7). -
REGISTERED_ID
registered id (8).
-
-
Constructor Details
-
SubjectAltNameType
private SubjectAltNameType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-