Package com.unboundid.util.ssl.cert
Enum CRLDistributionPointRevocationReason
java.lang.Object
java.lang.Enum<CRLDistributionPointRevocationReason>
com.unboundid.util.ssl.cert.CRLDistributionPointRevocationReason
- All Implemented Interfaces:
Serializable,Comparable<CRLDistributionPointRevocationReason>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum CRLDistributionPointRevocationReason
extends Enum<CRLDistributionPointRevocationReason>
This enum defines a set of reasons for which a CRL distribution point may
revoke a certificate.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that a CRL distribution point may revoke a certificate if an associated attribute authority has been compromised.Indicates that a CRL distribution point may revoke a certificate if the owner of a certificate is no longer affiliated with its issuer.Indicates that a CRL distribution point may revoke a certificate if the certificate issuer's private key may have been compromised.Indicates that a CRL distribution point may revoke a certificate if the certificate has been put on hold.Indicates that a CRL distribution point may revoke a certificate if the certification authority is no longer in operation.Indicates that a CRL distribution point may revoke a certificate if the certificate's private key may have been compromised.Indicates that a CRL distribution point may revoke a certificate if one or more of the privileges granted to the certificate have been withdrawn.Indicates that a CRL distribution point may revoke a certificate if it has been superseded by a newer certificate.Indicates that a CRL distribution point may revoke a certificate for an unspecified reason. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the CRL distribution point revocation reason with the specified name.getName()Retrieves a human-readable name for this CRL distribution point revocation reason.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 Details
-
UNSPECIFIED
Indicates that a CRL distribution point may revoke a certificate for an unspecified reason. -
KEY_COMPROMISE
Indicates that a CRL distribution point may revoke a certificate if the certificate's private key may have been compromised. -
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
Indicates that a CRL distribution point may revoke a certificate if the owner of a certificate is no longer affiliated with its issuer. -
SUPERSEDED
Indicates that a CRL distribution point may revoke a certificate if it has been superseded by a newer certificate. -
CESSATION_OF_OPERATION
Indicates that a CRL distribution point may revoke a certificate if the certification authority is no longer in operation. -
CERTIFICATE_HOLD
Indicates that a CRL distribution point may revoke a certificate if the certificate has been put on hold. -
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
Indicates that a CRL distribution point may revoke a certificate if an associated attribute authority has been compromised.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
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
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
nullif no such reason is defined.
-