This repository was archived by the owner on Dec 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
google/cloud/kms_v1/types
samples/generated_samples Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -626,15 +626,18 @@ class CryptoKeyVersionAlgorithm(proto.Enum):
626
626
RSA_DECRYPT_OAEP_4096_SHA1 (39):
627
627
RSAES-OAEP 4096 bit key with a SHA1 digest.
628
628
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
631
632
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
634
636
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
638
641
HMAC_SHA256 (32):
639
642
HMAC-SHA256 signing with a 256 bit key.
640
643
HMAC_SHA1 (33):
Original file line number Diff line number Diff line change 8
8
],
9
9
"language" : " PYTHON" ,
10
10
"name" : " google-cloud-kms" ,
11
- "version" : " 2.16 .0"
11
+ "version" : " 0.1 .0"
12
12
},
13
13
"snippets" : [
14
14
{
You can’t perform that action at this time.
0 commit comments