Certificate Authority v1 API - Class CertificateAuthority.Types.KeyVersionSpec (3.7.0)

public sealed class CertificateAuthority.Types.KeyVersionSpec : IMessage<CertificateAuthority.Types.KeyVersionSpec>, IEquatable<CertificateAuthority.Types.KeyVersionSpec>, IDeepCloneable<CertificateAuthority.Types.KeyVersionSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Authority v1 API class CertificateAuthority.Types.KeyVersionSpec.

A Cloud KMS key configuration that a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] will use.

Inheritance

object > CertificateAuthority.Types.KeyVersionSpec

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

KeyVersionSpec()

public KeyVersionSpec()

KeyVersionSpec(KeyVersionSpec)

public KeyVersionSpec(CertificateAuthority.Types.KeyVersionSpec other)
Parameter
Name Description
other CertificateAuthorityTypesKeyVersionSpec

Properties

Algorithm

public CertificateAuthority.Types.SignHashAlgorithm Algorithm { get; set; }

The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as HSM.

Property Value
Type Description
CertificateAuthorityTypesSignHashAlgorithm

CloudKmsKeyVersion

public string CloudKmsKeyVersion { get; set; }

The resource name for an existing Cloud KMS CryptoKeyVersion in the format projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*. This option enables full flexibility in the key's capabilities and properties.

Property Value
Type Description
string

HasAlgorithm

public bool HasAlgorithm { get; }

Gets whether the "algorithm" field is set

Property Value
Type Description
bool

HasCloudKmsKeyVersion

public bool HasCloudKmsKeyVersion { get; }

Gets whether the "cloud_kms_key_version" field is set

Property Value
Type Description
bool

KeyVersionCase

public CertificateAuthority.Types.KeyVersionSpec.KeyVersionOneofCase KeyVersionCase { get; }
Property Value
Type Description
CertificateAuthorityTypesKeyVersionSpecKeyVersionOneofCase