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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation and code samples for the \u003ccode\u003eCertificateAuthority.Types.KeyVersionSpec\u003c/code\u003e class in the Google Cloud Security PrivateCA V1 API, specifically for version 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKeyVersionSpec\u003c/code\u003e class is used to configure a Cloud KMS key that a \u003ccode\u003eCertificateAuthority\u003c/code\u003e will use, offering options for managed keys or existing CryptoKeyVersions.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions for the \u003ccode\u003eCertificateAuthority.Types.KeyVersionSpec\u003c/code\u003e range from version 1.0.0 to the latest version 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe properties for this class are \u003ccode\u003eAlgorithm\u003c/code\u003e which handles what algorithm is used for the creation of managed Cloud KMS keys, \u003ccode\u003eCloudKmsKeyVersion\u003c/code\u003e which handles the resource name for existing keys, and \u003ccode\u003eKeyVersionCase\u003c/code\u003e which determines the type of KeyVersion being used.\u003c/p\u003e\n"]]],[],null,[]]