Skip to content

Commit d5a51f6

Browse files
Google APIscopybara-github
authored andcommitted
docs: Publish the API comment changes related to supporting different hash functions/values for ECDSA signing
PiperOrigin-RevId: 519819111
1 parent 1860a6a commit d5a51f6

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

google/cloud/kms/v1/ekm_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/kms/v1/resources.proto

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -394,13 +394,19 @@ message CryptoKeyVersion {
394394
RSA_DECRYPT_OAEP_4096_SHA1 = 39;
395395

396396
// ECDSA on the NIST P-256 curve with a SHA256 digest.
397+
// Other hash functions can also be used:
398+
// https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
397399
EC_SIGN_P256_SHA256 = 12;
398400

399401
// ECDSA on the NIST P-384 curve with a SHA384 digest.
402+
// Other hash functions can also be used:
403+
// https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
400404
EC_SIGN_P384_SHA384 = 13;
401405

402406
// ECDSA on the non-NIST secp256k1 curve. This curve is only supported for
403407
// HSM protection level.
408+
// Other hash functions can also be used:
409+
// https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
404410
EC_SIGN_SECP256K1_SHA256 = 31;
405411

406412
// HMAC-SHA256 signing with a 256 bit key.

google/cloud/kms/v1/service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)