Most visited

Recently visited

Added in API level 24

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[]

Hooray!