APIdia Launch Partner
Top Description Fields Constructors Methods
java.security.cert

public final Enum CRLReason

extends Enum<CRLReason>
Class Inheritance

The CRLReason enumeration specifies the reason that a certificate is revoked, as defined in RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile.
Author
Sean Mullan
Since
1.7
External Specification
https://www.rfc-editor.org/info/rfc5280
See Also
X509CRLEntry#getRevocationReason, CertificateRevokedException#getRevocationReason

Field Summary

Modifier and TypeField and Description
public static final CRLReason
AA_COMPROMISE

This reason indicates that it is known or suspected that the certificate subject's private key has been compromised.

public static final CRLReason
AFFILIATION_CHANGED

This reason indicates that the subject's name or other information has changed.

public static final CRLReason
CA_COMPROMISE

This reason indicates that it is known or suspected that the certificate subject's private key has been compromised.

public static final CRLReason
CERTIFICATE_HOLD

This reason indicates that the certificate has been put on hold.

public static final CRLReason
CESSATION_OF_OPERATION

This reason indicates that the certificate is no longer needed.

public static final CRLReason
KEY_COMPROMISE

This reason indicates that it is known or suspected that the certificate subject's private key has been compromised.

public static final CRLReason
PRIVILEGE_WITHDRAWN

This reason indicates that the privileges granted to the subject of the certificate have been withdrawn.

public static final CRLReason
REMOVE_FROM_CRL

This reason indicates that the certificate was previously on hold and should be removed from the CRL.

public static final CRLReason
SUPERSEDED

This reason indicates that the certificate has been superseded.

public static final CRLReason
UNSPECIFIED

This reason indicates that it is unspecified as to why the certificate has been revoked.

public static final CRLReason
UNUSED

Unused reason.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static CRLReason
public static CRLReason[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AA_COMPROMISEback to summary
public static final CRLReason AA_COMPROMISE

This reason indicates that it is known or suspected that the certificate subject's private key has been compromised. It applies to authority attribute (AA) certificates only.

AFFILIATION_CHANGEDback to summary
public static final CRLReason AFFILIATION_CHANGED

This reason indicates that the subject's name or other information has changed.

CA_COMPROMISEback to summary
public static final CRLReason CA_COMPROMISE

This reason indicates that it is known or suspected that the certificate subject's private key has been compromised. It applies to certificate authority (CA) certificates only.

CERTIFICATE_HOLDback to summary
public static final CRLReason CERTIFICATE_HOLD

This reason indicates that the certificate has been put on hold.

CESSATION_OF_OPERATIONback to summary
public static final CRLReason CESSATION_OF_OPERATION

This reason indicates that the certificate is no longer needed.

KEY_COMPROMISEback to summary
public static final CRLReason KEY_COMPROMISE

This reason indicates that it is known or suspected that the certificate subject's private key has been compromised. It applies to end-entity certificates only.

PRIVILEGE_WITHDRAWNback to summary
public static final CRLReason PRIVILEGE_WITHDRAWN

This reason indicates that the privileges granted to the subject of the certificate have been withdrawn.

REMOVE_FROM_CRLback to summary
public static final CRLReason REMOVE_FROM_CRL

This reason indicates that the certificate was previously on hold and should be removed from the CRL. It is for use with delta CRLs.

SUPERSEDEDback to summary
public static final CRLReason SUPERSEDED

This reason indicates that the certificate has been superseded.

UNSPECIFIEDback to summary
public static final CRLReason UNSPECIFIED

This reason indicates that it is unspecified as to why the certificate has been revoked.

UNUSEDback to summary
public static final CRLReason UNUSED

Unused reason.

Constructor Detail

CRLReasonback to summary
private CRLReason()

Method Detail

valueOfback to summary
public static CRLReason valueOf(String name)
valuesback to summary
public static CRLReason[] values()