public static enum ConfigurableX509TrustManager.TrustLevel extends Enum<ConfigurableX509TrustManager.TrustLevel>
| Enum Constant and Description |
|---|
LOOSE
Trust any valid cert including self-signed certificates.
|
NORMAL
Normal jsse behavior.
|
OPEN
Trust anything given us.
|
STRICT
Strict trust.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigurableX509TrustManager.TrustLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurableX509TrustManager.TrustLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurableX509TrustManager.TrustLevel OPEN
See e502. Disabling Certificate Validation in an HTTPS Connection from the java almanac for how to trust all.
public static final ConfigurableX509TrustManager.TrustLevel LOOSE
public static final ConfigurableX509TrustManager.TrustLevel NORMAL
public static final ConfigurableX509TrustManager.TrustLevel STRICT
public static ConfigurableX509TrustManager.TrustLevel[] values()
for (ConfigurableX509TrustManager.TrustLevel c : ConfigurableX509TrustManager.TrustLevel.values()) System.out.println(c);
public static ConfigurableX509TrustManager.TrustLevel 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 © 2015 The International Internet Preservation Consortium. All Rights Reserved.