Skip to content

Commit 46b9264

Browse files
author
AWS
committed
Payment Cryptography Control Plane Update: Support for AS2805 standard. Modifications to import-key and export-key to support AS2805 variants.
1 parent fa9db76 commit 46b9264

File tree

2 files changed

+72
-1
lines changed

2 files changed

+72
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Payment Cryptography Control Plane",
4+
"contributor": "",
5+
"description": "Support for AS2805 standard. Modifications to import-key and export-key to support AS2805 variants."
6+
}

services/paymentcryptography/src/main/resources/codegen-resources/service-2.json

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,15 @@
584584
"type":"list",
585585
"member":{"shape":"Alias"}
586586
},
587+
"As2805KeyVariant":{
588+
"type":"string",
589+
"enum":[
590+
"TERMINAL_MAJOR_KEY_VARIANT_00",
591+
"PIN_ENCRYPTION_KEY_VARIANT_28",
592+
"MESSAGE_AUTHENTICATION_KEY_VARIANT_24",
593+
"DATA_ENCRYPTION_KEY_VARIANT_22"
594+
]
595+
},
587596
"Boolean":{
588597
"type":"boolean",
589598
"box":true
@@ -617,7 +626,7 @@
617626
},
618627
"Country":{
619628
"shape":"CertificateSubjectTypeCountryString",
620-
"documentation":"<p>The city you provide to create the certificate signing request.</p>"
629+
"documentation":"<p>The country you provide to create the certificate signing request.</p>"
621630
},
622631
"StateOrProvince":{
623632
"shape":"CertificateSubjectTypeStateOrProvinceString",
@@ -883,6 +892,21 @@
883892
"min":16,
884893
"pattern":"(?:[0-9a-fA-F][0-9a-fA-F])+"
885894
},
895+
"ExportAs2805KeyCryptogram":{
896+
"type":"structure",
897+
"required":[
898+
"WrappingKeyIdentifier",
899+
"As2805KeyVariant"
900+
],
901+
"members":{
902+
"WrappingKeyIdentifier":{"shape":"KeyArnOrKeyAliasType"},
903+
"As2805KeyVariant":{
904+
"shape":"As2805KeyVariant",
905+
"documentation":"<p>The cryptographic usage of the key under export.</p>"
906+
}
907+
},
908+
"documentation":"<p>Parameter information for key material export using AS2805 key cryptogram format.</p>"
909+
},
886910
"ExportAttributes":{
887911
"type":"structure",
888912
"members":{
@@ -1013,6 +1037,10 @@
10131037
"DiffieHellmanTr31KeyBlock":{
10141038
"shape":"ExportDiffieHellmanTr31KeyBlock",
10151039
"documentation":"<p>Key derivation parameter information for key material export using asymmetric ECDH key exchange method.</p>"
1040+
},
1041+
"As2805KeyCryptogram":{
1042+
"shape":"ExportAs2805KeyCryptogram",
1043+
"documentation":"<p>Parameter information for key material export using AS2805 key cryptogram format.</p>"
10161044
}
10171045
},
10181046
"documentation":"<p>Parameter information for key material export from Amazon Web Services Payment Cryptography using TR-31 or TR-34 or RSA wrap and unwrap key exchange method.</p>",
@@ -1308,6 +1336,38 @@
13081336
"min":20,
13091337
"pattern":"[0-9A-F]{20}$|^[0-9A-F]{24}"
13101338
},
1339+
"ImportAs2805KeyCryptogram":{
1340+
"type":"structure",
1341+
"required":[
1342+
"As2805KeyVariant",
1343+
"KeyModesOfUse",
1344+
"KeyAlgorithm",
1345+
"Exportable",
1346+
"WrappingKeyIdentifier",
1347+
"WrappedKeyCryptogram"
1348+
],
1349+
"members":{
1350+
"As2805KeyVariant":{
1351+
"shape":"As2805KeyVariant",
1352+
"documentation":"<p>The cryptographic usage of the key under import.</p>"
1353+
},
1354+
"KeyModesOfUse":{"shape":"KeyModesOfUse"},
1355+
"KeyAlgorithm":{
1356+
"shape":"KeyAlgorithm",
1357+
"documentation":"<p>The key algorithm of the key under import.</p>"
1358+
},
1359+
"Exportable":{
1360+
"shape":"Boolean",
1361+
"documentation":"<p>Specified whether the key is exportable. This data is immutable after the key is imported.</p>"
1362+
},
1363+
"WrappingKeyIdentifier":{"shape":"KeyArnOrKeyAliasType"},
1364+
"WrappedKeyCryptogram":{
1365+
"shape":"WrappedKeyCryptogram",
1366+
"documentation":"<p>The wrapped key cryptogram under import.</p>"
1367+
}
1368+
},
1369+
"documentation":"<p>Parameter information for key material import using AS2805 key cryptogram format.</p>"
1370+
},
13111371
"ImportDiffieHellmanTr31KeyBlock":{
13121372
"type":"structure",
13131373
"required":[
@@ -1434,6 +1494,10 @@
14341494
"DiffieHellmanTr31KeyBlock":{
14351495
"shape":"ImportDiffieHellmanTr31KeyBlock",
14361496
"documentation":"<p>Key derivation parameter information for key material import using asymmetric ECDH key exchange method.</p>"
1497+
},
1498+
"As2805KeyCryptogram":{
1499+
"shape":"ImportAs2805KeyCryptogram",
1500+
"documentation":"<p>Parameter information for key material import using AS2805 key cryptogram format.</p>"
14371501
}
14381502
},
14391503
"documentation":"<p>Parameter information for key material import into Amazon Web Services Payment Cryptography using TR-31 or TR-34 or RSA wrap and unwrap key exchange method.</p>",
@@ -1886,6 +1950,7 @@
18861950
"TR31_K0_KEY_ENCRYPTION_KEY",
18871951
"TR31_K1_KEY_BLOCK_PROTECTION_KEY",
18881952
"TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT",
1953+
"TR31_M0_ISO_16609_MAC_KEY",
18891954
"TR31_M3_ISO_9797_3_MAC_KEY",
18901955
"TR31_M1_ISO_9797_1_MAC_KEY",
18911956
"TR31_M6_ISO_9797_5_CMAC_KEY",

0 commit comments

Comments
 (0)