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 latest version of the \u003ccode\u003eRevocationReason\u003c/code\u003e enum for the Certificate Authority v1 API is 3.9.0, with documentation available for versions back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRevocationReason\u003c/code\u003e enum indicates if a certificate has been revoked and provides the reasons for it, corresponding to standard revocation reasons outlined in RFC 5280.\u003c/p\u003e\n"],["\u003cp\u003eThis API offers several \u003ccode\u003eRevocationReason\u003c/code\u003e options such as \u003ccode\u003eAffiliationChanged\u003c/code\u003e, \u003ccode\u003eKeyCompromise\u003c/code\u003e, and \u003ccode\u003eSuperseded\u003c/code\u003e, among others, each denoting a different cause for revocation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e value in \u003ccode\u003eRevocationReason\u003c/code\u003e indicates that a certificate has been revoked but no specific reason was provided.\u003c/p\u003e\n"]]],[],null,["# Certificate Authority v1 API - Enum RevocationReason (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.9.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.8.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.7.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.6.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.5.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.4.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.3.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.2.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.1.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.0.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.3.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.2.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.1.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.0.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/1.0.0/Google.Cloud.Security.PrivateCA.V1.RevocationReason) \n\n public enum RevocationReason\n\nReference documentation and code samples for the Certificate Authority v1 API enum RevocationReason.\n\nA \\[RevocationReason\\]\\[google.cloud.security.privateca.v1.RevocationReason\\]\nindicates whether a\n\\[Certificate\\]\\[google.cloud.security.privateca.v1.Certificate\\] has been\nrevoked, and the reason for revocation. These correspond to standard\nrevocation reasons from RFC 5280. Note that the enum labels and values in\nthis definition are not the same ASN.1 values defined in RFC 5280. These\nvalues will be translated to the correct ASN.1 values when a CRL is created.\n\nNamespace\n---------\n\n[Google.Cloud.Security.PrivateCA.V1](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Security.PrivateCA.V1.dll"]]