Interface CertificateAuthority.KeyVersionSpecOrBuilder (2.45.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for cloudKmsKeyVersion.

getKeyVersionCase()

public abstract CertificateAuthority.KeyVersionSpec.KeyVersionCase getKeyVersionCase()
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the cloudKmsKeyVersion field is set.