CryptoKeyVersionTemplateAlgorithm

Required. Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.

Entries

Link copied to clipboard

Creates symmetric encryption keys.

Link copied to clipboard

RSASSA-PSS 2048 bit key with a SHA256 digest.

Link copied to clipboard

RSASSA-PSS 3072 bit key with a SHA256 digest.

Link copied to clipboard

RSASSA-PSS 4096 bit key with a SHA256 digest.

Link copied to clipboard

RSASSA-PSS 4096 bit key with a SHA512 digest.

Link copied to clipboard

RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.

Link copied to clipboard

RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.

Link copied to clipboard

RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.

Link copied to clipboard

RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.

Link copied to clipboard

RSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key.

Link copied to clipboard

RSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key.

Link copied to clipboard

RSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key.

Link copied to clipboard

RSAES-OAEP 2048 bit key with a SHA256 digest.

Link copied to clipboard

RSAES-OAEP 3072 bit key with a SHA256 digest.

Link copied to clipboard

RSAES-OAEP 4096 bit key with a SHA256 digest.

Link copied to clipboard

RSAES-OAEP 4096 bit key with a SHA512 digest.

Link copied to clipboard

RSAES-OAEP 2048 bit key with a SHA1 digest.

Link copied to clipboard

RSAES-OAEP 3072 bit key with a SHA1 digest.

Link copied to clipboard

RSAES-OAEP 4096 bit key with a SHA1 digest.

Link copied to clipboard

ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms

Link copied to clipboard

ECDSA on the NIST P-384 curve with a SHA384 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms

Link copied to clipboard

ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms

Link copied to clipboard

HMAC-SHA256 signing with a 256 bit key.

Link copied to clipboard

HMAC-SHA1 signing with a 160 bit key.

Link copied to clipboard

HMAC-SHA384 signing with a 384 bit key.

Link copied to clipboard

HMAC-SHA512 signing with a 512 bit key.

Link copied to clipboard

HMAC-SHA224 signing with a 224 bit key.

Link copied to clipboard

Algorithm representing symmetric encryption by an external key manager.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): CryptoKeyVersionTemplateAlgorithm
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: CryptoKeyVersionTemplateAlgorithm
Link copied to clipboard
Link copied to clipboard