Enum LdapTlsHandshakeFailCause.LdapApiReason
- java.lang.Object
-
- java.lang.Enum<LdapTlsHandshakeFailCause.LdapApiReason>
-
- org.apache.directory.api.ldap.model.exception.LdapTlsHandshakeFailCause.LdapApiReason
-
- All Implemented Interfaces:
Serializable
,Comparable<LdapTlsHandshakeFailCause.LdapApiReason>
,CertPathValidatorException.Reason
- Enclosing class:
- LdapTlsHandshakeFailCause
public static enum LdapTlsHandshakeFailCause.LdapApiReason extends Enum<LdapTlsHandshakeFailCause.LdapApiReason> implements CertPathValidatorException.Reason
Additional reasons.- See Also:
CertPathValidatorException.BasicReason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HOST_NAME_VERIFICATION_FAILED
NO_VALID_CERTIFICATION_PATH
SELF_SIGNED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LdapTlsHandshakeFailCause.LdapApiReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static LdapTlsHandshakeFailCause.LdapApiReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_VALID_CERTIFICATION_PATH
public static final LdapTlsHandshakeFailCause.LdapApiReason NO_VALID_CERTIFICATION_PATH
-
SELF_SIGNED
public static final LdapTlsHandshakeFailCause.LdapApiReason SELF_SIGNED
-
HOST_NAME_VERIFICATION_FAILED
public static final LdapTlsHandshakeFailCause.LdapApiReason HOST_NAME_VERIFICATION_FAILED
-
-
Method Detail
-
values
public static LdapTlsHandshakeFailCause.LdapApiReason[] 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 (LdapTlsHandshakeFailCause.LdapApiReason c : LdapTlsHandshakeFailCause.LdapApiReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LdapTlsHandshakeFailCause.LdapApiReason 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
-
-