# Certificate Authority v1 API - Class CertificateRevocationList.Types.RevokedCertificate (3.12.0)

3.12.0 (latest) 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class CertificateRevocationList.Types.RevokedCertificate : IMessage<CertificateRevocationList.Types.RevokedCertificate>, IEquatable<CertificateRevocationList.Types.RevokedCertificate>, IDeepCloneable<CertificateRevocationList.Types.RevokedCertificate>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Authority v1 API class CertificateRevocationList.Types.RevokedCertificate.

Describes a revoked
\[Certificate\]\[google.cloud.security.privateca.v1.Certificate\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CertificateRevocationList.Types.RevokedCertificate

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CertificateRevocationList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Types)[RevokedCertificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Types.RevokedCertificate), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CertificateRevocationList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Types)[RevokedCertificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Types.RevokedCertificate), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CertificateRevocationList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Types)[RevokedCertificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Types.RevokedCertificate), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Security.PrivateCA.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1)

## Assembly

Google.Cloud.Security.PrivateCA.V1.dll

## Constructors

### RevokedCertificate()

    public RevokedCertificate()

### RevokedCertificate(RevokedCertificate)

    public RevokedCertificate(CertificateRevocationList.Types.RevokedCertificate other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Types.RevokedCertificate` |

## Properties

### Certificate

    public string Certificate { get; set; }

The resource name for the
\[Certificate\]\[google.cloud.security.privateca.v1.Certificate\] in the
format `projects/*/locations/*/caPools/*/certificates/*`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### CertificateAsCertificateName

    public CertificateName CertificateAsCertificateName { get; set; }

[CertificateName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateName)-typed view over the [Certificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList.Types.RevokedCertificate#Google_Cloud_Security_PrivateCA_V1_CertificateRevocationList_Types_RevokedCertificate_Certificate) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateName` |   |

### HexSerialNumber

    public string HexSerialNumber { get; set; }

The serial number of the
\[Certificate\]\[google.cloud.security.privateca.v1.Certificate\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RevocationReason

    public RevocationReason RevocationReason { get; set; }

The reason the
\[Certificate\]\[google.cloud.security.privateca.v1.Certificate\] was
revoked.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.RevocationReason` |   |