public static enum SSLOpts.CertValidate extends Enum<SSLOpts.CertValidate>
Used as enum for SSLOpts.getCertValidate()
property.
Enum Constant and Description |
---|
DEFAULT
Do normal certificate chain validation.
|
LAX
Verify that the certificate is valid, but allow for self-signed certificates.
|
Modifier and Type | Method and Description |
---|---|
static SSLOpts.CertValidate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSLOpts.CertValidate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSLOpts.CertValidate LAX
public static final SSLOpts.CertValidate DEFAULT
public static SSLOpts.CertValidate[] values()
for (SSLOpts.CertValidate c : SSLOpts.CertValidate.values()) System.out.println(c);
public static SSLOpts.CertValidate 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 © 2018 Apache. All rights reserved.