public static enum AwInvalidCertificateException.Reason extends java.lang.Enum<AwInvalidCertificateException.Reason>
| Enum Constant and Description |
|---|
CHAIN_TOO_LONG |
EXPIRED |
HOSTNAME |
NO_PEER_CERT |
NOT_ISSUED |
UNTRUSTED_NOT_SELF_SIGNED |
| Modifier and Type | Method and Description |
|---|---|
static AwInvalidCertificateException.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AwInvalidCertificateException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AwInvalidCertificateException.Reason HOSTNAME
public static final AwInvalidCertificateException.Reason NO_PEER_CERT
public static final AwInvalidCertificateException.Reason NOT_ISSUED
public static final AwInvalidCertificateException.Reason EXPIRED
public static final AwInvalidCertificateException.Reason CHAIN_TOO_LONG
public static final AwInvalidCertificateException.Reason UNTRUSTED_NOT_SELF_SIGNED
public static AwInvalidCertificateException.Reason[] values()
for (AwInvalidCertificateException.Reason c : AwInvalidCertificateException.Reason.values()) System.out.println(c);
public static AwInvalidCertificateException.Reason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null