CRLReason

public final enum CRLReason
extends Enum<CRLReason>

java.lang.Object
   ↳ java.lang.Enum<java.security.cert.CRLReason>
     ↳ java.security.cert.CRLReason


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.

Summary

Enum values

CRLReason  AA_COMPROMISE

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

CRLReason  AFFILIATION_CHANGED

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

CRLReason  CA_COMPROMISE

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

CRLReason  CERTIFICATE_HOLD

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

CRLReason  CESSATION_OF_OPERATION

This reason indicates that the certificate is no longer needed. 

CRLReason  KEY_COMPROMISE

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

CRLReason  PRIVILEGE_WITHDRAWN

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

CRLReason  REMOVE_FROM_CRL

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

CRLReason  SUPERSEDED

This reason indicates that the certificate has been superseded. 

CRLReason  UNSPECIFIED

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

CRLReason  UNUSED

Unused reason. 

Public methods

static CRLReason valueOf(String name)
static final CRLReason[] values()

Inherited methods

Enum values

AA_COMPROMISE

Added in API level 24
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_CHANGED

Added in API level 24
public static final CRLReason AFFILIATION_CHANGED

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

CA_COMPROMISE

Added in API level 24
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_HOLD

Added in API level 24
public static final CRLReason CERTIFICATE_HOLD

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

CESSATION_OF_OPERATION

Added in API level 24
public static final CRLReason CESSATION_OF_OPERATION

This reason indicates that the certificate is no longer needed.

KEY_COMPROMISE

Added in API level 24
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_WITHDRAWN

Added in API level 24
public static final CRLReason PRIVILEGE_WITHDRAWN

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

REMOVE_FROM_CRL

Added in API level 24
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.

SUPERSEDED

Added in API level 24
public static final CRLReason SUPERSEDED

This reason indicates that the certificate has been superseded.

UNSPECIFIED

Added in API level 24
public static final CRLReason UNSPECIFIED

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

UNUSED

Added in API level 24
public static final CRLReason UNUSED

Unused reason.

Public methods

valueOf

public static CRLReason valueOf (String name)

Parameters
name String

Returns
CRLReason

values

public static final CRLReason[] values ()

Returns
CRLReason[]