Skip to content

Most visited

Recently visited

navigation

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 3280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile.

See also:

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

AA_COMPROMISE

added in API level 24
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
CRLReason AFFILIATION_CHANGED

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

CA_COMPROMISE

added in API level 24
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
CRLReason CERTIFICATE_HOLD

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

CESSATION_OF_OPERATION

added in API level 24
CRLReason CESSATION_OF_OPERATION

This reason indicates that the certificate is no longer needed.

KEY_COMPROMISE

added in API level 24
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
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
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
CRLReason SUPERSEDED

This reason indicates that the certificate has been superseded.

UNSPECIFIED

added in API level 24
CRLReason UNSPECIFIED

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

UNUSED

added in API level 24
CRLReason UNUSED

Unused reason.

Public methods

valueOf

added in API level 24
CRLReason valueOf (String name)

Parameters
name String

Returns
CRLReason

values

added in API level 24
CRLReason[] values ()

Returns
CRLReason[]

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)