Package com.unboundid.util.ssl.cert
Enum CRLDistributionPointRevocationReason
- java.lang.Object
-
- java.lang.Enum<CRLDistributionPointRevocationReason>
-
- com.unboundid.util.ssl.cert.CRLDistributionPointRevocationReason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CRLDistributionPointRevocationReason>
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum CRLDistributionPointRevocationReason extends java.lang.Enum<CRLDistributionPointRevocationReason>
This enum defines a set of reasons for which a CRL distribution point may revoke a certificate.
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CRLDistributionPointRevocationReason UNSPECIFIED
Indicates that a CRL distribution point may revoke a certificate for an unspecified reason.
-
KEY_COMPROMISE
public static final CRLDistributionPointRevocationReason KEY_COMPROMISE
Indicates that a CRL distribution point may revoke a certificate if the certificate's private key may have been compromised.
-
CA_COMPROMISE
public static final CRLDistributionPointRevocationReason CA_COMPROMISE
Indicates that a CRL distribution point may revoke a certificate if the certificate issuer's private key may have been compromised.
-
AFFILIATION_CHANGED
public static final CRLDistributionPointRevocationReason 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.
-
SUPERSEDED
public static final CRLDistributionPointRevocationReason SUPERSEDED
Indicates that a CRL distribution point may revoke a certificate if it has been superseded by a newer certificate.
-
CESSATION_OF_OPERATION
public static final CRLDistributionPointRevocationReason CESSATION_OF_OPERATION
Indicates that a CRL distribution point may revoke a certificate if the certification authority is no longer in operation.
-
CERTIFICATE_HOLD
public static final CRLDistributionPointRevocationReason CERTIFICATE_HOLD
Indicates that a CRL distribution point may revoke a certificate if the certificate has been put on hold.
-
PRIVILEGE_WITHDRAWN
public static final CRLDistributionPointRevocationReason 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.
-
AA_COMPROMISE
public static final CRLDistributionPointRevocationReason AA_COMPROMISE
Indicates that a CRL distribution point may revoke a certificate if an associated attribute authority has been compromised.
-
-
Method Detail
-
values
public static CRLDistributionPointRevocationReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CRLDistributionPointRevocationReason c : CRLDistributionPointRevocationReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CRLDistributionPointRevocationReason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
@NotNull public java.lang.String getName()
Retrieves a human-readable name for this CRL distribution point revocation reason.- Returns:
- A human-readable name for this CRL distribution point revocation reason.
-
forName
@Nullable public static CRLDistributionPointRevocationReason forName(@NotNull java.lang.String name)
Retrieves the CRL distribution point revocation reason with the specified name.- Parameters:
name
- The name of the CRL distribution point revocation reason to retrieve. It must not benull
.- Returns:
- The requested CRL distribution point revocation reason, or
null
if no such reason is defined.
-
-