# Certificate Authority v1 API - Class CertificateRevocationList (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 : IMessage<CertificateRevocationList>, IEquatable<CertificateRevocationList>, IDeepCloneable<CertificateRevocationList>, IBufferMessage, IMessage

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

A
\[CertificateRevocationList\]\[google.cloud.security.privateca.v1.CertificateRevocationList\]
corresponds to a signed X.509 certificate Revocation List (CRL). A CRL
contains the serial numbers of certificates that should no longer be trusted.

## Inheritance

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

## 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), [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), [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), [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

### CertificateRevocationList()

    public CertificateRevocationList()

### CertificateRevocationList(CertificateRevocationList)

    public CertificateRevocationList(CertificateRevocationList other)

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

## Properties

### AccessUrl

    public string AccessUrl { get; set; }

Output only. The location where 'pem_crl' can be accessed.

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

### CertificateRevocationListName

    public CertificateRevocationListName CertificateRevocationListName { get; set; }

[CertificateRevocationListName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationListName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateRevocationList#Google_Cloud_Security_PrivateCA_V1_CertificateRevocationList_Name) 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.CertificateRevocationListName` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time at which this
\[CertificateRevocationList\]\[google.cloud.security.privateca.v1.CertificateRevocationList\]
was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Labels

    public MapField<string, string> Labels { get; }

Optional. Labels with user-defined metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

Identifier. The resource name for this
\[CertificateRevocationList\]\[google.cloud.security.privateca.v1.CertificateRevocationList\]
in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/
certificateRevocationLists/*`.

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

### PemCrl

    public string PemCrl { get; set; }

Output only. The PEM-encoded X.509 CRL.

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

### RevisionId

    public string RevisionId { get; set; }

Output only. The revision ID of this
\[CertificateRevocationList\]\[google.cloud.security.privateca.v1.CertificateRevocationList\].
A new revision is committed whenever a new CRL is published. The format is
an 8-character hexadecimal string.

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

### RevokedCertificates

    public RepeatedField<CertificateRevocationList.Types.RevokedCertificate> RevokedCertificates { get; }

Output only. The revoked serial numbers that appear in pem_crl.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://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` |   |

### SequenceNumber

    public long SequenceNumber { get; set; }

Output only. The CRL sequence number that appears in pem_crl.

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

### State

    public CertificateRevocationList.Types.State State { get; set; }

Output only. The
\[State\]\[google.cloud.security.privateca.v1.CertificateRevocationList.State\]
for this
\[CertificateRevocationList\]\[google.cloud.security.privateca.v1.CertificateRevocationList\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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.State` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time at which this
\[CertificateRevocationList\]\[google.cloud.security.privateca.v1.CertificateRevocationList\]
was updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |