Skip to content

Commit e4119ab

Browse files
author
awstools
committed
feat(client-payment-cryptography): Add support for ECC P-256 and P-384 Keys.
1 parent 2f74e23 commit e4119ab

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

clients/client-payment-cryptography/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ AWS SDK for JavaScript PaymentCryptography Client for Node.js, Browser and React
1414

1515
## Installing
1616

17-
To install the this package, simply type add or install @aws-sdk/client-payment-cryptography
17+
To install this package, simply type add or install @aws-sdk/client-payment-cryptography
1818
using your favorite package manager:
1919

2020
- `npm install @aws-sdk/client-payment-cryptography`

clients/client-payment-cryptography/src/models/models_0.ts

+2
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ export const KeyAlgorithm = {
344344
AES_128: "AES_128",
345345
AES_192: "AES_192",
346346
AES_256: "AES_256",
347+
ECC_NIST_P256: "ECC_NIST_P256",
348+
ECC_NIST_P384: "ECC_NIST_P384",
347349
RSA_2048: "RSA_2048",
348350
RSA_3072: "RSA_3072",
349351
RSA_4096: "RSA_4096",

codegen/sdk-codegen/aws-models/payment-cryptography.json

+8
Original file line numberDiff line numberDiff line change
@@ -1518,6 +1518,14 @@
15181518
{
15191519
"value": "RSA_4096",
15201520
"name": "RSA_4096"
1521+
},
1522+
{
1523+
"value": "ECC_NIST_P256",
1524+
"name": "ECC_NIST_P256"
1525+
},
1526+
{
1527+
"value": "ECC_NIST_P384",
1528+
"name": "ECC_NIST_P384"
15211529
}
15221530
]
15231531
}

0 commit comments

Comments
 (0)