@aws-sdk/client-payment-cryptography 3.953.0 → 3.954.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +27 -2
- package/dist-es/models/enums.js +7 -0
- package/dist-es/schemas/schemas_0.js +17 -2
- package/dist-types/commands/ExportKeyCommand.d.ts +4 -0
- package/dist-types/commands/ImportKeyCommand.d.ts +18 -0
- package/dist-types/models/enums.d.ts +15 -0
- package/dist-types/models/models_0.d.ts +96 -4
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +10 -10
package/dist-cjs/index.js
CHANGED
|
@@ -232,9 +232,11 @@ class ServiceUnavailableException extends PaymentCryptographyServiceException {
|
|
|
232
232
|
|
|
233
233
|
const _A = "Alias";
|
|
234
234
|
const _ADE = "AccessDeniedException";
|
|
235
|
+
const _AKC = "As2805KeyCryptogram";
|
|
235
236
|
const _AKRR = "AddKeyReplicationRegions";
|
|
236
237
|
const _AKRRI = "AddKeyReplicationRegionsInput";
|
|
237
238
|
const _AKRRO = "AddKeyReplicationRegionsOutput";
|
|
239
|
+
const _AKV = "As2805KeyVariant";
|
|
238
240
|
const _AN = "AliasName";
|
|
239
241
|
const _Al = "Aliases";
|
|
240
242
|
const _C = "City";
|
|
@@ -274,6 +276,7 @@ const _DPT = "DeletePendingTimestamp";
|
|
|
274
276
|
const _DT = "DeleteTimestamp";
|
|
275
277
|
const _E = "Exportable";
|
|
276
278
|
const _EA = "EmailAddress";
|
|
279
|
+
const _EAKC = "ExportAs2805KeyCryptogram";
|
|
277
280
|
const _EAx = "ExportAttributes";
|
|
278
281
|
const _EDHTKB = "ExportDiffieHellmanTr31KeyBlock";
|
|
279
282
|
const _EDIK = "ExportDukptInitialKey";
|
|
@@ -314,6 +317,7 @@ const _GPFIO = "GetParametersForImportOutput";
|
|
|
314
317
|
const _GPKC = "GetPublicKeyCertificate";
|
|
315
318
|
const _GPKCI = "GetPublicKeyCertificateInput";
|
|
316
319
|
const _GPKCO = "GetPublicKeyCertificateOutput";
|
|
320
|
+
const _IAKC = "ImportAs2805KeyCryptogram";
|
|
317
321
|
const _IDHTKB = "ImportDiffieHellmanTr31KeyBlock";
|
|
318
322
|
const _IK = "ImportKey";
|
|
319
323
|
const _IKC = "ImportKeyCryptogram";
|
|
@@ -489,6 +493,7 @@ var DisableDefaultKeyReplicationRegionsInput$ = [3, n0, _DDKRRI, 0, [_RR], [64 |
|
|
|
489
493
|
var DisableDefaultKeyReplicationRegionsOutput$ = [3, n0, _DDKRRO, 0, [_ERR], [64 | 0]];
|
|
490
494
|
var EnableDefaultKeyReplicationRegionsInput$ = [3, n0, _EDKRRI, 0, [_RR], [64 | 0]];
|
|
491
495
|
var EnableDefaultKeyReplicationRegionsOutput$ = [3, n0, _EDKRRO, 0, [_ERR], [64 | 0]];
|
|
496
|
+
var ExportAs2805KeyCryptogram$ = [3, n0, _EAKC, 0, [_WKI, _AKV], [0, 0]];
|
|
492
497
|
var ExportAttributes$ = [
|
|
493
498
|
3,
|
|
494
499
|
n0,
|
|
@@ -574,6 +579,14 @@ var GetParametersForImportOutput$ = [
|
|
|
574
579
|
];
|
|
575
580
|
var GetPublicKeyCertificateInput$ = [3, n0, _GPKCI, 0, [_KI], [0]];
|
|
576
581
|
var GetPublicKeyCertificateOutput$ = [3, n0, _GPKCO, 0, [_KC, _KCC], [0, 0]];
|
|
582
|
+
var ImportAs2805KeyCryptogram$ = [
|
|
583
|
+
3,
|
|
584
|
+
n0,
|
|
585
|
+
_IAKC,
|
|
586
|
+
0,
|
|
587
|
+
[_AKV, _KMOU, _KAey, _E, _WKI, _WKC],
|
|
588
|
+
[0, () => KeyModesOfUse$, 0, 2, 0, [() => WrappedKeyCryptogram, 0]],
|
|
589
|
+
];
|
|
577
590
|
var ImportDiffieHellmanTr31KeyBlock$ = [
|
|
578
591
|
3,
|
|
579
592
|
n0,
|
|
@@ -733,12 +746,13 @@ var ExportKeyMaterial$ = [
|
|
|
733
746
|
n0,
|
|
734
747
|
_EKM,
|
|
735
748
|
0,
|
|
736
|
-
[_TKB, _TKBr, _KCey, _DHTKB],
|
|
749
|
+
[_TKB, _TKBr, _KCey, _DHTKB, _AKC],
|
|
737
750
|
[
|
|
738
751
|
[() => ExportTr31KeyBlock$, 0],
|
|
739
752
|
[() => ExportTr34KeyBlock$, 0],
|
|
740
753
|
() => ExportKeyCryptogram$,
|
|
741
754
|
[() => ExportDiffieHellmanTr31KeyBlock$, 0],
|
|
755
|
+
() => ExportAs2805KeyCryptogram$,
|
|
742
756
|
],
|
|
743
757
|
];
|
|
744
758
|
var ImportKeyMaterial$ = [
|
|
@@ -746,7 +760,7 @@ var ImportKeyMaterial$ = [
|
|
|
746
760
|
n0,
|
|
747
761
|
_IKM,
|
|
748
762
|
0,
|
|
749
|
-
[_RCPK, _TCPK, _TKB, _TKBr, _KCey, _DHTKB],
|
|
763
|
+
[_RCPK, _TCPK, _TKB, _TKBr, _KCey, _DHTKB, _AKC],
|
|
750
764
|
[
|
|
751
765
|
() => RootCertificatePublicKey$,
|
|
752
766
|
() => TrustedCertificatePublicKey$,
|
|
@@ -754,6 +768,7 @@ var ImportKeyMaterial$ = [
|
|
|
754
768
|
[() => ImportTr34KeyBlock$, 0],
|
|
755
769
|
[() => ImportKeyCryptogram$, 0],
|
|
756
770
|
[() => ImportDiffieHellmanTr31KeyBlock$, 0],
|
|
771
|
+
[() => ImportAs2805KeyCryptogram$, 0],
|
|
757
772
|
],
|
|
758
773
|
];
|
|
759
774
|
var AddKeyReplicationRegions$ = [
|
|
@@ -1283,6 +1298,7 @@ const KeyUsage = {
|
|
|
1283
1298
|
TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY",
|
|
1284
1299
|
TR31_K2_TR34_ASYMMETRIC_KEY: "TR31_K2_TR34_ASYMMETRIC_KEY",
|
|
1285
1300
|
TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT: "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT",
|
|
1301
|
+
TR31_M0_ISO_16609_MAC_KEY: "TR31_M0_ISO_16609_MAC_KEY",
|
|
1286
1302
|
TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY",
|
|
1287
1303
|
TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY",
|
|
1288
1304
|
TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY",
|
|
@@ -1319,6 +1335,12 @@ const KeyReplicationState = {
|
|
|
1319
1335
|
IN_PROGRESS: "IN_PROGRESS",
|
|
1320
1336
|
SYNCHRONIZED: "SYNCHRONIZED",
|
|
1321
1337
|
};
|
|
1338
|
+
const As2805KeyVariant = {
|
|
1339
|
+
DATA_ENCRYPTION_KEY_VARIANT_22: "DATA_ENCRYPTION_KEY_VARIANT_22",
|
|
1340
|
+
MESSAGE_AUTHENTICATION_KEY_VARIANT_24: "MESSAGE_AUTHENTICATION_KEY_VARIANT_24",
|
|
1341
|
+
PIN_ENCRYPTION_KEY_VARIANT_28: "PIN_ENCRYPTION_KEY_VARIANT_28",
|
|
1342
|
+
TERMINAL_MAJOR_KEY_VARIANT_00: "TERMINAL_MAJOR_KEY_VARIANT_00",
|
|
1343
|
+
};
|
|
1322
1344
|
const SymmetricKeyAlgorithm = {
|
|
1323
1345
|
AES_128: "AES_128",
|
|
1324
1346
|
AES_192: "AES_192",
|
|
@@ -1385,6 +1407,7 @@ exports.AddKeyReplicationRegionsCommand = AddKeyReplicationRegionsCommand;
|
|
|
1385
1407
|
exports.AddKeyReplicationRegionsInput$ = AddKeyReplicationRegionsInput$;
|
|
1386
1408
|
exports.AddKeyReplicationRegionsOutput$ = AddKeyReplicationRegionsOutput$;
|
|
1387
1409
|
exports.Alias$ = Alias$;
|
|
1410
|
+
exports.As2805KeyVariant = As2805KeyVariant;
|
|
1388
1411
|
exports.CertificateSubjectType$ = CertificateSubjectType$;
|
|
1389
1412
|
exports.ConflictException = ConflictException;
|
|
1390
1413
|
exports.ConflictException$ = ConflictException$;
|
|
@@ -1414,6 +1437,7 @@ exports.EnableDefaultKeyReplicationRegions$ = EnableDefaultKeyReplicationRegions
|
|
|
1414
1437
|
exports.EnableDefaultKeyReplicationRegionsCommand = EnableDefaultKeyReplicationRegionsCommand;
|
|
1415
1438
|
exports.EnableDefaultKeyReplicationRegionsInput$ = EnableDefaultKeyReplicationRegionsInput$;
|
|
1416
1439
|
exports.EnableDefaultKeyReplicationRegionsOutput$ = EnableDefaultKeyReplicationRegionsOutput$;
|
|
1440
|
+
exports.ExportAs2805KeyCryptogram$ = ExportAs2805KeyCryptogram$;
|
|
1417
1441
|
exports.ExportAttributes$ = ExportAttributes$;
|
|
1418
1442
|
exports.ExportDiffieHellmanTr31KeyBlock$ = ExportDiffieHellmanTr31KeyBlock$;
|
|
1419
1443
|
exports.ExportDukptInitialKey$ = ExportDukptInitialKey$;
|
|
@@ -1453,6 +1477,7 @@ exports.GetPublicKeyCertificate$ = GetPublicKeyCertificate$;
|
|
|
1453
1477
|
exports.GetPublicKeyCertificateCommand = GetPublicKeyCertificateCommand;
|
|
1454
1478
|
exports.GetPublicKeyCertificateInput$ = GetPublicKeyCertificateInput$;
|
|
1455
1479
|
exports.GetPublicKeyCertificateOutput$ = GetPublicKeyCertificateOutput$;
|
|
1480
|
+
exports.ImportAs2805KeyCryptogram$ = ImportAs2805KeyCryptogram$;
|
|
1456
1481
|
exports.ImportDiffieHellmanTr31KeyBlock$ = ImportDiffieHellmanTr31KeyBlock$;
|
|
1457
1482
|
exports.ImportKey$ = ImportKey$;
|
|
1458
1483
|
exports.ImportKeyCommand = ImportKeyCommand;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -57,6 +57,7 @@ export const KeyUsage = {
|
|
|
57
57
|
TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY",
|
|
58
58
|
TR31_K2_TR34_ASYMMETRIC_KEY: "TR31_K2_TR34_ASYMMETRIC_KEY",
|
|
59
59
|
TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT: "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT",
|
|
60
|
+
TR31_M0_ISO_16609_MAC_KEY: "TR31_M0_ISO_16609_MAC_KEY",
|
|
60
61
|
TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY",
|
|
61
62
|
TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY",
|
|
62
63
|
TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY",
|
|
@@ -93,6 +94,12 @@ export const KeyReplicationState = {
|
|
|
93
94
|
IN_PROGRESS: "IN_PROGRESS",
|
|
94
95
|
SYNCHRONIZED: "SYNCHRONIZED",
|
|
95
96
|
};
|
|
97
|
+
export const As2805KeyVariant = {
|
|
98
|
+
DATA_ENCRYPTION_KEY_VARIANT_22: "DATA_ENCRYPTION_KEY_VARIANT_22",
|
|
99
|
+
MESSAGE_AUTHENTICATION_KEY_VARIANT_24: "MESSAGE_AUTHENTICATION_KEY_VARIANT_24",
|
|
100
|
+
PIN_ENCRYPTION_KEY_VARIANT_28: "PIN_ENCRYPTION_KEY_VARIANT_28",
|
|
101
|
+
TERMINAL_MAJOR_KEY_VARIANT_00: "TERMINAL_MAJOR_KEY_VARIANT_00",
|
|
102
|
+
};
|
|
96
103
|
export const SymmetricKeyAlgorithm = {
|
|
97
104
|
AES_128: "AES_128",
|
|
98
105
|
AES_192: "AES_192",
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
const _A = "Alias";
|
|
2
2
|
const _ADE = "AccessDeniedException";
|
|
3
|
+
const _AKC = "As2805KeyCryptogram";
|
|
3
4
|
const _AKRR = "AddKeyReplicationRegions";
|
|
4
5
|
const _AKRRI = "AddKeyReplicationRegionsInput";
|
|
5
6
|
const _AKRRO = "AddKeyReplicationRegionsOutput";
|
|
7
|
+
const _AKV = "As2805KeyVariant";
|
|
6
8
|
const _AN = "AliasName";
|
|
7
9
|
const _Al = "Aliases";
|
|
8
10
|
const _C = "City";
|
|
@@ -42,6 +44,7 @@ const _DPT = "DeletePendingTimestamp";
|
|
|
42
44
|
const _DT = "DeleteTimestamp";
|
|
43
45
|
const _E = "Exportable";
|
|
44
46
|
const _EA = "EmailAddress";
|
|
47
|
+
const _EAKC = "ExportAs2805KeyCryptogram";
|
|
45
48
|
const _EAx = "ExportAttributes";
|
|
46
49
|
const _EDHTKB = "ExportDiffieHellmanTr31KeyBlock";
|
|
47
50
|
const _EDIK = "ExportDukptInitialKey";
|
|
@@ -82,6 +85,7 @@ const _GPFIO = "GetParametersForImportOutput";
|
|
|
82
85
|
const _GPKC = "GetPublicKeyCertificate";
|
|
83
86
|
const _GPKCI = "GetPublicKeyCertificateInput";
|
|
84
87
|
const _GPKCO = "GetPublicKeyCertificateOutput";
|
|
88
|
+
const _IAKC = "ImportAs2805KeyCryptogram";
|
|
85
89
|
const _IDHTKB = "ImportDiffieHellmanTr31KeyBlock";
|
|
86
90
|
const _IK = "ImportKey";
|
|
87
91
|
const _IKC = "ImportKeyCryptogram";
|
|
@@ -260,6 +264,7 @@ export var DisableDefaultKeyReplicationRegionsInput$ = [3, n0, _DDKRRI, 0, [_RR]
|
|
|
260
264
|
export var DisableDefaultKeyReplicationRegionsOutput$ = [3, n0, _DDKRRO, 0, [_ERR], [64 | 0]];
|
|
261
265
|
export var EnableDefaultKeyReplicationRegionsInput$ = [3, n0, _EDKRRI, 0, [_RR], [64 | 0]];
|
|
262
266
|
export var EnableDefaultKeyReplicationRegionsOutput$ = [3, n0, _EDKRRO, 0, [_ERR], [64 | 0]];
|
|
267
|
+
export var ExportAs2805KeyCryptogram$ = [3, n0, _EAKC, 0, [_WKI, _AKV], [0, 0]];
|
|
263
268
|
export var ExportAttributes$ = [
|
|
264
269
|
3,
|
|
265
270
|
n0,
|
|
@@ -345,6 +350,14 @@ export var GetParametersForImportOutput$ = [
|
|
|
345
350
|
];
|
|
346
351
|
export var GetPublicKeyCertificateInput$ = [3, n0, _GPKCI, 0, [_KI], [0]];
|
|
347
352
|
export var GetPublicKeyCertificateOutput$ = [3, n0, _GPKCO, 0, [_KC, _KCC], [0, 0]];
|
|
353
|
+
export var ImportAs2805KeyCryptogram$ = [
|
|
354
|
+
3,
|
|
355
|
+
n0,
|
|
356
|
+
_IAKC,
|
|
357
|
+
0,
|
|
358
|
+
[_AKV, _KMOU, _KAey, _E, _WKI, _WKC],
|
|
359
|
+
[0, () => KeyModesOfUse$, 0, 2, 0, [() => WrappedKeyCryptogram, 0]],
|
|
360
|
+
];
|
|
348
361
|
export var ImportDiffieHellmanTr31KeyBlock$ = [
|
|
349
362
|
3,
|
|
350
363
|
n0,
|
|
@@ -506,12 +519,13 @@ export var ExportKeyMaterial$ = [
|
|
|
506
519
|
n0,
|
|
507
520
|
_EKM,
|
|
508
521
|
0,
|
|
509
|
-
[_TKB, _TKBr, _KCey, _DHTKB],
|
|
522
|
+
[_TKB, _TKBr, _KCey, _DHTKB, _AKC],
|
|
510
523
|
[
|
|
511
524
|
[() => ExportTr31KeyBlock$, 0],
|
|
512
525
|
[() => ExportTr34KeyBlock$, 0],
|
|
513
526
|
() => ExportKeyCryptogram$,
|
|
514
527
|
[() => ExportDiffieHellmanTr31KeyBlock$, 0],
|
|
528
|
+
() => ExportAs2805KeyCryptogram$,
|
|
515
529
|
],
|
|
516
530
|
];
|
|
517
531
|
export var ImportKeyMaterial$ = [
|
|
@@ -519,7 +533,7 @@ export var ImportKeyMaterial$ = [
|
|
|
519
533
|
n0,
|
|
520
534
|
_IKM,
|
|
521
535
|
0,
|
|
522
|
-
[_RCPK, _TCPK, _TKB, _TKBr, _KCey, _DHTKB],
|
|
536
|
+
[_RCPK, _TCPK, _TKB, _TKBr, _KCey, _DHTKB, _AKC],
|
|
523
537
|
[
|
|
524
538
|
() => RootCertificatePublicKey$,
|
|
525
539
|
() => TrustedCertificatePublicKey$,
|
|
@@ -527,6 +541,7 @@ export var ImportKeyMaterial$ = [
|
|
|
527
541
|
[() => ImportTr34KeyBlock$, 0],
|
|
528
542
|
[() => ImportKeyCryptogram$, 0],
|
|
529
543
|
[() => ImportDiffieHellmanTr31KeyBlock$, 0],
|
|
544
|
+
[() => ImportAs2805KeyCryptogram$, 0],
|
|
530
545
|
],
|
|
531
546
|
];
|
|
532
547
|
export var AddKeyReplicationRegions$ = [
|
|
@@ -120,6 +120,10 @@ declare const ExportKeyCommand_base: {
|
|
|
120
120
|
* },
|
|
121
121
|
* },
|
|
122
122
|
* },
|
|
123
|
+
* As2805KeyCryptogram: { // ExportAs2805KeyCryptogram
|
|
124
|
+
* WrappingKeyIdentifier: "STRING_VALUE", // required
|
|
125
|
+
* As2805KeyVariant: "TERMINAL_MAJOR_KEY_VARIANT_00" || "PIN_ENCRYPTION_KEY_VARIANT_28" || "MESSAGE_AUTHENTICATION_KEY_VARIANT_24" || "DATA_ENCRYPTION_KEY_VARIANT_22", // required
|
|
126
|
+
* },
|
|
123
127
|
* },
|
|
124
128
|
* ExportKeyIdentifier: "STRING_VALUE", // required
|
|
125
129
|
* ExportAttributes: { // ExportAttributes
|
|
@@ -125,6 +125,24 @@ declare const ImportKeyCommand_base: {
|
|
|
125
125
|
* },
|
|
126
126
|
* WrappedKeyBlock: "STRING_VALUE", // required
|
|
127
127
|
* },
|
|
128
|
+
* As2805KeyCryptogram: { // ImportAs2805KeyCryptogram
|
|
129
|
+
* As2805KeyVariant: "TERMINAL_MAJOR_KEY_VARIANT_00" || "PIN_ENCRYPTION_KEY_VARIANT_28" || "MESSAGE_AUTHENTICATION_KEY_VARIANT_24" || "DATA_ENCRYPTION_KEY_VARIANT_22", // required
|
|
130
|
+
* KeyModesOfUse: {
|
|
131
|
+
* Encrypt: true || false,
|
|
132
|
+
* Decrypt: true || false,
|
|
133
|
+
* Wrap: true || false,
|
|
134
|
+
* Unwrap: true || false,
|
|
135
|
+
* Generate: true || false,
|
|
136
|
+
* Sign: true || false,
|
|
137
|
+
* Verify: true || false,
|
|
138
|
+
* DeriveKey: true || false,
|
|
139
|
+
* NoRestrictions: true || false,
|
|
140
|
+
* },
|
|
141
|
+
* KeyAlgorithm: "STRING_VALUE", // required
|
|
142
|
+
* Exportable: true || false, // required
|
|
143
|
+
* WrappingKeyIdentifier: "STRING_VALUE", // required
|
|
144
|
+
* WrappedKeyCryptogram: "STRING_VALUE", // required
|
|
145
|
+
* },
|
|
128
146
|
* },
|
|
129
147
|
* KeyCheckValueAlgorithm: "STRING_VALUE",
|
|
130
148
|
* Enabled: true || false,
|
|
@@ -85,6 +85,7 @@ export declare const KeyUsage: {
|
|
|
85
85
|
readonly TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY";
|
|
86
86
|
readonly TR31_K2_TR34_ASYMMETRIC_KEY: "TR31_K2_TR34_ASYMMETRIC_KEY";
|
|
87
87
|
readonly TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT: "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT";
|
|
88
|
+
readonly TR31_M0_ISO_16609_MAC_KEY: "TR31_M0_ISO_16609_MAC_KEY";
|
|
88
89
|
readonly TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY";
|
|
89
90
|
readonly TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY";
|
|
90
91
|
readonly TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY";
|
|
@@ -165,6 +166,20 @@ export declare const KeyReplicationState: {
|
|
|
165
166
|
* @public
|
|
166
167
|
*/
|
|
167
168
|
export type KeyReplicationState = (typeof KeyReplicationState)[keyof typeof KeyReplicationState];
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
* @enum
|
|
172
|
+
*/
|
|
173
|
+
export declare const As2805KeyVariant: {
|
|
174
|
+
readonly DATA_ENCRYPTION_KEY_VARIANT_22: "DATA_ENCRYPTION_KEY_VARIANT_22";
|
|
175
|
+
readonly MESSAGE_AUTHENTICATION_KEY_VARIANT_24: "MESSAGE_AUTHENTICATION_KEY_VARIANT_24";
|
|
176
|
+
readonly PIN_ENCRYPTION_KEY_VARIANT_28: "PIN_ENCRYPTION_KEY_VARIANT_28";
|
|
177
|
+
readonly TERMINAL_MAJOR_KEY_VARIANT_00: "TERMINAL_MAJOR_KEY_VARIANT_00";
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export type As2805KeyVariant = (typeof As2805KeyVariant)[keyof typeof As2805KeyVariant];
|
|
168
183
|
/**
|
|
169
184
|
* @public
|
|
170
185
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeriveKeyUsage, KeyAlgorithm, KeyCheckValueAlgorithm, KeyClass, KeyDerivationFunction, KeyDerivationHashAlgorithm, KeyExportability, KeyMaterialType, KeyOrigin, KeyReplicationState, KeyState, KeyUsage, MultiRegionKeyType, SigningAlgorithmType, SymmetricKeyAlgorithm, Tr34KeyBlockFormat, WrappedKeyMaterialFormat, WrappingKeySpec } from "./enums";
|
|
1
|
+
import { As2805KeyVariant, DeriveKeyUsage, KeyAlgorithm, KeyCheckValueAlgorithm, KeyClass, KeyDerivationFunction, KeyDerivationHashAlgorithm, KeyExportability, KeyMaterialType, KeyOrigin, KeyReplicationState, KeyState, KeyUsage, MultiRegionKeyType, SigningAlgorithmType, SymmetricKeyAlgorithm, Tr34KeyBlockFormat, WrappedKeyMaterialFormat, WrappingKeySpec } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Input parameters for adding replication regions to a specific key.</p>
|
|
4
4
|
* @public
|
|
@@ -377,7 +377,7 @@ export interface CertificateSubjectType {
|
|
|
377
377
|
*/
|
|
378
378
|
City?: string | undefined;
|
|
379
379
|
/**
|
|
380
|
-
* <p>The
|
|
380
|
+
* <p>The country you provide to create the certificate signing request.</p>
|
|
381
381
|
* @public
|
|
382
382
|
*/
|
|
383
383
|
Country?: string | undefined;
|
|
@@ -560,6 +560,22 @@ export interface EnableDefaultKeyReplicationRegionsOutput {
|
|
|
560
560
|
*/
|
|
561
561
|
EnabledReplicationRegions: string[] | undefined;
|
|
562
562
|
}
|
|
563
|
+
/**
|
|
564
|
+
* <p>Parameter information for key material export using AS2805 key cryptogram format.</p>
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
export interface ExportAs2805KeyCryptogram {
|
|
568
|
+
/**
|
|
569
|
+
* <p>A key identifier that can be either a key ARN or an alias name. This allows flexible key identification in operations.</p> <p>When using a key ARN, it must be a fully qualified ARN in the format: <code>arn:aws:payment-cryptography:region:account:key/key-id</code>.</p> <p>When using an alias, it must begin with <code>alias/</code> followed by the alias name.</p> <important> <p>Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important>
|
|
570
|
+
* @public
|
|
571
|
+
*/
|
|
572
|
+
WrappingKeyIdentifier: string | undefined;
|
|
573
|
+
/**
|
|
574
|
+
* <p>The cryptographic usage of the key under export.</p>
|
|
575
|
+
* @public
|
|
576
|
+
*/
|
|
577
|
+
As2805KeyVariant: As2805KeyVariant | undefined;
|
|
578
|
+
}
|
|
563
579
|
/**
|
|
564
580
|
* <p>Parameter information for IPEK generation during export.</p>
|
|
565
581
|
* @public
|
|
@@ -746,7 +762,7 @@ export interface ExportTr34KeyBlock {
|
|
|
746
762
|
* <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>
|
|
747
763
|
* @public
|
|
748
764
|
*/
|
|
749
|
-
export type ExportKeyMaterial = ExportKeyMaterial.DiffieHellmanTr31KeyBlockMember | ExportKeyMaterial.KeyCryptogramMember | ExportKeyMaterial.Tr31KeyBlockMember | ExportKeyMaterial.Tr34KeyBlockMember | ExportKeyMaterial.$UnknownMember;
|
|
765
|
+
export type ExportKeyMaterial = ExportKeyMaterial.As2805KeyCryptogramMember | ExportKeyMaterial.DiffieHellmanTr31KeyBlockMember | ExportKeyMaterial.KeyCryptogramMember | ExportKeyMaterial.Tr31KeyBlockMember | ExportKeyMaterial.Tr34KeyBlockMember | ExportKeyMaterial.$UnknownMember;
|
|
750
766
|
/**
|
|
751
767
|
* @public
|
|
752
768
|
*/
|
|
@@ -760,6 +776,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
760
776
|
Tr34KeyBlock?: never;
|
|
761
777
|
KeyCryptogram?: never;
|
|
762
778
|
DiffieHellmanTr31KeyBlock?: never;
|
|
779
|
+
As2805KeyCryptogram?: never;
|
|
763
780
|
$unknown?: never;
|
|
764
781
|
}
|
|
765
782
|
/**
|
|
@@ -771,6 +788,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
771
788
|
Tr34KeyBlock: ExportTr34KeyBlock;
|
|
772
789
|
KeyCryptogram?: never;
|
|
773
790
|
DiffieHellmanTr31KeyBlock?: never;
|
|
791
|
+
As2805KeyCryptogram?: never;
|
|
774
792
|
$unknown?: never;
|
|
775
793
|
}
|
|
776
794
|
/**
|
|
@@ -782,6 +800,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
782
800
|
Tr34KeyBlock?: never;
|
|
783
801
|
KeyCryptogram: ExportKeyCryptogram;
|
|
784
802
|
DiffieHellmanTr31KeyBlock?: never;
|
|
803
|
+
As2805KeyCryptogram?: never;
|
|
785
804
|
$unknown?: never;
|
|
786
805
|
}
|
|
787
806
|
/**
|
|
@@ -793,6 +812,19 @@ export declare namespace ExportKeyMaterial {
|
|
|
793
812
|
Tr34KeyBlock?: never;
|
|
794
813
|
KeyCryptogram?: never;
|
|
795
814
|
DiffieHellmanTr31KeyBlock: ExportDiffieHellmanTr31KeyBlock;
|
|
815
|
+
As2805KeyCryptogram?: never;
|
|
816
|
+
$unknown?: never;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* <p>Parameter information for key material export using AS2805 key cryptogram format.</p>
|
|
820
|
+
* @public
|
|
821
|
+
*/
|
|
822
|
+
interface As2805KeyCryptogramMember {
|
|
823
|
+
Tr31KeyBlock?: never;
|
|
824
|
+
Tr34KeyBlock?: never;
|
|
825
|
+
KeyCryptogram?: never;
|
|
826
|
+
DiffieHellmanTr31KeyBlock?: never;
|
|
827
|
+
As2805KeyCryptogram: ExportAs2805KeyCryptogram;
|
|
796
828
|
$unknown?: never;
|
|
797
829
|
}
|
|
798
830
|
/**
|
|
@@ -803,6 +835,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
803
835
|
Tr34KeyBlock?: never;
|
|
804
836
|
KeyCryptogram?: never;
|
|
805
837
|
DiffieHellmanTr31KeyBlock?: never;
|
|
838
|
+
As2805KeyCryptogram?: never;
|
|
806
839
|
$unknown: [string, any];
|
|
807
840
|
}
|
|
808
841
|
/**
|
|
@@ -814,6 +847,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
814
847
|
Tr34KeyBlock: (value: ExportTr34KeyBlock) => T;
|
|
815
848
|
KeyCryptogram: (value: ExportKeyCryptogram) => T;
|
|
816
849
|
DiffieHellmanTr31KeyBlock: (value: ExportDiffieHellmanTr31KeyBlock) => T;
|
|
850
|
+
As2805KeyCryptogram: (value: ExportAs2805KeyCryptogram) => T;
|
|
817
851
|
_: (name: string, value: any) => T;
|
|
818
852
|
}
|
|
819
853
|
}
|
|
@@ -1060,6 +1094,42 @@ export interface GetPublicKeyCertificateOutput {
|
|
|
1060
1094
|
*/
|
|
1061
1095
|
KeyCertificateChain: string | undefined;
|
|
1062
1096
|
}
|
|
1097
|
+
/**
|
|
1098
|
+
* <p>Parameter information for key material import using AS2805 key cryptogram format.</p>
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
export interface ImportAs2805KeyCryptogram {
|
|
1102
|
+
/**
|
|
1103
|
+
* <p>The cryptographic usage of the key under import.</p>
|
|
1104
|
+
* @public
|
|
1105
|
+
*/
|
|
1106
|
+
As2805KeyVariant: As2805KeyVariant | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* <p>The list of cryptographic operations that you can perform using the key. The modes of use are defined in section A.5.3 of the TR-31 spec.</p>
|
|
1109
|
+
* @public
|
|
1110
|
+
*/
|
|
1111
|
+
KeyModesOfUse: KeyModesOfUse | undefined;
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>The key algorithm of the key under import.</p>
|
|
1114
|
+
* @public
|
|
1115
|
+
*/
|
|
1116
|
+
KeyAlgorithm: KeyAlgorithm | undefined;
|
|
1117
|
+
/**
|
|
1118
|
+
* <p>Specified whether the key is exportable. This data is immutable after the key is imported.</p>
|
|
1119
|
+
* @public
|
|
1120
|
+
*/
|
|
1121
|
+
Exportable: boolean | undefined;
|
|
1122
|
+
/**
|
|
1123
|
+
* <p>A key identifier that can be either a key ARN or an alias name. This allows flexible key identification in operations.</p> <p>When using a key ARN, it must be a fully qualified ARN in the format: <code>arn:aws:payment-cryptography:region:account:key/key-id</code>.</p> <p>When using an alias, it must begin with <code>alias/</code> followed by the alias name.</p> <important> <p>Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important>
|
|
1124
|
+
* @public
|
|
1125
|
+
*/
|
|
1126
|
+
WrappingKeyIdentifier: string | undefined;
|
|
1127
|
+
/**
|
|
1128
|
+
* <p>The wrapped key cryptogram under import.</p>
|
|
1129
|
+
* @public
|
|
1130
|
+
*/
|
|
1131
|
+
WrappedKeyCryptogram: string | undefined;
|
|
1132
|
+
}
|
|
1063
1133
|
/**
|
|
1064
1134
|
* <p>Key derivation parameter information for key material import using asymmetric ECDH key exchange method.</p>
|
|
1065
1135
|
* @public
|
|
@@ -1240,7 +1310,7 @@ export interface TrustedCertificatePublicKey {
|
|
|
1240
1310
|
* <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>
|
|
1241
1311
|
* @public
|
|
1242
1312
|
*/
|
|
1243
|
-
export type ImportKeyMaterial = ImportKeyMaterial.DiffieHellmanTr31KeyBlockMember | ImportKeyMaterial.KeyCryptogramMember | ImportKeyMaterial.RootCertificatePublicKeyMember | ImportKeyMaterial.Tr31KeyBlockMember | ImportKeyMaterial.Tr34KeyBlockMember | ImportKeyMaterial.TrustedCertificatePublicKeyMember | ImportKeyMaterial.$UnknownMember;
|
|
1313
|
+
export type ImportKeyMaterial = ImportKeyMaterial.As2805KeyCryptogramMember | ImportKeyMaterial.DiffieHellmanTr31KeyBlockMember | ImportKeyMaterial.KeyCryptogramMember | ImportKeyMaterial.RootCertificatePublicKeyMember | ImportKeyMaterial.Tr31KeyBlockMember | ImportKeyMaterial.Tr34KeyBlockMember | ImportKeyMaterial.TrustedCertificatePublicKeyMember | ImportKeyMaterial.$UnknownMember;
|
|
1244
1314
|
/**
|
|
1245
1315
|
* @public
|
|
1246
1316
|
*/
|
|
@@ -1256,6 +1326,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
1256
1326
|
Tr34KeyBlock?: never;
|
|
1257
1327
|
KeyCryptogram?: never;
|
|
1258
1328
|
DiffieHellmanTr31KeyBlock?: never;
|
|
1329
|
+
As2805KeyCryptogram?: never;
|
|
1259
1330
|
$unknown?: never;
|
|
1260
1331
|
}
|
|
1261
1332
|
/**
|
|
@@ -1269,6 +1340,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
1269
1340
|
Tr34KeyBlock?: never;
|
|
1270
1341
|
KeyCryptogram?: never;
|
|
1271
1342
|
DiffieHellmanTr31KeyBlock?: never;
|
|
1343
|
+
As2805KeyCryptogram?: never;
|
|
1272
1344
|
$unknown?: never;
|
|
1273
1345
|
}
|
|
1274
1346
|
/**
|
|
@@ -1282,6 +1354,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
1282
1354
|
Tr34KeyBlock?: never;
|
|
1283
1355
|
KeyCryptogram?: never;
|
|
1284
1356
|
DiffieHellmanTr31KeyBlock?: never;
|
|
1357
|
+
As2805KeyCryptogram?: never;
|
|
1285
1358
|
$unknown?: never;
|
|
1286
1359
|
}
|
|
1287
1360
|
/**
|
|
@@ -1295,6 +1368,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
1295
1368
|
Tr34KeyBlock: ImportTr34KeyBlock;
|
|
1296
1369
|
KeyCryptogram?: never;
|
|
1297
1370
|
DiffieHellmanTr31KeyBlock?: never;
|
|
1371
|
+
As2805KeyCryptogram?: never;
|
|
1298
1372
|
$unknown?: never;
|
|
1299
1373
|
}
|
|
1300
1374
|
/**
|
|
@@ -1308,6 +1382,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
1308
1382
|
Tr34KeyBlock?: never;
|
|
1309
1383
|
KeyCryptogram: ImportKeyCryptogram;
|
|
1310
1384
|
DiffieHellmanTr31KeyBlock?: never;
|
|
1385
|
+
As2805KeyCryptogram?: never;
|
|
1311
1386
|
$unknown?: never;
|
|
1312
1387
|
}
|
|
1313
1388
|
/**
|
|
@@ -1321,6 +1396,21 @@ export declare namespace ImportKeyMaterial {
|
|
|
1321
1396
|
Tr34KeyBlock?: never;
|
|
1322
1397
|
KeyCryptogram?: never;
|
|
1323
1398
|
DiffieHellmanTr31KeyBlock: ImportDiffieHellmanTr31KeyBlock;
|
|
1399
|
+
As2805KeyCryptogram?: never;
|
|
1400
|
+
$unknown?: never;
|
|
1401
|
+
}
|
|
1402
|
+
/**
|
|
1403
|
+
* <p>Parameter information for key material import using AS2805 key cryptogram format.</p>
|
|
1404
|
+
* @public
|
|
1405
|
+
*/
|
|
1406
|
+
interface As2805KeyCryptogramMember {
|
|
1407
|
+
RootCertificatePublicKey?: never;
|
|
1408
|
+
TrustedCertificatePublicKey?: never;
|
|
1409
|
+
Tr31KeyBlock?: never;
|
|
1410
|
+
Tr34KeyBlock?: never;
|
|
1411
|
+
KeyCryptogram?: never;
|
|
1412
|
+
DiffieHellmanTr31KeyBlock?: never;
|
|
1413
|
+
As2805KeyCryptogram: ImportAs2805KeyCryptogram;
|
|
1324
1414
|
$unknown?: never;
|
|
1325
1415
|
}
|
|
1326
1416
|
/**
|
|
@@ -1333,6 +1423,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
1333
1423
|
Tr34KeyBlock?: never;
|
|
1334
1424
|
KeyCryptogram?: never;
|
|
1335
1425
|
DiffieHellmanTr31KeyBlock?: never;
|
|
1426
|
+
As2805KeyCryptogram?: never;
|
|
1336
1427
|
$unknown: [string, any];
|
|
1337
1428
|
}
|
|
1338
1429
|
/**
|
|
@@ -1346,6 +1437,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
1346
1437
|
Tr34KeyBlock: (value: ImportTr34KeyBlock) => T;
|
|
1347
1438
|
KeyCryptogram: (value: ImportKeyCryptogram) => T;
|
|
1348
1439
|
DiffieHellmanTr31KeyBlock: (value: ImportDiffieHellmanTr31KeyBlock) => T;
|
|
1440
|
+
As2805KeyCryptogram: (value: ImportAs2805KeyCryptogram) => T;
|
|
1349
1441
|
_: (name: string, value: any) => T;
|
|
1350
1442
|
}
|
|
1351
1443
|
}
|
|
@@ -17,6 +17,7 @@ export declare var DisableDefaultKeyReplicationRegionsInput$: StaticStructureSch
|
|
|
17
17
|
export declare var DisableDefaultKeyReplicationRegionsOutput$: StaticStructureSchema;
|
|
18
18
|
export declare var EnableDefaultKeyReplicationRegionsInput$: StaticStructureSchema;
|
|
19
19
|
export declare var EnableDefaultKeyReplicationRegionsOutput$: StaticStructureSchema;
|
|
20
|
+
export declare var ExportAs2805KeyCryptogram$: StaticStructureSchema;
|
|
20
21
|
export declare var ExportAttributes$: StaticStructureSchema;
|
|
21
22
|
export declare var ExportDiffieHellmanTr31KeyBlock$: StaticStructureSchema;
|
|
22
23
|
export declare var ExportDukptInitialKey$: StaticStructureSchema;
|
|
@@ -39,6 +40,7 @@ export declare var GetParametersForImportInput$: StaticStructureSchema;
|
|
|
39
40
|
export declare var GetParametersForImportOutput$: StaticStructureSchema;
|
|
40
41
|
export declare var GetPublicKeyCertificateInput$: StaticStructureSchema;
|
|
41
42
|
export declare var GetPublicKeyCertificateOutput$: StaticStructureSchema;
|
|
43
|
+
export declare var ImportAs2805KeyCryptogram$: StaticStructureSchema;
|
|
42
44
|
export declare var ImportDiffieHellmanTr31KeyBlock$: StaticStructureSchema;
|
|
43
45
|
export declare var ImportKeyCryptogram$: StaticStructureSchema;
|
|
44
46
|
export declare var ImportKeyInput$: StaticStructureSchema;
|
|
@@ -61,6 +61,7 @@ export declare const KeyUsage: {
|
|
|
61
61
|
readonly TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY";
|
|
62
62
|
readonly TR31_K2_TR34_ASYMMETRIC_KEY: "TR31_K2_TR34_ASYMMETRIC_KEY";
|
|
63
63
|
readonly TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT: "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT";
|
|
64
|
+
readonly TR31_M0_ISO_16609_MAC_KEY: "TR31_M0_ISO_16609_MAC_KEY";
|
|
64
65
|
readonly TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY";
|
|
65
66
|
readonly TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY";
|
|
66
67
|
readonly TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY";
|
|
@@ -106,6 +107,14 @@ export declare const KeyReplicationState: {
|
|
|
106
107
|
};
|
|
107
108
|
export type KeyReplicationState =
|
|
108
109
|
(typeof KeyReplicationState)[keyof typeof KeyReplicationState];
|
|
110
|
+
export declare const As2805KeyVariant: {
|
|
111
|
+
readonly DATA_ENCRYPTION_KEY_VARIANT_22: "DATA_ENCRYPTION_KEY_VARIANT_22";
|
|
112
|
+
readonly MESSAGE_AUTHENTICATION_KEY_VARIANT_24: "MESSAGE_AUTHENTICATION_KEY_VARIANT_24";
|
|
113
|
+
readonly PIN_ENCRYPTION_KEY_VARIANT_28: "PIN_ENCRYPTION_KEY_VARIANT_28";
|
|
114
|
+
readonly TERMINAL_MAJOR_KEY_VARIANT_00: "TERMINAL_MAJOR_KEY_VARIANT_00";
|
|
115
|
+
};
|
|
116
|
+
export type As2805KeyVariant =
|
|
117
|
+
(typeof As2805KeyVariant)[keyof typeof As2805KeyVariant];
|
|
109
118
|
export declare const SymmetricKeyAlgorithm: {
|
|
110
119
|
readonly AES_128: "AES_128";
|
|
111
120
|
readonly AES_192: "AES_192";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
As2805KeyVariant,
|
|
2
3
|
DeriveKeyUsage,
|
|
3
4
|
KeyAlgorithm,
|
|
4
5
|
KeyCheckValueAlgorithm,
|
|
@@ -164,6 +165,10 @@ export interface EnableDefaultKeyReplicationRegionsInput {
|
|
|
164
165
|
export interface EnableDefaultKeyReplicationRegionsOutput {
|
|
165
166
|
EnabledReplicationRegions: string[] | undefined;
|
|
166
167
|
}
|
|
168
|
+
export interface ExportAs2805KeyCryptogram {
|
|
169
|
+
WrappingKeyIdentifier: string | undefined;
|
|
170
|
+
As2805KeyVariant: As2805KeyVariant | undefined;
|
|
171
|
+
}
|
|
167
172
|
export interface ExportDukptInitialKey {
|
|
168
173
|
KeySerialNumber: string | undefined;
|
|
169
174
|
}
|
|
@@ -207,6 +212,7 @@ export interface ExportTr34KeyBlock {
|
|
|
207
212
|
KeyBlockHeaders?: KeyBlockHeaders | undefined;
|
|
208
213
|
}
|
|
209
214
|
export type ExportKeyMaterial =
|
|
215
|
+
| ExportKeyMaterial.As2805KeyCryptogramMember
|
|
210
216
|
| ExportKeyMaterial.DiffieHellmanTr31KeyBlockMember
|
|
211
217
|
| ExportKeyMaterial.KeyCryptogramMember
|
|
212
218
|
| ExportKeyMaterial.Tr31KeyBlockMember
|
|
@@ -218,6 +224,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
218
224
|
Tr34KeyBlock?: never;
|
|
219
225
|
KeyCryptogram?: never;
|
|
220
226
|
DiffieHellmanTr31KeyBlock?: never;
|
|
227
|
+
As2805KeyCryptogram?: never;
|
|
221
228
|
$unknown?: never;
|
|
222
229
|
}
|
|
223
230
|
interface Tr34KeyBlockMember {
|
|
@@ -225,6 +232,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
225
232
|
Tr34KeyBlock: ExportTr34KeyBlock;
|
|
226
233
|
KeyCryptogram?: never;
|
|
227
234
|
DiffieHellmanTr31KeyBlock?: never;
|
|
235
|
+
As2805KeyCryptogram?: never;
|
|
228
236
|
$unknown?: never;
|
|
229
237
|
}
|
|
230
238
|
interface KeyCryptogramMember {
|
|
@@ -232,6 +240,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
232
240
|
Tr34KeyBlock?: never;
|
|
233
241
|
KeyCryptogram: ExportKeyCryptogram;
|
|
234
242
|
DiffieHellmanTr31KeyBlock?: never;
|
|
243
|
+
As2805KeyCryptogram?: never;
|
|
235
244
|
$unknown?: never;
|
|
236
245
|
}
|
|
237
246
|
interface DiffieHellmanTr31KeyBlockMember {
|
|
@@ -239,6 +248,15 @@ export declare namespace ExportKeyMaterial {
|
|
|
239
248
|
Tr34KeyBlock?: never;
|
|
240
249
|
KeyCryptogram?: never;
|
|
241
250
|
DiffieHellmanTr31KeyBlock: ExportDiffieHellmanTr31KeyBlock;
|
|
251
|
+
As2805KeyCryptogram?: never;
|
|
252
|
+
$unknown?: never;
|
|
253
|
+
}
|
|
254
|
+
interface As2805KeyCryptogramMember {
|
|
255
|
+
Tr31KeyBlock?: never;
|
|
256
|
+
Tr34KeyBlock?: never;
|
|
257
|
+
KeyCryptogram?: never;
|
|
258
|
+
DiffieHellmanTr31KeyBlock?: never;
|
|
259
|
+
As2805KeyCryptogram: ExportAs2805KeyCryptogram;
|
|
242
260
|
$unknown?: never;
|
|
243
261
|
}
|
|
244
262
|
interface $UnknownMember {
|
|
@@ -246,6 +264,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
246
264
|
Tr34KeyBlock?: never;
|
|
247
265
|
KeyCryptogram?: never;
|
|
248
266
|
DiffieHellmanTr31KeyBlock?: never;
|
|
267
|
+
As2805KeyCryptogram?: never;
|
|
249
268
|
$unknown: [string, any];
|
|
250
269
|
}
|
|
251
270
|
interface Visitor<T> {
|
|
@@ -253,6 +272,7 @@ export declare namespace ExportKeyMaterial {
|
|
|
253
272
|
Tr34KeyBlock: (value: ExportTr34KeyBlock) => T;
|
|
254
273
|
KeyCryptogram: (value: ExportKeyCryptogram) => T;
|
|
255
274
|
DiffieHellmanTr31KeyBlock: (value: ExportDiffieHellmanTr31KeyBlock) => T;
|
|
275
|
+
As2805KeyCryptogram: (value: ExportAs2805KeyCryptogram) => T;
|
|
256
276
|
_: (name: string, value: any) => T;
|
|
257
277
|
}
|
|
258
278
|
}
|
|
@@ -318,6 +338,14 @@ export interface GetPublicKeyCertificateOutput {
|
|
|
318
338
|
KeyCertificate: string | undefined;
|
|
319
339
|
KeyCertificateChain: string | undefined;
|
|
320
340
|
}
|
|
341
|
+
export interface ImportAs2805KeyCryptogram {
|
|
342
|
+
As2805KeyVariant: As2805KeyVariant | undefined;
|
|
343
|
+
KeyModesOfUse: KeyModesOfUse | undefined;
|
|
344
|
+
KeyAlgorithm: KeyAlgorithm | undefined;
|
|
345
|
+
Exportable: boolean | undefined;
|
|
346
|
+
WrappingKeyIdentifier: string | undefined;
|
|
347
|
+
WrappedKeyCryptogram: string | undefined;
|
|
348
|
+
}
|
|
321
349
|
export interface ImportDiffieHellmanTr31KeyBlock {
|
|
322
350
|
PrivateKeyIdentifier: string | undefined;
|
|
323
351
|
CertificateAuthorityPublicKeyIdentifier: string | undefined;
|
|
@@ -359,6 +387,7 @@ export interface TrustedCertificatePublicKey {
|
|
|
359
387
|
CertificateAuthorityPublicKeyIdentifier: string | undefined;
|
|
360
388
|
}
|
|
361
389
|
export type ImportKeyMaterial =
|
|
390
|
+
| ImportKeyMaterial.As2805KeyCryptogramMember
|
|
362
391
|
| ImportKeyMaterial.DiffieHellmanTr31KeyBlockMember
|
|
363
392
|
| ImportKeyMaterial.KeyCryptogramMember
|
|
364
393
|
| ImportKeyMaterial.RootCertificatePublicKeyMember
|
|
@@ -374,6 +403,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
374
403
|
Tr34KeyBlock?: never;
|
|
375
404
|
KeyCryptogram?: never;
|
|
376
405
|
DiffieHellmanTr31KeyBlock?: never;
|
|
406
|
+
As2805KeyCryptogram?: never;
|
|
377
407
|
$unknown?: never;
|
|
378
408
|
}
|
|
379
409
|
interface TrustedCertificatePublicKeyMember {
|
|
@@ -383,6 +413,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
383
413
|
Tr34KeyBlock?: never;
|
|
384
414
|
KeyCryptogram?: never;
|
|
385
415
|
DiffieHellmanTr31KeyBlock?: never;
|
|
416
|
+
As2805KeyCryptogram?: never;
|
|
386
417
|
$unknown?: never;
|
|
387
418
|
}
|
|
388
419
|
interface Tr31KeyBlockMember {
|
|
@@ -392,6 +423,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
392
423
|
Tr34KeyBlock?: never;
|
|
393
424
|
KeyCryptogram?: never;
|
|
394
425
|
DiffieHellmanTr31KeyBlock?: never;
|
|
426
|
+
As2805KeyCryptogram?: never;
|
|
395
427
|
$unknown?: never;
|
|
396
428
|
}
|
|
397
429
|
interface Tr34KeyBlockMember {
|
|
@@ -401,6 +433,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
401
433
|
Tr34KeyBlock: ImportTr34KeyBlock;
|
|
402
434
|
KeyCryptogram?: never;
|
|
403
435
|
DiffieHellmanTr31KeyBlock?: never;
|
|
436
|
+
As2805KeyCryptogram?: never;
|
|
404
437
|
$unknown?: never;
|
|
405
438
|
}
|
|
406
439
|
interface KeyCryptogramMember {
|
|
@@ -410,6 +443,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
410
443
|
Tr34KeyBlock?: never;
|
|
411
444
|
KeyCryptogram: ImportKeyCryptogram;
|
|
412
445
|
DiffieHellmanTr31KeyBlock?: never;
|
|
446
|
+
As2805KeyCryptogram?: never;
|
|
413
447
|
$unknown?: never;
|
|
414
448
|
}
|
|
415
449
|
interface DiffieHellmanTr31KeyBlockMember {
|
|
@@ -419,6 +453,17 @@ export declare namespace ImportKeyMaterial {
|
|
|
419
453
|
Tr34KeyBlock?: never;
|
|
420
454
|
KeyCryptogram?: never;
|
|
421
455
|
DiffieHellmanTr31KeyBlock: ImportDiffieHellmanTr31KeyBlock;
|
|
456
|
+
As2805KeyCryptogram?: never;
|
|
457
|
+
$unknown?: never;
|
|
458
|
+
}
|
|
459
|
+
interface As2805KeyCryptogramMember {
|
|
460
|
+
RootCertificatePublicKey?: never;
|
|
461
|
+
TrustedCertificatePublicKey?: never;
|
|
462
|
+
Tr31KeyBlock?: never;
|
|
463
|
+
Tr34KeyBlock?: never;
|
|
464
|
+
KeyCryptogram?: never;
|
|
465
|
+
DiffieHellmanTr31KeyBlock?: never;
|
|
466
|
+
As2805KeyCryptogram: ImportAs2805KeyCryptogram;
|
|
422
467
|
$unknown?: never;
|
|
423
468
|
}
|
|
424
469
|
interface $UnknownMember {
|
|
@@ -428,6 +473,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
428
473
|
Tr34KeyBlock?: never;
|
|
429
474
|
KeyCryptogram?: never;
|
|
430
475
|
DiffieHellmanTr31KeyBlock?: never;
|
|
476
|
+
As2805KeyCryptogram?: never;
|
|
431
477
|
$unknown: [string, any];
|
|
432
478
|
}
|
|
433
479
|
interface Visitor<T> {
|
|
@@ -437,6 +483,7 @@ export declare namespace ImportKeyMaterial {
|
|
|
437
483
|
Tr34KeyBlock: (value: ImportTr34KeyBlock) => T;
|
|
438
484
|
KeyCryptogram: (value: ImportKeyCryptogram) => T;
|
|
439
485
|
DiffieHellmanTr31KeyBlock: (value: ImportDiffieHellmanTr31KeyBlock) => T;
|
|
486
|
+
As2805KeyCryptogram: (value: ImportAs2805KeyCryptogram) => T;
|
|
440
487
|
_: (name: string, value: any) => T;
|
|
441
488
|
}
|
|
442
489
|
}
|
|
@@ -21,6 +21,7 @@ export declare var DisableDefaultKeyReplicationRegionsInput$: StaticStructureSch
|
|
|
21
21
|
export declare var DisableDefaultKeyReplicationRegionsOutput$: StaticStructureSchema;
|
|
22
22
|
export declare var EnableDefaultKeyReplicationRegionsInput$: StaticStructureSchema;
|
|
23
23
|
export declare var EnableDefaultKeyReplicationRegionsOutput$: StaticStructureSchema;
|
|
24
|
+
export declare var ExportAs2805KeyCryptogram$: StaticStructureSchema;
|
|
24
25
|
export declare var ExportAttributes$: StaticStructureSchema;
|
|
25
26
|
export declare var ExportDiffieHellmanTr31KeyBlock$: StaticStructureSchema;
|
|
26
27
|
export declare var ExportDukptInitialKey$: StaticStructureSchema;
|
|
@@ -43,6 +44,7 @@ export declare var GetParametersForImportInput$: StaticStructureSchema;
|
|
|
43
44
|
export declare var GetParametersForImportOutput$: StaticStructureSchema;
|
|
44
45
|
export declare var GetPublicKeyCertificateInput$: StaticStructureSchema;
|
|
45
46
|
export declare var GetPublicKeyCertificateOutput$: StaticStructureSchema;
|
|
47
|
+
export declare var ImportAs2805KeyCryptogram$: StaticStructureSchema;
|
|
46
48
|
export declare var ImportDiffieHellmanTr31KeyBlock$: StaticStructureSchema;
|
|
47
49
|
export declare var ImportKeyCryptogram$: StaticStructureSchema;
|
|
48
50
|
export declare var ImportKeyInput$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-payment-cryptography",
|
|
3
3
|
"description": "AWS SDK for JavaScript Payment Cryptography Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.954.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.954.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.954.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.953.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.954.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
31
31
|
"@aws-sdk/types": "3.953.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.953.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.954.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.4",
|
|
36
36
|
"@smithy/core": "^3.19.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.7",
|
|
38
38
|
"@smithy/hash-node": "^4.2.6",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.6",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.6",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.0",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.16",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.7",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.6",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.6",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.6",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.6",
|
|
48
|
-
"@smithy/smithy-client": "^4.10.
|
|
48
|
+
"@smithy/smithy-client": "^4.10.1",
|
|
49
49
|
"@smithy/types": "^4.10.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.6",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.18",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.6",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.6",
|
|
58
58
|
"@smithy/util-retry": "^4.2.6",
|