# Enum CryptoKeyVersion.CryptoKeyVersionAlgorithm (2.96.0)

2.96.0 (latest) 2.94.0 2.91.0 2.90.0 2.88.0 2.86.0 2.85.0 2.84.0 2.83.0 2.81.0 2.79.0 2.78.0 2.77.0 2.76.0 2.75.0 2.73.0 2.71.0 2.70.0 2.67.0 2.66.0 2.65.0 2.63.0 2.62.0 2.61.0 2.60.0 2.59.0 2.58.0 2.57.0 2.56.0 2.55.0 2.54.0 2.52.0 2.51.0 2.50.0 2.49.0 2.48.0 2.47.0 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.27.0 2.26.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.8 2.5.3 2.4.4 2.3.1

    public enum CryptoKeyVersion.CryptoKeyVersionAlgorithm extends Enum<CryptoKeyVersion.CryptoKeyVersionAlgorithm> implements ProtocolMessageEnum

The algorithm of the
CryptoKeyVersion, indicating what
parameters must be used for each cryptographic operation.

The
GOOGLE_SYMMETRIC_ENCRYPTION
algorithm is usable with
CryptoKey.purpose
ENCRYPT_DECRYPT.

Algorithms beginning with `RSA_SIGN_` are usable with
CryptoKey.purpose
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
will use PSS with a salt length of 256 bits or 32 bytes.

