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

feat: add interoperable symmetric encryption system #403

Merged
merged 3 commits into from
Jul 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions google/cloud/kms_v1/types/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,16 @@ class CryptoKeyVersionAlgorithm(proto.Enum):
AES_256_GCM (19):
AES-GCM (Galois Counter Mode) using 256-bit
keys.
AES_128_CBC (42):
AES-CBC (Cipher Block Chaining Mode) using
128-bit keys.
AES_256_CBC (43):
AES-CBC (Cipher Block Chaining Mode) using
256-bit keys.
AES_128_CTR (44):
AES-CTR (Counter Mode) using 128-bit keys.
AES_256_CTR (45):
AES-CTR (Counter Mode) using 256-bit keys.
RSA_SIGN_PSS_2048_SHA256 (2):
RSASSA-PSS 2048 bit key with a SHA256 digest.
RSA_SIGN_PSS_3072_SHA256 (3):
Expand Down Expand Up @@ -672,6 +682,10 @@ class CryptoKeyVersionAlgorithm(proto.Enum):
GOOGLE_SYMMETRIC_ENCRYPTION = 1
AES_128_GCM = 41
AES_256_GCM = 19
AES_128_CBC = 42
AES_256_CBC = 43
AES_128_CTR = 44
AES_256_CTR = 45
RSA_SIGN_PSS_2048_SHA256 = 2
RSA_SIGN_PSS_3072_SHA256 = 3
RSA_SIGN_PSS_4096_SHA256 = 4
Expand Down