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.
Enums |
REVOCATION_REASON_UNSPECIFIED |
Default unspecified value. This value does indicate that a Certificate has been revoked, but that a reason has not been recorded. |
KEY_COMPROMISE |
Key material for this Certificate may have leaked. |
CERTIFICATE_AUTHORITY_COMPROMISE |
The key material for a certificate authority in the issuing path may have leaked. |
AFFILIATION_CHANGED |
The subject or other attributes in this Certificate have changed. |
SUPERSEDED |
This Certificate has been superseded. |
CESSATION_OF_OPERATION |
This Certificate or entities in the issuing path have ceased to operate. |
CERTIFICATE_HOLD |
This Certificate should not be considered valid, it is expected that it may become valid in the future. |
PRIVILEGE_WITHDRAWN |
This Certificate no longer has permission to assert the listed attributes. |
ATTRIBUTE_AUTHORITY_COMPROMISE |
The authority which determines appropriate attributes for a Certificate may have been compromised. |
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,[]]