public static enum ApplicationTrustManager.Cause extends Enum<ApplicationTrustManager.Cause>
Enum Constant and Description |
---|
HOST_NAME_MISMATCH
The certificate's subject DN's value and the host name we tried to connect to do not match.
|
NOT_TRUSTED
The certificate was not trusted.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationTrustManager.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationTrustManager.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationTrustManager.Cause NOT_TRUSTED
public static final ApplicationTrustManager.Cause HOST_NAME_MISMATCH
public static ApplicationTrustManager.Cause[] values()
for (ApplicationTrustManager.Cause c : ApplicationTrustManager.Cause.values()) System.out.println(c);
public static ApplicationTrustManager.Cause 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 © 2010-2017 ForgeRock AS. All Rights Reserved.