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 CaPool.Types.IssuancePolicy.Types.AllowedKeyType : IMessage<CaPool.Types.IssuancePolicy.Types.AllowedKeyType>, IEquatable<CaPool.Types.IssuancePolicy.Types.AllowedKeyType>, IDeepCloneable<CaPool.Types.IssuancePolicy.Types.AllowedKeyType>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Authority v1 API class CaPool.Types.IssuancePolicy.Types.AllowedKeyType.

Describes a "type" of key that may be used in a
\[Certificate\]\[google.cloud.security.privateca.v1.Certificate\] issued from
a \[CaPool\]\[google.cloud.security.privateca.v1.CaPool\]. Note that a single
\[AllowedKeyType\]\[google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType\]
may refer to either a fully-qualified key algorithm, such as RSA 4096, or
a family of key algorithms, such as any RSA key.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CaPool.Types.IssuancePolicy.Types.AllowedKeyType

## Implements

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

## 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.md.txt)

## Assembly

Google.Cloud.Security.PrivateCA.V1.dll

## Constructors

### AllowedKeyType()

    public AllowedKeyType()

### AllowedKeyType(AllowedKeyType)

    public AllowedKeyType(CaPool.Types.IssuancePolicy.Types.AllowedKeyType other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CaPoolTypesIssuancePolicyTypesAllowedKeyType` |

## Properties

### EllipticCurve

    public CaPool.Types.IssuancePolicy.Types.AllowedKeyType.Types.EcKeyType EllipticCurve { get; set; }

Represents an allowed Elliptic Curve key type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CaPoolTypesIssuancePolicyTypesAllowedKeyTypeTypesEcKeyType` |   |

### KeyTypeCase

    public CaPool.Types.IssuancePolicy.Types.AllowedKeyType.KeyTypeOneofCase KeyTypeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CaPoolTypesIssuancePolicyTypesAllowedKeyTypeKeyTypeOneofCase` |   |

### Rsa

    public CaPool.Types.IssuancePolicy.Types.AllowedKeyType.Types.RsaKeyType Rsa { get; set; }

Represents an allowed RSA key type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CaPoolTypesIssuancePolicyTypesAllowedKeyTypeTypesRsaKeyType` |   |