public static enum Config.TrustStrategy.Strategy extends Enum<Config.TrustStrategy.Strategy>
Enum Constant and Description |
---|
TRUST_ALL_CERTIFICATES |
TRUST_CUSTOM_CA_SIGNED_CERTIFICATES |
TRUST_ON_FIRST_USE
Deprecated.
|
TRUST_SIGNED_CERTIFICATES
Deprecated.
|
TRUST_SYSTEM_CA_SIGNED_CERTIFICATES |
Modifier and Type | Method and Description |
---|---|
static Config.TrustStrategy.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Config.TrustStrategy.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config.TrustStrategy.Strategy TRUST_ALL_CERTIFICATES
public static final Config.TrustStrategy.Strategy TRUST_CUSTOM_CA_SIGNED_CERTIFICATES
@Deprecated public static final Config.TrustStrategy.Strategy TRUST_ON_FIRST_USE
@Deprecated public static final Config.TrustStrategy.Strategy TRUST_SIGNED_CERTIFICATES
public static final Config.TrustStrategy.Strategy TRUST_SYSTEM_CA_SIGNED_CERTIFICATES
public static Config.TrustStrategy.Strategy 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 nullpublic static Config.TrustStrategy.Strategy[] values()
for (Config.TrustStrategy.Strategy c : Config.TrustStrategy.Strategy.values()) System.out.println(c);
Copyright © 2024. All rights reserved.