public static enum SSLHostConfig.CertificateVerification extends Enum<SSLHostConfig.CertificateVerification>
| Enum Constant and Description |
|---|
NONE |
OPTIONAL |
OPTIONAL_NO_CA |
REQUIRED |
| Modifier and Type | Method and Description |
|---|---|
static SSLHostConfig.CertificateVerification |
fromString(String value) |
static SSLHostConfig.CertificateVerification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSLHostConfig.CertificateVerification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSLHostConfig.CertificateVerification NONE
public static final SSLHostConfig.CertificateVerification OPTIONAL_NO_CA
public static final SSLHostConfig.CertificateVerification OPTIONAL
public static final SSLHostConfig.CertificateVerification REQUIRED
public static SSLHostConfig.CertificateVerification[] values()
for (SSLHostConfig.CertificateVerification c : SSLHostConfig.CertificateVerification.values()) System.out.println(c);
public static SSLHostConfig.CertificateVerification 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 SSLHostConfig.CertificateVerification fromString(String value)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.