public enum CertificateAcceptance extends Enum<CertificateAcceptance>
InvalidCertificateStrategy
when presented with an invalid
certificate.Enum Constant and Description |
---|
ACCEPT_PERMANENTLY
The invalid certificate should be accepted on a long-term basis, e.g.
|
ACCEPT_TEMPORARILY
The invalid certificate should be accepted on a short-term basis, e.g.
|
REJECT
The invalid certificate should be rejected.
|
Modifier and Type | Method and Description |
---|---|
static CertificateAcceptance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateAcceptance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateAcceptance REJECT
public static final CertificateAcceptance ACCEPT_TEMPORARILY
ExtraCertManager
.public static final CertificateAcceptance ACCEPT_PERMANENTLY
ExtraCertManager
.public static CertificateAcceptance[] values()
for (CertificateAcceptance c : CertificateAcceptance.values()) System.out.println(c);
public static CertificateAcceptance 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 © 2004-2017. All Rights Reserved.