Reference documentation and code samples for the Certificate Authority v1 API enum RevocationReason.
A [RevocationReason][google.cloud.security.privateca.v1.RevocationReason]
indicates whether a
[Certificate][google.cloud.security.privateca.v1.Certificate] has been
revoked, and the reason for revocation. These correspond to standard
revocation reasons from RFC 5280. Note that the enum labels and values in
this definition are not the same ASN.1 values defined in RFC 5280. These
values will be translated to the correct ASN.1 values when a CRL is created.
The subject or other attributes in this
[Certificate][google.cloud.security.privateca.v1.Certificate] have changed.
AttributeAuthorityCompromise
The authority which determines appropriate attributes for a
[Certificate][google.cloud.security.privateca.v1.Certificate] may have been
compromised.
CertificateAuthorityCompromise
The key material for a certificate authority in the issuing path may have
leaked.
CertificateHold
This [Certificate][google.cloud.security.privateca.v1.Certificate] should
not be considered valid, it is expected that it may become valid in the
future.
CessationOfOperation
This [Certificate][google.cloud.security.privateca.v1.Certificate] or
entities in the issuing path have ceased to operate.
KeyCompromise
Key material for this
[Certificate][google.cloud.security.privateca.v1.Certificate] may have
leaked.
PrivilegeWithdrawn
This [Certificate][google.cloud.security.privateca.v1.Certificate] no
longer has permission to assert the listed attributes.
Superseded
This [Certificate][google.cloud.security.privateca.v1.Certificate] has been
superseded.
Unspecified
Default unspecified value. This value does indicate that a
[Certificate][google.cloud.security.privateca.v1.Certificate] has been
revoked, but that a reason has not been recorded.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRevocationReason\u003c/code\u003e enum in the Google Cloud Security Private CA v1 API provides a standardized way to indicate why a certificate has been revoked, aligning with RFC 5280 revocation reasons.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.9.0 is the latest version of the Google.Cloud.Security.PrivateCA.V1 package, with versions ranging down to 1.0.0 being available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRevocationReason\u003c/code\u003e enum offers several fields, including \u003ccode\u003eKeyCompromise\u003c/code\u003e, \u003ccode\u003eCertificateAuthorityCompromise\u003c/code\u003e, \u003ccode\u003eAffiliationChanged\u003c/code\u003e, and others, each representing a specific reason for certificate revocation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e field within the \u003ccode\u003eRevocationReason\u003c/code\u003e enum is a default value indicating that a certificate has been revoked, but a specific reason has not been recorded.\u003c/p\u003e\n"],["\u003cp\u003eEach field in the \u003ccode\u003eRevocationReason\u003c/code\u003e enum maps to a description explaining the circumstances of the certificate's revocation, such as if the key material has been leaked or the certificate's authority has been compromised.\u003c/p\u003e\n"]]],[],null,[]]