public static enum UserDataCertificateException.Type extends Enum<UserDataCertificateException.Type>
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 UserDataCertificateException.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserDataCertificateException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserDataCertificateException.Type NOT_TRUSTED
public static final UserDataCertificateException.Type HOST_NAME_MISMATCH
public static UserDataCertificateException.Type[] values()
for (UserDataCertificateException.Type c : UserDataCertificateException.Type.values()) System.out.println(c);
public static UserDataCertificateException.Type 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.