# Certificate Authority Service V1beta1 API - Module Google::Cloud::Security::PrivateCA::V1beta1::RevocationReason (v0.18.0)

0.18.0 (latest) 0.17.1 0.16.0 0.15.1 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Certificate Authority Service V1beta1 API module Google::Cloud::Security::PrivateCA::V1beta1::RevocationReason.

A [RevocationReason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-RevocationReason "Google::Cloud::Security::PrivateCA::V1beta1::RevocationReason (module)") indicates whether a [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") 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.

## Constants

### REVOCATION_REASON_UNSPECIFIED

**value:** 0  
Default unspecified value. This value does indicate that a [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)")
has been revoked, but that a reason has not been recorded.

### KEY_COMPROMISE

**value:** 1  
Key material for this [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") may have leaked.

### CERTIFICATE_AUTHORITY_COMPROMISE

**value:** 2  
The key material for a certificate authority in the issuing path may have
leaked.

### AFFILIATION_CHANGED

**value:** 3  
The subject or other attributes in this [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") have changed.

### SUPERSEDED

**value:** 4  
This [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") has been superseded.

### CESSATION_OF_OPERATION

**value:** 5  
This [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") or entities in the issuing path have ceased to
operate.

### CERTIFICATE_HOLD

**value:** 6  
This [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") should not be considered valid, it is expected that it
may become valid in the future.

### PRIVILEGE_WITHDRAWN

**value:** 7  
This [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)") no longer has permission to assert the listed
attributes.

### ATTRIBUTE_AUTHORITY_COMPROMISE

**value:** 8  
The authority which determines appropriate attributes for a [Certificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-Certificate "Google::Cloud::Security::PrivateCA::V1beta1::Certificate (class)")
may have been compromised.