Crypto Key Version Template Algorithm
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
Not specified.
Creates symmetric encryption keys.
RSASSA-PSS 2048 bit key with a SHA256 digest.
RSASSA-PSS 3072 bit key with a SHA256 digest.
RSASSA-PSS 4096 bit key with a SHA256 digest.
RSASSA-PSS 4096 bit key with a SHA512 digest.
RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
RSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key.
RSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key.
RSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key.
RSAES-OAEP 2048 bit key with a SHA256 digest.
RSAES-OAEP 3072 bit key with a SHA256 digest.
RSAES-OAEP 4096 bit key with a SHA256 digest.
RSAES-OAEP 4096 bit key with a SHA512 digest.
RSAES-OAEP 2048 bit key with a SHA1 digest.
RSAES-OAEP 3072 bit key with a SHA1 digest.
RSAES-OAEP 4096 bit key with a SHA1 digest.
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
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
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
HMAC-SHA256 signing with a 256 bit key.
HMAC-SHA384 signing with a 384 bit key.
HMAC-SHA512 signing with a 512 bit key.
HMAC-SHA224 signing with a 224 bit key.
Algorithm representing symmetric encryption by an external key manager.
Types
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.