@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum CRLDistributionPointRevocationReason extends java.lang.Enum<CRLDistributionPointRevocationReason>
Enum Constant and Description |
---|
AA_COMPROMISE
Indicates that a CRL distribution point may revoke a certificate if an
associated attribute authority has been compromised.
|
AFFILIATION_CHANGED
Indicates that a CRL distribution point may revoke a certificate if the
owner of a certificate is no longer affiliated with its issuer.
|
CA_COMPROMISE
Indicates that a CRL distribution point may revoke a certificate if the
certificate issuer's private key may have been compromised.
|
CERTIFICATE_HOLD
Indicates that a CRL distribution point may revoke a certificate if the
certificate has been put on hold.
|
CESSATION_OF_OPERATION
Indicates that a CRL distribution point may revoke a certificate if the
certification authority is no longer in operation.
|
KEY_COMPROMISE
Indicates that a CRL distribution point may revoke a certificate if the
certificate's private key may have been compromised.
|
PRIVILEGE_WITHDRAWN
Indicates that a CRL distribution point may revoke a certificate if one
or more of the privileges granted to the certificate have been withdrawn.
|
SUPERSEDED
Indicates that a CRL distribution point may revoke a certificate if it has
been superseded by a newer certificate.
|
UNSPECIFIED
Indicates that a CRL distribution point may revoke a certificate for an
unspecified reason.
|
Modifier and Type | Method and Description |
---|---|
static CRLDistributionPointRevocationReason |
forName(java.lang.String name)
Retrieves the CRL distribution point revocation reason with the specified
name.
|
java.lang.String |
getName()
Retrieves a human-readable name for this CRL distribution point revocation
reason.
|
static CRLDistributionPointRevocationReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CRLDistributionPointRevocationReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CRLDistributionPointRevocationReason UNSPECIFIED
public static final CRLDistributionPointRevocationReason KEY_COMPROMISE
public static final CRLDistributionPointRevocationReason CA_COMPROMISE
public static final CRLDistributionPointRevocationReason AFFILIATION_CHANGED
public static final CRLDistributionPointRevocationReason SUPERSEDED
public static final CRLDistributionPointRevocationReason CESSATION_OF_OPERATION
public static final CRLDistributionPointRevocationReason CERTIFICATE_HOLD
public static final CRLDistributionPointRevocationReason PRIVILEGE_WITHDRAWN
public static final CRLDistributionPointRevocationReason AA_COMPROMISE
public static CRLDistributionPointRevocationReason[] values()
for (CRLDistributionPointRevocationReason c : CRLDistributionPointRevocationReason.values()) System.out.println(c);
public static CRLDistributionPointRevocationReason 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@NotNull public java.lang.String getName()
@Nullable public static CRLDistributionPointRevocationReason forName(@NotNull java.lang.String name)
name
- The name of the CRL distribution point revocation reason to
retrieve. It must not be null
.null
if no such reason is defined.