diff --git a/protos/google/cloud/kms/v1/resources.proto b/protos/google/cloud/kms/v1/resources.proto index 47a5c63a..c3aa320f 100644 --- a/protos/google/cloud/kms/v1/resources.proto +++ b/protos/google/cloud/kms/v1/resources.proto @@ -300,6 +300,15 @@ message CryptoKeyVersion { // RSAES-OAEP 4096 bit key with a SHA512 digest. RSA_DECRYPT_OAEP_4096_SHA512 = 17; + // RSAES-OAEP 2048 bit key with a SHA1 digest. + RSA_DECRYPT_OAEP_2048_SHA1 = 37; + + // RSAES-OAEP 3072 bit key with a SHA1 digest. + RSA_DECRYPT_OAEP_3072_SHA1 = 38; + + // RSAES-OAEP 4096 bit key with a SHA1 digest. + RSA_DECRYPT_OAEP_4096_SHA1 = 39; + // ECDSA on the NIST P-256 curve with a SHA256 digest. EC_SIGN_P256_SHA256 = 12; diff --git a/protos/protos.d.ts b/protos/protos.d.ts index 7fe59899..61149ae1 100644 --- a/protos/protos.d.ts +++ b/protos/protos.d.ts @@ -669,6 +669,9 @@ export namespace google { RSA_DECRYPT_OAEP_3072_SHA256 = 9, RSA_DECRYPT_OAEP_4096_SHA256 = 10, RSA_DECRYPT_OAEP_4096_SHA512 = 17, + RSA_DECRYPT_OAEP_2048_SHA1 = 37, + RSA_DECRYPT_OAEP_3072_SHA1 = 38, + RSA_DECRYPT_OAEP_4096_SHA1 = 39, EC_SIGN_P256_SHA256 = 12, EC_SIGN_P384_SHA384 = 13, EC_SIGN_SECP256K1_SHA256 = 31, diff --git a/protos/protos.js b/protos/protos.js index 4f460c82..d42b83be 100644 --- a/protos/protos.js +++ b/protos/protos.js @@ -973,6 +973,9 @@ case 9: case 10: case 17: + case 37: + case 38: + case 39: case 12: case 13: case 31: @@ -1070,6 +1073,18 @@ case 17: message.algorithm = 17; break; + case "RSA_DECRYPT_OAEP_2048_SHA1": + case 37: + message.algorithm = 37; + break; + case "RSA_DECRYPT_OAEP_3072_SHA1": + case 38: + message.algorithm = 38; + break; + case "RSA_DECRYPT_OAEP_4096_SHA1": + case 39: + message.algorithm = 39; + break; case "EC_SIGN_P256_SHA256": case 12: message.algorithm = 12; @@ -1742,6 +1757,9 @@ case 9: case 10: case 17: + case 37: + case 38: + case 39: case 12: case 13: case 31: @@ -1919,6 +1937,18 @@ case 17: message.algorithm = 17; break; + case "RSA_DECRYPT_OAEP_2048_SHA1": + case 37: + message.algorithm = 37; + break; + case "RSA_DECRYPT_OAEP_3072_SHA1": + case 38: + message.algorithm = 38; + break; + case "RSA_DECRYPT_OAEP_4096_SHA1": + case 39: + message.algorithm = 39; + break; case "EC_SIGN_P256_SHA256": case 12: message.algorithm = 12; @@ -2073,6 +2103,9 @@ * @property {number} RSA_DECRYPT_OAEP_3072_SHA256=9 RSA_DECRYPT_OAEP_3072_SHA256 value * @property {number} RSA_DECRYPT_OAEP_4096_SHA256=10 RSA_DECRYPT_OAEP_4096_SHA256 value * @property {number} RSA_DECRYPT_OAEP_4096_SHA512=17 RSA_DECRYPT_OAEP_4096_SHA512 value + * @property {number} RSA_DECRYPT_OAEP_2048_SHA1=37 RSA_DECRYPT_OAEP_2048_SHA1 value + * @property {number} RSA_DECRYPT_OAEP_3072_SHA1=38 RSA_DECRYPT_OAEP_3072_SHA1 value + * @property {number} RSA_DECRYPT_OAEP_4096_SHA1=39 RSA_DECRYPT_OAEP_4096_SHA1 value * @property {number} EC_SIGN_P256_SHA256=12 EC_SIGN_P256_SHA256 value * @property {number} EC_SIGN_P384_SHA384=13 EC_SIGN_P384_SHA384 value * @property {number} EC_SIGN_SECP256K1_SHA256=31 EC_SIGN_SECP256K1_SHA256 value @@ -2095,6 +2128,9 @@ values[valuesById[9] = "RSA_DECRYPT_OAEP_3072_SHA256"] = 9; values[valuesById[10] = "RSA_DECRYPT_OAEP_4096_SHA256"] = 10; values[valuesById[17] = "RSA_DECRYPT_OAEP_4096_SHA512"] = 17; + values[valuesById[37] = "RSA_DECRYPT_OAEP_2048_SHA1"] = 37; + values[valuesById[38] = "RSA_DECRYPT_OAEP_3072_SHA1"] = 38; + values[valuesById[39] = "RSA_DECRYPT_OAEP_4096_SHA1"] = 39; values[valuesById[12] = "EC_SIGN_P256_SHA256"] = 12; values[valuesById[13] = "EC_SIGN_P384_SHA384"] = 13; values[valuesById[31] = "EC_SIGN_SECP256K1_SHA256"] = 31; @@ -2353,6 +2389,9 @@ case 9: case 10: case 17: + case 37: + case 38: + case 39: case 12: case 13: case 31: @@ -2452,6 +2491,18 @@ case 17: message.algorithm = 17; break; + case "RSA_DECRYPT_OAEP_2048_SHA1": + case 37: + message.algorithm = 37; + break; + case "RSA_DECRYPT_OAEP_3072_SHA1": + case 38: + message.algorithm = 38; + break; + case "RSA_DECRYPT_OAEP_4096_SHA1": + case 39: + message.algorithm = 39; + break; case "EC_SIGN_P256_SHA256": case 12: message.algorithm = 12; @@ -8408,6 +8459,9 @@ case 9: case 10: case 17: + case 37: + case 38: + case 39: case 12: case 13: case 31: @@ -8499,6 +8553,18 @@ case 17: message.algorithm = 17; break; + case "RSA_DECRYPT_OAEP_2048_SHA1": + case 37: + message.algorithm = 37; + break; + case "RSA_DECRYPT_OAEP_3072_SHA1": + case 38: + message.algorithm = 38; + break; + case "RSA_DECRYPT_OAEP_4096_SHA1": + case 39: + message.algorithm = 39; + break; case "EC_SIGN_P256_SHA256": case 12: message.algorithm = 12; diff --git a/protos/protos.json b/protos/protos.json index cbee522b..abdeb0c1 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -282,6 +282,9 @@ "RSA_DECRYPT_OAEP_3072_SHA256": 9, "RSA_DECRYPT_OAEP_4096_SHA256": 10, "RSA_DECRYPT_OAEP_4096_SHA512": 17, + "RSA_DECRYPT_OAEP_2048_SHA1": 37, + "RSA_DECRYPT_OAEP_3072_SHA1": 38, + "RSA_DECRYPT_OAEP_4096_SHA1": 39, "EC_SIGN_P256_SHA256": 12, "EC_SIGN_P384_SHA384": 13, "EC_SIGN_SECP256K1_SHA256": 31,