Algorithms beginning with `RSA_DECRYPT_` are usable with
CryptoKey.purpose
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
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
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`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `AES_128_CBC` | AES-CBC (Cipher Block Chaining Mode) using 128-bit keys. `AES_128_CBC = 42;` |
| `AES_128_CBC_VALUE` | AES-CBC (Cipher Block Chaining Mode) using 128-bit keys. `AES_128_CBC = 42;` |
| `AES_128_CTR` | AES-CTR (Counter Mode) using 128-bit keys. `AES_128_CTR = 44;` |
| `AES_128_CTR_VALUE` | AES-CTR (Counter Mode) using 128-bit keys. `AES_128_CTR = 44;` |
| `AES_128_GCM` | AES-GCM (Galois Counter Mode) using 128-bit keys. `AES_128_GCM = 41;` |
| `AES_128_GCM_VALUE` | AES-GCM (Galois Counter Mode) using 128-bit keys. `AES_128_GCM = 41;` |
| `AES_256_CBC` | AES-CBC (Cipher Block Chaining Mode) using 256-bit keys. `AES_256_CBC = 43;` |
| `AES_256_CBC_VALUE` | AES-CBC (Cipher Block Chaining Mode) using 256-bit keys. `AES_256_CBC = 43;` |
| `AES_256_CTR` | AES-CTR (Counter Mode) using 256-bit keys. `AES_256_CTR = 45;` |
| `AES_256_CTR_VALUE` | AES-CTR (Counter Mode) using 256-bit keys. `AES_256_CTR = 45;` |
| `AES_256_GCM` | AES-GCM (Galois Counter Mode) using 256-bit keys. `AES_256_GCM = 19;` |
| `AES_256_GCM_VALUE` | AES-GCM (Galois Counter Mode) using 256-bit keys. `AES_256_GCM = 19;` |
| `CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED` | Not specified. `CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED = 0;` |
| `CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED_VALUE` | Not specified. `CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED = 0;` |
| `EC_SIGN_ED25519` | EdDSA on the Curve25519 in pure mode (taking data as input). `EC_SIGN_ED25519 = 40;` |
| `EC_SIGN_ED25519_VALUE` | EdDSA on the Curve25519 in pure mode (taking data as input). `EC_SIGN_ED25519 = 40;` |
| `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_P256_SHA256_VALUE` | 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_P384_SHA384_VALUE` | 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_SECP256K1_SHA256_VALUE` | 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;` |
| `EXTERNAL_SYMMETRIC_ENCRYPTION` | Algorithm representing symmetric encryption by an external key manager. `EXTERNAL_SYMMETRIC_ENCRYPTION = 18;` |
| `EXTERNAL_SYMMETRIC_ENCRYPTION_VALUE` | Algorithm representing symmetric encryption by an external key manager. `EXTERNAL_SYMMETRIC_ENCRYPTION = 18;` |
| `GOOGLE_SYMMETRIC_ENCRYPTION` | Creates symmetric encryption keys. `GOOGLE_SYMMETRIC_ENCRYPTION = 1;` |
| `GOOGLE_SYMMETRIC_ENCRYPTION_VALUE` | Creates symmetric encryption keys. `GOOGLE_SYMMETRIC_ENCRYPTION = 1;` |
| `HMAC_SHA1` | HMAC-SHA1 signing with a 160 bit key. `HMAC_SHA1 = 33;` |
| `HMAC_SHA1_VALUE` | HMAC-SHA1 signing with a 160 bit key. `HMAC_SHA1 = 33;` |
| `HMAC_SHA224` | HMAC-SHA224 signing with a 224 bit key. `HMAC_SHA224 = 36;` |
| `HMAC_SHA224_VALUE` | HMAC-SHA224 signing with a 224 bit key. `HMAC_SHA224 = 36;` |
| `HMAC_SHA256` | HMAC-SHA256 signing with a 256 bit key. `HMAC_SHA256 = 32;` |
| `HMAC_SHA256_VALUE` | HMAC-SHA256 signing with a 256 bit key. `HMAC_SHA256 = 32;` |
| `HMAC_SHA384` | HMAC-SHA384 signing with a 384 bit key. `HMAC_SHA384 = 34;` |
| `HMAC_SHA384_VALUE` | 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_SHA512_VALUE` | HMAC-SHA512 signing with a 512 bit key. `HMAC_SHA512 = 35;` |
| `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;` |
| `KEM_XWING_VALUE` | X-Wing hybrid KEM combining ML-KEM-768 with X25519 following datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. `KEM_XWING = 63;` |
| `ML_KEM_1024` | ML-KEM-1024 (FIPS 203) `ML_KEM_1024 = 48;` |
| `ML_KEM_1024_VALUE` | ML-KEM-1024 (FIPS 203) `ML_KEM_1024 = 48;` |
| `ML_KEM_768` | ML-KEM-768 (FIPS 203) `ML_KEM_768 = 47;` |
| `ML_KEM_768_VALUE` | ML-KEM-768 (FIPS 203) `ML_KEM_768 = 47;` |
| `PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256` | The 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_HASH_SLH_DSA_SHA2_128S_SHA256_VALUE` | The 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` | 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_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_44_EXTERNAL_MU_VALUE` | 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_44_VALUE` | 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_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_65_EXTERNAL_MU_VALUE` | 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_65_VALUE` | 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_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;` |
| `PQ_SIGN_ML_DSA_87_EXTERNAL_MU_VALUE` | 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;` |
| `PQ_SIGN_ML_DSA_87_VALUE` | 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_SLH_DSA_SHA2_128S_VALUE` | The post-quantum stateless hash-based digital signature algorithm, at security level 1. Randomized version. `PQ_SIGN_SLH_DSA_SHA2_128S = 57;` |
| `RSA_DECRYPT_OAEP_2048_SHA1` | RSAES-OAEP 2048 bit key with a SHA1 digest. `RSA_DECRYPT_OAEP_2048_SHA1 = 37;` |
| `RSA_DECRYPT_OAEP_2048_SHA1_VALUE` | RSAES-OAEP 2048 bit key with a SHA1 digest. `RSA_DECRYPT_OAEP_2048_SHA1 = 37;` |
| `RSA_DECRYPT_OAEP_2048_SHA256` | RSAES-OAEP 2048 bit key with a SHA256 digest. `RSA_DECRYPT_OAEP_2048_SHA256 = 8;` |
| `RSA_DECRYPT_OAEP_2048_SHA256_VALUE` | RSAES-OAEP 2048 bit key with a SHA256 digest. `RSA_DECRYPT_OAEP_2048_SHA256 = 8;` |
| `RSA_DECRYPT_OAEP_3072_SHA1` | RSAES-OAEP 3072 bit key with a SHA1 digest. `RSA_DECRYPT_OAEP_3072_SHA1 = 38;` |
| `RSA_DECRYPT_OAEP_3072_SHA1_VALUE` | RSAES-OAEP 3072 bit key with a SHA1 digest. `RSA_DECRYPT_OAEP_3072_SHA1 = 38;` |
| `RSA_DECRYPT_OAEP_3072_SHA256` | RSAES-OAEP 3072 bit key with a SHA256 digest. `RSA_DECRYPT_OAEP_3072_SHA256 = 9;` |
| `RSA_DECRYPT_OAEP_3072_SHA256_VALUE` | RSAES-OAEP 3072 bit key with a SHA256 digest. `RSA_DECRYPT_OAEP_3072_SHA256 = 9;` |
| `RSA_DECRYPT_OAEP_4096_SHA1` | RSAES-OAEP 4096 bit key with a SHA1 digest. `RSA_DECRYPT_OAEP_4096_SHA1 = 39;` |
| `RSA_DECRYPT_OAEP_4096_SHA1_VALUE` | RSAES-OAEP 4096 bit key with a SHA1 digest. `RSA_DECRYPT_OAEP_4096_SHA1 = 39;` |
| `RSA_DECRYPT_OAEP_4096_SHA256` | RSAES-OAEP 4096 bit key with a SHA256 digest. `RSA_DECRYPT_OAEP_4096_SHA256 = 10;` |
| `RSA_DECRYPT_OAEP_4096_SHA256_VALUE` | 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_4096_SHA512_VALUE` | RSAES-OAEP 4096 bit key with a SHA512 digest. `RSA_DECRYPT_OAEP_4096_SHA512 = 17;` |
| `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_2048_SHA256_VALUE` | 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_3072_SHA256_VALUE` | 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_SHA256_VALUE` | 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_PKCS1_4096_SHA512_VALUE` | RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. `RSA_SIGN_PKCS1_4096_SHA512 = 16;` |
| `RSA_SIGN_PSS_2048_SHA256` | RSASSA-PSS 2048 bit key with a SHA256 digest. `RSA_SIGN_PSS_2048_SHA256 = 2;` |
| `RSA_SIGN_PSS_2048_SHA256_VALUE` | 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_3072_SHA256_VALUE` | 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_SHA256_VALUE` | 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_PSS_4096_SHA512_VALUE` | RSASSA-PSS 4096 bit key with a SHA512 digest. `RSA_SIGN_PSS_4096_SHA512 = 15;` |
| `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_2048_VALUE` | 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_3072_VALUE` | 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_SIGN_RAW_PKCS1_4096_VALUE` | RSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key. `RSA_SIGN_RAW_PKCS1_4096 = 30;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm#com_google_cloud_kms_v1_CryptoKeyVersion_CryptoKeyVersionAlgorithm_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |