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

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

Describes a set of X.509 extensions that may be part of some certificate
issuance controls.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CertificateExtensionConstraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateExtensionConstraints), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CertificateExtensionConstraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateExtensionConstraints), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CertificateExtensionConstraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateExtensionConstraints), [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

### CertificateExtensionConstraints()

    public CertificateExtensionConstraints()

### CertificateExtensionConstraints(CertificateExtensionConstraints)

    public CertificateExtensionConstraints(CertificateExtensionConstraints other)

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

## Properties

### AdditionalExtensions

    public RepeatedField<ObjectId> AdditionalExtensions { get; }

Optional. A set of \[ObjectIds\]\[google.cloud.security.privateca.v1.ObjectId\]
identifying custom X.509 extensions. Will be combined with
\[known_extensions\]\[google.cloud.security.privateca.v1.CertificateExtensionConstraints.known_extensions\]
to determine the full set of X.509 extensions.

| **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.ObjectId` |   |

### KnownExtensions

    public RepeatedField<CertificateExtensionConstraints.Types.KnownCertificateExtension> KnownExtensions { get; }

Optional. A set of named X.509 extensions. Will be combined with
\[additional_extensions\]\[google.cloud.security.privateca.v1.CertificateExtensionConstraints.additional_extensions\]
to determine the full set of X.509 extensions.

| **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.CertificateExtensionConstraintshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateExtensionConstraints.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateExtensionConstraints.Types.KnownCertificateExtension` |   |