Added in API level 24

CRLReason

class CRLReason
kotlin.Any
   ↳ kotlin.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

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

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

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

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

This reason indicates that the certificate is no longer needed.

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

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

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

This reason indicates that the certificate has been superseded.

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

Unused reason.

Enum values

AA_COMPROMISE

Added in API level 24
enum val AA_COMPROMISE : CRLReason

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
enum val AFFILIATION_CHANGED : CRLReason

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

CA_COMPROMISE

Added in API level 24
enum val CA_COMPROMISE : CRLReason

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
enum val CERTIFICATE_HOLD : CRLReason

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

CESSATION_OF_OPERATION

Added in API level 24
enum val CESSATION_OF_OPERATION : CRLReason

This reason indicates that the certificate is no longer needed.

KEY_COMPROMISE

Added in API level 24
enum val KEY_COMPROMISE : CRLReason

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
enum val PRIVILEGE_WITHDRAWN : CRLReason

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

REMOVE_FROM_CRL

Added in API level 24
enum val REMOVE_FROM_CRL : CRLReason

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
enum val SUPERSEDED : CRLReason

This reason indicates that the certificate has been superseded.

UNSPECIFIED

Added in API level 24
enum val UNSPECIFIED : CRLReason

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

UNUSED

Added in API level 24
enum val UNUSED : CRLReason

Unused reason.