Package com.google.cloud.kms.v1
Enum CryptoKeyVersion.CryptoKeyVersionAlgorithm
java.lang.Object
java.lang.Enum<CryptoKeyVersion.CryptoKeyVersionAlgorithm>
com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CryptoKeyVersion.CryptoKeyVersionAlgorithm>
- Enclosing class:
- CryptoKeyVersion
public static enum CryptoKeyVersion.CryptoKeyVersionAlgorithm
extends Enum<CryptoKeyVersion.CryptoKeyVersionAlgorithm>
implements com.google.protobuf.ProtocolMessageEnum
The algorithm of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what parameters must be used for each cryptographic operation. The [GOOGLE_SYMMETRIC_ENCRYPTION][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.GOOGLE_SYMMETRIC_ENCRYPTION] algorithm is usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. Algorithms beginning with `RSA_SIGN_` are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. The fields in the name after `RSA_SIGN_` correspond to the following parameters: padding algorithm, modulus bit length, and digest algorithm. For PSS, the salt length used is equal to the length of digest algorithm. For example, [RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256] will use PSS with a salt length of 256 bits or 32 bytes. Algorithms beginning with `RSA_DECRYPT_` are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. The fields in the name after `RSA_DECRYPT_` correspond to the following parameters: padding algorithm, modulus bit length, and digest algorithm. Algorithms beginning with `EC_SIGN_` are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. The fields in the name after `EC_SIGN_` correspond to the following parameters: elliptic curve, digest algorithm. Algorithms beginning with `HMAC_` are usable with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC]. The suffix following `HMAC_` corresponds to the hash algorithm being used (eg. SHA256). Algorithms beginning with `PQ_` are post-quantum. For more information, see [Key purposes and algorithms] (https://cloud.google.com/kms/docs/algorithms).Protobuf enum
google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAES-CBC (Cipher Block Chaining Mode) using 128-bit keys.AES-CTR (Counter Mode) using 128-bit keys.AES-GCM (Galois Counter Mode) using 128-bit keys.AES-CBC (Cipher Block Chaining Mode) using 256-bit keys.AES-CTR (Counter Mode) using 256-bit keys.AES-GCM (Galois Counter Mode) using 256-bit keys.AES key wrap with zero padding algorithm (RFC 5649).Not specified.EdDSA on the Curve25519 in pure mode (taking data as input).ECDSA on the NIST P-256 curve with a SHA256 digest.ECDSA on the NIST P-384 curve with a SHA384 digest.ECDSA on the non-NIST secp256k1 curve.Algorithm representing symmetric encryption by an external key manager.Creates symmetric encryption keys.HMAC-SHA1 signing with a 160 bit key.HMAC-SHA224 signing with a 224 bit key.HMAC-SHA256 signing with a 256 bit key.HMAC-SHA384 signing with a 384 bit key.HMAC-SHA512 signing with a 512 bit key.X-Wing hybrid KEM combining ML-KEM-768 with X25519 following datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/.ML-KEM-1024 (FIPS 203)ML-KEM-768 (FIPS 203)The post-quantum stateless hash-based digital signature algorithm, at security level 1.The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1.The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1.The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3.The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3.The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5.The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5.The post-quantum stateless hash-based digital signature algorithm, at security level 1.RSAES-OAEP 2048 bit key with a SHA1 digest.RSAES-OAEP 2048 bit key with a SHA256 digest.RSAES-OAEP 3072 bit key with a SHA1 digest.RSAES-OAEP 3072 bit key with a SHA256 digest.RSAES-OAEP 4096 bit key with a SHA1 digest.RSAES-OAEP 4096 bit key with a SHA256 digest.RSAES-OAEP 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-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 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. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAES-CBC (Cipher Block Chaining Mode) using 128-bit keys.static final intAES-CTR (Counter Mode) using 128-bit keys.static final intAES-GCM (Galois Counter Mode) using 128-bit keys.static final intAES-CBC (Cipher Block Chaining Mode) using 256-bit keys.static final intAES-CTR (Counter Mode) using 256-bit keys.static final intAES-GCM (Galois Counter Mode) using 256-bit keys.static final intAES key wrap with zero padding algorithm (RFC 5649).static final intNot specified.static final intEdDSA on the Curve25519 in pure mode (taking data as input).static final intECDSA on the NIST P-256 curve with a SHA256 digest.static final intECDSA on the NIST P-384 curve with a SHA384 digest.static final intECDSA on the non-NIST secp256k1 curve.static final intAlgorithm representing symmetric encryption by an external key manager.static final intCreates symmetric encryption keys.static final intHMAC-SHA1 signing with a 160 bit key.static final intHMAC-SHA224 signing with a 224 bit key.static final intHMAC-SHA256 signing with a 256 bit key.static final intHMAC-SHA384 signing with a 384 bit key.static final intHMAC-SHA512 signing with a 512 bit key.static final intX-Wing hybrid KEM combining ML-KEM-768 with X25519 following datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/.static final intML-KEM-1024 (FIPS 203)static final intML-KEM-768 (FIPS 203)static final intThe post-quantum stateless hash-based digital signature algorithm, at security level 1.static final intThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1.static final intThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1.static final intThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3.static final intThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3.static final intThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5.static final intThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5.static final intThe post-quantum stateless hash-based digital signature algorithm, at security level 1.static final intRSAES-OAEP 2048 bit key with a SHA1 digest.static final intRSAES-OAEP 2048 bit key with a SHA256 digest.static final intRSAES-OAEP 3072 bit key with a SHA1 digest.static final intRSAES-OAEP 3072 bit key with a SHA256 digest.static final intRSAES-OAEP 4096 bit key with a SHA1 digest.static final intRSAES-OAEP 4096 bit key with a SHA256 digest.static final intRSAES-OAEP 4096 bit key with a SHA512 digest.static final intRSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.static final intRSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.static final intRSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.static final intRSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.static final intRSASSA-PSS 2048 bit key with a SHA256 digest.static final intRSASSA-PSS 3072 bit key with a SHA256 digest.static final intRSASSA-PSS 4096 bit key with a SHA256 digest.static final intRSASSA-PSS 4096 bit key with a SHA512 digest.static final intRSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key.static final intRSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key.static final intRSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CryptoKeyVersion.CryptoKeyVersionAlgorithm>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED
public static final CryptoKeyVersion.CryptoKeyVersionAlgorithm CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIEDNot specified.
CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED = 0; -
GOOGLE_SYMMETRIC_ENCRYPTION
Creates symmetric encryption keys.
GOOGLE_SYMMETRIC_ENCRYPTION = 1; -
AES_128_GCM
AES-GCM (Galois Counter Mode) using 128-bit keys.
AES_128_GCM = 41; -
AES_256_GCM
AES-GCM (Galois Counter Mode) using 256-bit keys.
AES_256_GCM = 19; -
AES_128_CBC
AES-CBC (Cipher Block Chaining Mode) using 128-bit keys.
AES_128_CBC = 42; -
AES_256_CBC
AES-CBC (Cipher Block Chaining Mode) using 256-bit keys.
AES_256_CBC = 43; -
AES_128_CTR
AES-CTR (Counter Mode) using 128-bit keys.
AES_128_CTR = 44; -
AES_256_CTR
AES-CTR (Counter Mode) using 256-bit keys.
AES_256_CTR = 45; -
RSA_SIGN_PSS_2048_SHA256
RSASSA-PSS 2048 bit key with a SHA256 digest.
RSA_SIGN_PSS_2048_SHA256 = 2; -
RSA_SIGN_PSS_3072_SHA256
RSASSA-PSS 3072 bit key with a SHA256 digest.
RSA_SIGN_PSS_3072_SHA256 = 3; -
RSA_SIGN_PSS_4096_SHA256
RSASSA-PSS 4096 bit key with a SHA256 digest.
RSA_SIGN_PSS_4096_SHA256 = 4; -
RSA_SIGN_PSS_4096_SHA512
RSASSA-PSS 4096 bit key with a SHA512 digest.
RSA_SIGN_PSS_4096_SHA512 = 15; -
RSA_SIGN_PKCS1_2048_SHA256
RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_2048_SHA256 = 5; -
RSA_SIGN_PKCS1_3072_SHA256
RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_3072_SHA256 = 6; -
RSA_SIGN_PKCS1_4096_SHA256
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_4096_SHA256 = 7; -
RSA_SIGN_PKCS1_4096_SHA512
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
RSA_SIGN_PKCS1_4096_SHA512 = 16; -
RSA_SIGN_RAW_PKCS1_2048
RSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key.
RSA_SIGN_RAW_PKCS1_2048 = 28; -
RSA_SIGN_RAW_PKCS1_3072
RSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key.
RSA_SIGN_RAW_PKCS1_3072 = 29; -
RSA_SIGN_RAW_PKCS1_4096
RSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key.
RSA_SIGN_RAW_PKCS1_4096 = 30; -
RSA_DECRYPT_OAEP_2048_SHA256
RSAES-OAEP 2048 bit key with a SHA256 digest.
RSA_DECRYPT_OAEP_2048_SHA256 = 8; -
RSA_DECRYPT_OAEP_3072_SHA256
RSAES-OAEP 3072 bit key with a SHA256 digest.
RSA_DECRYPT_OAEP_3072_SHA256 = 9; -
RSA_DECRYPT_OAEP_4096_SHA256
RSAES-OAEP 4096 bit key with a SHA256 digest.
RSA_DECRYPT_OAEP_4096_SHA256 = 10; -
RSA_DECRYPT_OAEP_4096_SHA512
RSAES-OAEP 4096 bit key with a SHA512 digest.
RSA_DECRYPT_OAEP_4096_SHA512 = 17; -
RSA_DECRYPT_OAEP_2048_SHA1
RSAES-OAEP 2048 bit key with a SHA1 digest.
RSA_DECRYPT_OAEP_2048_SHA1 = 37; -
RSA_DECRYPT_OAEP_3072_SHA1
RSAES-OAEP 3072 bit key with a SHA1 digest.
RSA_DECRYPT_OAEP_3072_SHA1 = 38; -
RSA_DECRYPT_OAEP_4096_SHA1
RSAES-OAEP 4096 bit key with a SHA1 digest.
RSA_DECRYPT_OAEP_4096_SHA1 = 39; -
EC_SIGN_P256_SHA256
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
EC_SIGN_P256_SHA256 = 12; -
EC_SIGN_P384_SHA384
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
EC_SIGN_P384_SHA384 = 13; -
EC_SIGN_SECP256K1_SHA256
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
EC_SIGN_SECP256K1_SHA256 = 31; -
EC_SIGN_ED25519
EdDSA on the Curve25519 in pure mode (taking data as input).
EC_SIGN_ED25519 = 40; -
HMAC_SHA256
HMAC-SHA256 signing with a 256 bit key.
HMAC_SHA256 = 32; -
HMAC_SHA1
HMAC-SHA1 signing with a 160 bit key.
HMAC_SHA1 = 33; -
HMAC_SHA384
HMAC-SHA384 signing with a 384 bit key.
HMAC_SHA384 = 34; -
HMAC_SHA512
HMAC-SHA512 signing with a 512 bit key.
HMAC_SHA512 = 35; -
HMAC_SHA224
HMAC-SHA224 signing with a 224 bit key.
HMAC_SHA224 = 36; -
EXTERNAL_SYMMETRIC_ENCRYPTION
Algorithm representing symmetric encryption by an external key manager.
EXTERNAL_SYMMETRIC_ENCRYPTION = 18; -
ML_KEM_768
ML-KEM-768 (FIPS 203)
ML_KEM_768 = 47; -
ML_KEM_1024
ML-KEM-1024 (FIPS 203)
ML_KEM_1024 = 48; -
KEM_XWING
X-Wing hybrid KEM combining ML-KEM-768 with X25519 following datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/.
KEM_XWING = 63; -
PQ_SIGN_ML_DSA_44
The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1. Randomized version.
PQ_SIGN_ML_DSA_44 = 68; -
PQ_SIGN_ML_DSA_65
The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3. Randomized version.
PQ_SIGN_ML_DSA_65 = 56; -
PQ_SIGN_ML_DSA_87
The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5. Randomized version.
PQ_SIGN_ML_DSA_87 = 69; -
PQ_SIGN_SLH_DSA_SHA2_128S
The post-quantum stateless hash-based digital signature algorithm, at security level 1. Randomized version.
PQ_SIGN_SLH_DSA_SHA2_128S = 57; -
PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256
public static final CryptoKeyVersion.CryptoKeyVersionAlgorithm PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256The post-quantum stateless hash-based digital signature algorithm, at security level 1. Randomized pre-hash version supporting SHA256 digests.
PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256 = 60; -
PQ_SIGN_ML_DSA_44_EXTERNAL_MU
The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1. Randomized version supporting externally-computed message representatives.
PQ_SIGN_ML_DSA_44_EXTERNAL_MU = 70; -
PQ_SIGN_ML_DSA_65_EXTERNAL_MU
The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3. Randomized version supporting externally-computed message representatives.
PQ_SIGN_ML_DSA_65_EXTERNAL_MU = 67; -
PQ_SIGN_ML_DSA_87_EXTERNAL_MU
The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5. Randomized version supporting externally-computed message representatives.
PQ_SIGN_ML_DSA_87_EXTERNAL_MU = 71; -
AES_256_KWP
AES key wrap with zero padding algorithm (RFC 5649). Can only be used by keys with purpose AES_WRAPPING.
AES_256_KWP = 73; -
UNRECOGNIZED
-
-
Field Details
-
CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED_VALUE
public static final int CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED_VALUENot specified.
CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED = 0;- See Also:
-
GOOGLE_SYMMETRIC_ENCRYPTION_VALUE
public static final int GOOGLE_SYMMETRIC_ENCRYPTION_VALUECreates symmetric encryption keys.
GOOGLE_SYMMETRIC_ENCRYPTION = 1;- See Also:
-
AES_128_GCM_VALUE
public static final int AES_128_GCM_VALUEAES-GCM (Galois Counter Mode) using 128-bit keys.
AES_128_GCM = 41;- See Also:
-
AES_256_GCM_VALUE
public static final int AES_256_GCM_VALUEAES-GCM (Galois Counter Mode) using 256-bit keys.
AES_256_GCM = 19;- See Also:
-
AES_128_CBC_VALUE
public static final int AES_128_CBC_VALUEAES-CBC (Cipher Block Chaining Mode) using 128-bit keys.
AES_128_CBC = 42;- See Also:
-
AES_256_CBC_VALUE
public static final int AES_256_CBC_VALUEAES-CBC (Cipher Block Chaining Mode) using 256-bit keys.
AES_256_CBC = 43;- See Also:
-
AES_128_CTR_VALUE
public static final int AES_128_CTR_VALUEAES-CTR (Counter Mode) using 128-bit keys.
AES_128_CTR = 44;- See Also:
-
AES_256_CTR_VALUE
public static final int AES_256_CTR_VALUEAES-CTR (Counter Mode) using 256-bit keys.
AES_256_CTR = 45;- See Also:
-
RSA_SIGN_PSS_2048_SHA256_VALUE
public static final int RSA_SIGN_PSS_2048_SHA256_VALUERSASSA-PSS 2048 bit key with a SHA256 digest.
RSA_SIGN_PSS_2048_SHA256 = 2;- See Also:
-
RSA_SIGN_PSS_3072_SHA256_VALUE
public static final int RSA_SIGN_PSS_3072_SHA256_VALUERSASSA-PSS 3072 bit key with a SHA256 digest.
RSA_SIGN_PSS_3072_SHA256 = 3;- See Also:
-
RSA_SIGN_PSS_4096_SHA256_VALUE
public static final int RSA_SIGN_PSS_4096_SHA256_VALUERSASSA-PSS 4096 bit key with a SHA256 digest.
RSA_SIGN_PSS_4096_SHA256 = 4;- See Also:
-
RSA_SIGN_PSS_4096_SHA512_VALUE
public static final int RSA_SIGN_PSS_4096_SHA512_VALUERSASSA-PSS 4096 bit key with a SHA512 digest.
RSA_SIGN_PSS_4096_SHA512 = 15;- See Also:
-
RSA_SIGN_PKCS1_2048_SHA256_VALUE
public static final int RSA_SIGN_PKCS1_2048_SHA256_VALUERSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_2048_SHA256 = 5;- See Also:
-
RSA_SIGN_PKCS1_3072_SHA256_VALUE
public static final int RSA_SIGN_PKCS1_3072_SHA256_VALUERSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_3072_SHA256 = 6;- See Also:
-
RSA_SIGN_PKCS1_4096_SHA256_VALUE
public static final int RSA_SIGN_PKCS1_4096_SHA256_VALUERSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_4096_SHA256 = 7;- See Also:
-
RSA_SIGN_PKCS1_4096_SHA512_VALUE
public static final int RSA_SIGN_PKCS1_4096_SHA512_VALUERSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
RSA_SIGN_PKCS1_4096_SHA512 = 16;- See Also:
-
RSA_SIGN_RAW_PKCS1_2048_VALUE
public static final int RSA_SIGN_RAW_PKCS1_2048_VALUERSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key.
RSA_SIGN_RAW_PKCS1_2048 = 28;- See Also:
-
RSA_SIGN_RAW_PKCS1_3072_VALUE
public static final int RSA_SIGN_RAW_PKCS1_3072_VALUERSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key.
RSA_SIGN_RAW_PKCS1_3072 = 29;- See Also:
-
RSA_SIGN_RAW_PKCS1_4096_VALUE
public static final int RSA_SIGN_RAW_PKCS1_4096_VALUERSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key.
RSA_SIGN_RAW_PKCS1_4096 = 30;- See Also:
-
RSA_DECRYPT_OAEP_2048_SHA256_VALUE
public static final int RSA_DECRYPT_OAEP_2048_SHA256_VALUERSAES-OAEP 2048 bit key with a SHA256 digest.
RSA_DECRYPT_OAEP_2048_SHA256 = 8;- See Also:
-
RSA_DECRYPT_OAEP_3072_SHA256_VALUE
public static final int RSA_DECRYPT_OAEP_3072_SHA256_VALUERSAES-OAEP 3072 bit key with a SHA256 digest.
RSA_DECRYPT_OAEP_3072_SHA256 = 9;- See Also:
-
RSA_DECRYPT_OAEP_4096_SHA256_VALUE
public static final int RSA_DECRYPT_OAEP_4096_SHA256_VALUERSAES-OAEP 4096 bit key with a SHA256 digest.
RSA_DECRYPT_OAEP_4096_SHA256 = 10;- See Also:
-
RSA_DECRYPT_OAEP_4096_SHA512_VALUE
public static final int RSA_DECRYPT_OAEP_4096_SHA512_VALUERSAES-OAEP 4096 bit key with a SHA512 digest.
RSA_DECRYPT_OAEP_4096_SHA512 = 17;- See Also:
-
RSA_DECRYPT_OAEP_2048_SHA1_VALUE
public static final int RSA_DECRYPT_OAEP_2048_SHA1_VALUERSAES-OAEP 2048 bit key with a SHA1 digest.
RSA_DECRYPT_OAEP_2048_SHA1 = 37;- See Also:
-
RSA_DECRYPT_OAEP_3072_SHA1_VALUE
public static final int RSA_DECRYPT_OAEP_3072_SHA1_VALUERSAES-OAEP 3072 bit key with a SHA1 digest.
RSA_DECRYPT_OAEP_3072_SHA1 = 38;- See Also:
-
RSA_DECRYPT_OAEP_4096_SHA1_VALUE
public static final int RSA_DECRYPT_OAEP_4096_SHA1_VALUERSAES-OAEP 4096 bit key with a SHA1 digest.
RSA_DECRYPT_OAEP_4096_SHA1 = 39;- See Also:
-
EC_SIGN_P256_SHA256_VALUE
public static final int EC_SIGN_P256_SHA256_VALUEECDSA 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
EC_SIGN_P256_SHA256 = 12;- See Also:
-
EC_SIGN_P384_SHA384_VALUE
public static final int EC_SIGN_P384_SHA384_VALUEECDSA 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
EC_SIGN_P384_SHA384 = 13;- See Also:
-
EC_SIGN_SECP256K1_SHA256_VALUE
public static final int EC_SIGN_SECP256K1_SHA256_VALUEECDSA 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
EC_SIGN_SECP256K1_SHA256 = 31;- See Also:
-
EC_SIGN_ED25519_VALUE
public static final int EC_SIGN_ED25519_VALUEEdDSA on the Curve25519 in pure mode (taking data as input).
EC_SIGN_ED25519 = 40;- See Also:
-
HMAC_SHA256_VALUE
public static final int HMAC_SHA256_VALUEHMAC-SHA256 signing with a 256 bit key.
HMAC_SHA256 = 32;- See Also:
-
HMAC_SHA1_VALUE
public static final int HMAC_SHA1_VALUEHMAC-SHA1 signing with a 160 bit key.
HMAC_SHA1 = 33;- See Also:
-
HMAC_SHA384_VALUE
public static final int HMAC_SHA384_VALUEHMAC-SHA384 signing with a 384 bit key.
HMAC_SHA384 = 34;- See Also:
-
HMAC_SHA512_VALUE
public static final int HMAC_SHA512_VALUEHMAC-SHA512 signing with a 512 bit key.
HMAC_SHA512 = 35;- See Also:
-
HMAC_SHA224_VALUE
public static final int HMAC_SHA224_VALUEHMAC-SHA224 signing with a 224 bit key.
HMAC_SHA224 = 36;- See Also:
-
EXTERNAL_SYMMETRIC_ENCRYPTION_VALUE
public static final int EXTERNAL_SYMMETRIC_ENCRYPTION_VALUEAlgorithm representing symmetric encryption by an external key manager.
EXTERNAL_SYMMETRIC_ENCRYPTION = 18;- See Also:
-
ML_KEM_768_VALUE
public static final int ML_KEM_768_VALUEML-KEM-768 (FIPS 203)
ML_KEM_768 = 47;- See Also:
-
ML_KEM_1024_VALUE
public static final int ML_KEM_1024_VALUEML-KEM-1024 (FIPS 203)
ML_KEM_1024 = 48;- See Also:
-
KEM_XWING_VALUE
public static final int KEM_XWING_VALUEX-Wing hybrid KEM combining ML-KEM-768 with X25519 following datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/.
KEM_XWING = 63;- See Also:
-
PQ_SIGN_ML_DSA_44_VALUE
public static final int PQ_SIGN_ML_DSA_44_VALUEThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1. Randomized version.
PQ_SIGN_ML_DSA_44 = 68;- See Also:
-
PQ_SIGN_ML_DSA_65_VALUE
public static final int PQ_SIGN_ML_DSA_65_VALUEThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3. Randomized version.
PQ_SIGN_ML_DSA_65 = 56;- See Also:
-
PQ_SIGN_ML_DSA_87_VALUE
public static final int PQ_SIGN_ML_DSA_87_VALUEThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5. Randomized version.
PQ_SIGN_ML_DSA_87 = 69;- See Also:
-
PQ_SIGN_SLH_DSA_SHA2_128S_VALUE
public static final int PQ_SIGN_SLH_DSA_SHA2_128S_VALUEThe post-quantum stateless hash-based digital signature algorithm, at security level 1. Randomized version.
PQ_SIGN_SLH_DSA_SHA2_128S = 57;- See Also:
-
PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256_VALUE
public static final int PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256_VALUEThe post-quantum stateless hash-based digital signature algorithm, at security level 1. Randomized pre-hash version supporting SHA256 digests.
PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256 = 60;- See Also:
-
PQ_SIGN_ML_DSA_44_EXTERNAL_MU_VALUE
public static final int PQ_SIGN_ML_DSA_44_EXTERNAL_MU_VALUEThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1. Randomized version supporting externally-computed message representatives.
PQ_SIGN_ML_DSA_44_EXTERNAL_MU = 70;- See Also:
-
PQ_SIGN_ML_DSA_65_EXTERNAL_MU_VALUE
public static final int PQ_SIGN_ML_DSA_65_EXTERNAL_MU_VALUEThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3. Randomized version supporting externally-computed message representatives.
PQ_SIGN_ML_DSA_65_EXTERNAL_MU = 67;- See Also:
-
PQ_SIGN_ML_DSA_87_EXTERNAL_MU_VALUE
public static final int PQ_SIGN_ML_DSA_87_EXTERNAL_MU_VALUEThe post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5. Randomized version supporting externally-computed message representatives.
PQ_SIGN_ML_DSA_87_EXTERNAL_MU = 71;- See Also:
-
AES_256_KWP_VALUE
public static final int AES_256_KWP_VALUEAES key wrap with zero padding algorithm (RFC 5649). Can only be used by keys with purpose AES_WRAPPING.
AES_256_KWP = 73;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CryptoKeyVersion.CryptoKeyVersionAlgorithm> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static CryptoKeyVersion.CryptoKeyVersionAlgorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-