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