Interface CertificateAuthority.KeyVersionSpecOrBuilder (2.10.0)

public static interface CertificateAuthority.KeyVersionSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlgorithm()

public abstract CertificateAuthority.SignHashAlgorithm getAlgorithm()

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 as HSM.

.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;

Returns
TypeDescription
CertificateAuthority.SignHashAlgorithm

The algorithm.

getAlgorithmValue()

public abstract int getAlgorithmValue()

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 as HSM.

.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for algorithm.

getCloudKmsKeyVersion()

public abstract String getCloudKmsKeyVersion()

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.

string cloud_kms_key_version = 1;

Returns
TypeDescription
String

The cloudKmsKeyVersion.

getCloudKmsKeyVersionBytes()

public abstract ByteString getCloudKmsKeyVersionBytes()

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.

string cloud_kms_key_version = 1;

Returns
TypeDescription
ByteString

The bytes for cloudKmsKeyVersion.

getKeyVersionCase()

public abstract CertificateAuthority.KeyVersionSpec.KeyVersionCase getKeyVersionCase()
Returns
TypeDescription
CertificateAuthority.KeyVersionSpec.KeyVersionCase

hasAlgorithm()

public abstract boolean hasAlgorithm()

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 as HSM.

.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;

Returns
TypeDescription
boolean

Whether the algorithm field is set.

hasCloudKmsKeyVersion()

public abstract boolean hasCloudKmsKeyVersion()

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.

string cloud_kms_key_version = 1;

Returns
TypeDescription
boolean

Whether the cloudKmsKeyVersion field is set.