Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit c45e891

Browse files
docs: Publish the API comment changes related to supporting different hash functions/values for ECDSA signing (#386)
* docs: Publish the API comment changes related to supporting different hash functions/values for ECDSA signing PiperOrigin-RevId: 519819111 Source-Link: googleapis/googleapis@d5a51f6 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7938c7bae5d9e0257a11204ae2c59365b450062d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzkzOGM3YmFlNWQ5ZTAyNTdhMTEyMDRhZTJjNTkzNjViNDUwMDYyZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 19c4df6 commit c45e891

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

google/cloud/kms_v1/types/resources.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -626,15 +626,18 @@ class CryptoKeyVersionAlgorithm(proto.Enum):
626626
RSA_DECRYPT_OAEP_4096_SHA1 (39):
627627
RSAES-OAEP 4096 bit key with a SHA1 digest.
628628
EC_SIGN_P256_SHA256 (12):
629-
ECDSA on the NIST P-256 curve with a SHA256
630-
digest.
629+
ECDSA on the NIST P-256 curve with a SHA256 digest. Other
630+
hash functions can also be used:
631+
https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
631632
EC_SIGN_P384_SHA384 (13):
632-
ECDSA on the NIST P-384 curve with a SHA384
633-
digest.
633+
ECDSA on the NIST P-384 curve with a SHA384 digest. Other
634+
hash functions can also be used:
635+
https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
634636
EC_SIGN_SECP256K1_SHA256 (31):
635-
ECDSA on the non-NIST secp256k1 curve. This
636-
curve is only supported for HSM protection
637-
level.
637+
ECDSA on the non-NIST secp256k1 curve. This curve is only
638+
supported for HSM protection level. Other hash functions can
639+
also be used:
640+
https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
638641
HMAC_SHA256 (32):
639642
HMAC-SHA256 signing with a 256 bit key.
640643
HMAC_SHA1 (33):

samples/generated_samples/snippet_metadata_google.cloud.kms.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-kms",
11-
"version": "2.16.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)