RevocationReason
Stay organized with collections
Save and categorize content based on your preferences.
A RevocationReason
indicates whether a 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eA \u003ccode\u003eRevocationReason\u003c/code\u003e indicates if a \u003ccode\u003eCertificate\u003c/code\u003e has been revoked and provides the reason, corresponding to standard revocation reasons from RFC 5280.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eREVOCATION_REASON_UNSPECIFIED\u003c/code\u003e enum signifies that a \u003ccode\u003eCertificate\u003c/code\u003e has been revoked, but a specific reason has not been recorded.\u003c/p\u003e\n"],["\u003cp\u003eSeveral specific revocation reasons are outlined, such as \u003ccode\u003eKEY_COMPROMISE\u003c/code\u003e, \u003ccode\u003eCERTIFICATE_AUTHORITY_COMPROMISE\u003c/code\u003e, \u003ccode\u003eAFFILIATION_CHANGED\u003c/code\u003e, \u003ccode\u003eSUPERSEDED\u003c/code\u003e, \u003ccode\u003eCESSATION_OF_OPERATION\u003c/code\u003e, \u003ccode\u003eCERTIFICATE_HOLD\u003c/code\u003e, \u003ccode\u003ePRIVILEGE_WITHDRAWN\u003c/code\u003e, and \u003ccode\u003eATTRIBUTE_AUTHORITY_COMPROMISE\u003c/code\u003e, each indicating different circumstances for the revocation.\u003c/p\u003e\n"],["\u003cp\u003eThe enum labels and values are different from ASN.1, however, the values will be translated to the correct ASN.1 values when a CRL is created.\u003c/p\u003e\n"]]],[],null,["# RevocationReason\n\nA [RevocationReason](/certificate-authority-service/docs/reference/rest/v1beta1/RevocationReason) indicates whether a [Certificate](/certificate-authority-service/docs/reference/rest/v1beta1/projects.locations.certificateAuthorities.certificates#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."]]