Reference documentation and code samples for the Google Certificate Authority Service V1 Client class RevocationReason.
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.
Protobuf type google.cloud.security.privateca.v1.RevocationReason
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
REVOCATION_REASON_UNSPECIFIED
Value: 0
Default unspecified value. This value does indicate that a
Certificate has been
revoked, but that a reason has not been recorded.
Generated from protobuf enum REVOCATION_REASON_UNSPECIFIED = 0;
KEY_COMPROMISE
Value: 1
Key material for this
Certificate may have
leaked.
Generated from protobuf enum KEY_COMPROMISE = 1;
CERTIFICATE_AUTHORITY_COMPROMISE
Value: 2
The key material for a certificate authority in the issuing path may have
leaked.
Generated from protobuf enum CERTIFICATE_AUTHORITY_COMPROMISE = 2;
AFFILIATION_CHANGED
Value: 3
The subject or other attributes in this
Certificate have changed.
Generated from protobuf enum AFFILIATION_CHANGED = 3;
[[["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-09-04 UTC."],[],[],null,["# Google Certificate Authority Service V1 Client - Class RevocationReason (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-security-private-ca/latest/V1.RevocationReason)\n- [2.1.0](/php/docs/reference/cloud-security-private-ca/2.1.0/V1.RevocationReason)\n- [2.0.3](/php/docs/reference/cloud-security-private-ca/2.0.3/V1.RevocationReason)\n- [1.7.3](/php/docs/reference/cloud-security-private-ca/1.7.3/V1.RevocationReason)\n- [1.5.0](/php/docs/reference/cloud-security-private-ca/1.5.0/V1.RevocationReason)\n- [1.4.2](/php/docs/reference/cloud-security-private-ca/1.4.2/V1.RevocationReason)\n- [1.3.1](/php/docs/reference/cloud-security-private-ca/1.3.1/V1.RevocationReason)\n- [1.2.2](/php/docs/reference/cloud-security-private-ca/1.2.2/V1.RevocationReason)\n- [1.1.0](/php/docs/reference/cloud-security-private-ca/1.1.0/V1.RevocationReason)\n- [1.0.3](/php/docs/reference/cloud-security-private-ca/1.0.3/V1.RevocationReason) \nReference documentation and code samples for the Google Certificate Authority Service V1 Client class RevocationReason.\n\nA [RevocationReason](/php/docs/reference/cloud-security-private-ca/latest/V1.RevocationReason)\nindicates whether a\n[Certificate](/php/docs/reference/cloud-security-private-ca/latest/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\nProtobuf type `google.cloud.security.privateca.v1.RevocationReason`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Security \\\\ PrivateCA \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### REVOCATION_REASON_UNSPECIFIED\n\n Value: 0\n\nDefault unspecified value. This value does indicate that a\n[Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate) has been\nrevoked, but that a reason has not been recorded.\n\nGenerated from protobuf enum `REVOCATION_REASON_UNSPECIFIED = 0;`\n\n### KEY_COMPROMISE\n\n Value: 1\n\nKey material for this\n[Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate) may have\nleaked.\n\nGenerated from protobuf enum `KEY_COMPROMISE = 1;`\n\n### CERTIFICATE_AUTHORITY_COMPROMISE\n\n Value: 2\n\nThe key material for a certificate authority in the issuing path may have\nleaked.\n\nGenerated from protobuf enum `CERTIFICATE_AUTHORITY_COMPROMISE = 2;`\n\n### AFFILIATION_CHANGED\n\n Value: 3\n\nThe subject or other attributes in this\n[Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate) have changed.\n\nGenerated from protobuf enum `AFFILIATION_CHANGED = 3;`\n\n### SUPERSEDED\n\n Value: 4\n\nThis [Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate) has been\nsuperseded.\n\nGenerated from protobuf enum `SUPERSEDED = 4;`\n\n### CESSATION_OF_OPERATION\n\n Value: 5\n\nThis [Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate) or\nentities in the issuing path have ceased to operate.\n\nGenerated from protobuf enum `CESSATION_OF_OPERATION = 5;`\n\n### CERTIFICATE_HOLD\n\n Value: 6\n\nThis [Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate) should\nnot be considered valid, it is expected that it may become valid in the\nfuture.\n\nGenerated from protobuf enum `CERTIFICATE_HOLD = 6;`\n\n### PRIVILEGE_WITHDRAWN\n\n Value: 7\n\nThis [Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate) no\nlonger has permission to assert the listed attributes.\n\nGenerated from protobuf enum `PRIVILEGE_WITHDRAWN = 7;`\n\n### ATTRIBUTE_AUTHORITY_COMPROMISE\n\n Value: 8\n\nThe authority which determines appropriate attributes for a\n[Certificate](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate) may have been\ncompromised.\n\nGenerated from protobuf enum `ATTRIBUTE_AUTHORITY_COMPROMISE = 8;`"]]