public static enum RevokedCertificateException.Reason extends java.lang.Enum<RevokedCertificateException.Reason>
| Enum Constant and Description |
|---|
AACompromise
The AA compromise.
|
AffiliationChanged
The Affiliation changed.
|
CACompromise
The CA compromise.
|
CertificateHold
The Certificate hold.
|
CessationOfOperation
The Cessation of operation.
|
KeyCompromise
The Key compromise.
|
PrivilegeWithdrawn
The Privilege withdrawn.
|
RemoveFromCRL
The Remove from crl.
|
Superseded
The Superseded.
|
Unspecified
The Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static RevokedCertificateException.Reason |
fromCode(int code)
Convert code to reason.
|
static RevokedCertificateException.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RevokedCertificateException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevokedCertificateException.Reason Unspecified
public static final RevokedCertificateException.Reason KeyCompromise
public static final RevokedCertificateException.Reason CACompromise
public static final RevokedCertificateException.Reason AffiliationChanged
public static final RevokedCertificateException.Reason Superseded
public static final RevokedCertificateException.Reason CessationOfOperation
public static final RevokedCertificateException.Reason CertificateHold
public static final RevokedCertificateException.Reason RemoveFromCRL
public static final RevokedCertificateException.Reason PrivilegeWithdrawn
public static final RevokedCertificateException.Reason AACompromise
public static RevokedCertificateException.Reason[] values()
for (RevokedCertificateException.Reason c : RevokedCertificateException.Reason.values()) System.out.println(c);
public static RevokedCertificateException.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 nullpublic static RevokedCertificateException.Reason fromCode(int code)
code - the code