public static enum LdapTlsHandshakeFailCause.LdapApiReason extends Enum<LdapTlsHandshakeFailCause.LdapApiReason> implements CertPathValidatorException.Reason
CertPathValidatorException.BasicReason
Enum Constant and Description |
---|
HOST_NAME_VERIFICATION_FAILED |
NO_VALID_CERTIFICATION_PATH |
SELF_SIGNED |
Modifier and Type | Method and 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.
|
public static final LdapTlsHandshakeFailCause.LdapApiReason NO_VALID_CERTIFICATION_PATH
public static final LdapTlsHandshakeFailCause.LdapApiReason SELF_SIGNED
public static final LdapTlsHandshakeFailCause.LdapApiReason HOST_NAME_VERIFICATION_FAILED
public static LdapTlsHandshakeFailCause.LdapApiReason[] values()
for (LdapTlsHandshakeFailCause.LdapApiReason c : LdapTlsHandshakeFailCause.LdapApiReason.values()) System.out.println(c);
public static LdapTlsHandshakeFailCause.LdapApiReason 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 nullCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.