@aws-sdk/client-payment-cryptography 3.936.0 → 3.940.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.
@@ -1,3 +1,111 @@
1
+ export declare const DeriveKeyUsage: {
2
+ readonly TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY";
3
+ readonly TR31_C0_CARD_VERIFICATION_KEY: "TR31_C0_CARD_VERIFICATION_KEY";
4
+ readonly TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY: "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY";
5
+ readonly TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS: "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS";
6
+ readonly TR31_E1_EMV_MKEY_CONFIDENTIALITY: "TR31_E1_EMV_MKEY_CONFIDENTIALITY";
7
+ readonly TR31_E2_EMV_MKEY_INTEGRITY: "TR31_E2_EMV_MKEY_INTEGRITY";
8
+ readonly TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS: "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS";
9
+ readonly TR31_E5_EMV_MKEY_CARD_PERSONALIZATION: "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION";
10
+ readonly TR31_E6_EMV_MKEY_OTHER: "TR31_E6_EMV_MKEY_OTHER";
11
+ readonly TR31_K0_KEY_ENCRYPTION_KEY: "TR31_K0_KEY_ENCRYPTION_KEY";
12
+ readonly TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY";
13
+ readonly TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY";
14
+ readonly TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY";
15
+ readonly TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY";
16
+ readonly TR31_M7_HMAC_KEY: "TR31_M7_HMAC_KEY";
17
+ readonly TR31_P0_PIN_ENCRYPTION_KEY: "TR31_P0_PIN_ENCRYPTION_KEY";
18
+ readonly TR31_P1_PIN_GENERATION_KEY: "TR31_P1_PIN_GENERATION_KEY";
19
+ readonly TR31_V1_IBM3624_PIN_VERIFICATION_KEY: "TR31_V1_IBM3624_PIN_VERIFICATION_KEY";
20
+ readonly TR31_V2_VISA_PIN_VERIFICATION_KEY: "TR31_V2_VISA_PIN_VERIFICATION_KEY";
21
+ };
22
+ export type DeriveKeyUsage =
23
+ (typeof DeriveKeyUsage)[keyof typeof DeriveKeyUsage];
24
+ export declare const KeyAlgorithm: {
25
+ readonly AES_128: "AES_128";
26
+ readonly AES_192: "AES_192";
27
+ readonly AES_256: "AES_256";
28
+ readonly ECC_NIST_P256: "ECC_NIST_P256";
29
+ readonly ECC_NIST_P384: "ECC_NIST_P384";
30
+ readonly ECC_NIST_P521: "ECC_NIST_P521";
31
+ readonly HMAC_SHA224: "HMAC_SHA224";
32
+ readonly HMAC_SHA256: "HMAC_SHA256";
33
+ readonly HMAC_SHA384: "HMAC_SHA384";
34
+ readonly HMAC_SHA512: "HMAC_SHA512";
35
+ readonly RSA_2048: "RSA_2048";
36
+ readonly RSA_3072: "RSA_3072";
37
+ readonly RSA_4096: "RSA_4096";
38
+ readonly TDES_2KEY: "TDES_2KEY";
39
+ readonly TDES_3KEY: "TDES_3KEY";
40
+ };
41
+ export type KeyAlgorithm = (typeof KeyAlgorithm)[keyof typeof KeyAlgorithm];
42
+ export declare const KeyClass: {
43
+ readonly ASYMMETRIC_KEY_PAIR: "ASYMMETRIC_KEY_PAIR";
44
+ readonly PRIVATE_KEY: "PRIVATE_KEY";
45
+ readonly PUBLIC_KEY: "PUBLIC_KEY";
46
+ readonly SYMMETRIC_KEY: "SYMMETRIC_KEY";
47
+ };
48
+ export type KeyClass = (typeof KeyClass)[keyof typeof KeyClass];
49
+ export declare const KeyUsage: {
50
+ readonly TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY";
51
+ readonly TR31_C0_CARD_VERIFICATION_KEY: "TR31_C0_CARD_VERIFICATION_KEY";
52
+ readonly TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY: "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY";
53
+ readonly TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION: "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION";
54
+ readonly TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS: "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS";
55
+ readonly TR31_E1_EMV_MKEY_CONFIDENTIALITY: "TR31_E1_EMV_MKEY_CONFIDENTIALITY";
56
+ readonly TR31_E2_EMV_MKEY_INTEGRITY: "TR31_E2_EMV_MKEY_INTEGRITY";
57
+ readonly TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS: "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS";
58
+ readonly TR31_E5_EMV_MKEY_CARD_PERSONALIZATION: "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION";
59
+ readonly TR31_E6_EMV_MKEY_OTHER: "TR31_E6_EMV_MKEY_OTHER";
60
+ readonly TR31_K0_KEY_ENCRYPTION_KEY: "TR31_K0_KEY_ENCRYPTION_KEY";
61
+ readonly TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY";
62
+ readonly TR31_K2_TR34_ASYMMETRIC_KEY: "TR31_K2_TR34_ASYMMETRIC_KEY";
63
+ readonly TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT: "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT";
64
+ readonly TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY";
65
+ readonly TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY";
66
+ readonly TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY";
67
+ readonly TR31_M7_HMAC_KEY: "TR31_M7_HMAC_KEY";
68
+ readonly TR31_P0_PIN_ENCRYPTION_KEY: "TR31_P0_PIN_ENCRYPTION_KEY";
69
+ readonly TR31_P1_PIN_GENERATION_KEY: "TR31_P1_PIN_GENERATION_KEY";
70
+ readonly TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE: "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE";
71
+ readonly TR31_V1_IBM3624_PIN_VERIFICATION_KEY: "TR31_V1_IBM3624_PIN_VERIFICATION_KEY";
72
+ readonly TR31_V2_VISA_PIN_VERIFICATION_KEY: "TR31_V2_VISA_PIN_VERIFICATION_KEY";
73
+ };
74
+ export type KeyUsage = (typeof KeyUsage)[keyof typeof KeyUsage];
75
+ export declare const KeyCheckValueAlgorithm: {
76
+ readonly ANSI_X9_24: "ANSI_X9_24";
77
+ readonly CMAC: "CMAC";
78
+ readonly HMAC: "HMAC";
79
+ readonly SHA_1: "SHA_1";
80
+ };
81
+ export type KeyCheckValueAlgorithm =
82
+ (typeof KeyCheckValueAlgorithm)[keyof typeof KeyCheckValueAlgorithm];
83
+ export declare const KeyOrigin: {
84
+ readonly AWS_PAYMENT_CRYPTOGRAPHY: "AWS_PAYMENT_CRYPTOGRAPHY";
85
+ readonly EXTERNAL: "EXTERNAL";
86
+ };
87
+ export type KeyOrigin = (typeof KeyOrigin)[keyof typeof KeyOrigin];
88
+ export declare const KeyState: {
89
+ readonly CREATE_COMPLETE: "CREATE_COMPLETE";
90
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
91
+ readonly DELETE_COMPLETE: "DELETE_COMPLETE";
92
+ readonly DELETE_PENDING: "DELETE_PENDING";
93
+ };
94
+ export type KeyState = (typeof KeyState)[keyof typeof KeyState];
95
+ export declare const MultiRegionKeyType: {
96
+ readonly PRIMARY: "PRIMARY";
97
+ readonly REPLICA: "REPLICA";
98
+ };
99
+ export type MultiRegionKeyType =
100
+ (typeof MultiRegionKeyType)[keyof typeof MultiRegionKeyType];
101
+ export declare const KeyReplicationState: {
102
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
103
+ readonly FAILED: "FAILED";
104
+ readonly IN_PROGRESS: "IN_PROGRESS";
105
+ readonly SYNCHRONIZED: "SYNCHRONIZED";
106
+ };
107
+ export type KeyReplicationState =
108
+ (typeof KeyReplicationState)[keyof typeof KeyReplicationState];
1
109
  export declare const SymmetricKeyAlgorithm: {
2
110
  readonly AES_128: "AES_128";
3
111
  readonly AES_192: "AES_192";
@@ -11,6 +119,13 @@ export declare const SymmetricKeyAlgorithm: {
11
119
  };
12
120
  export type SymmetricKeyAlgorithm =
13
121
  (typeof SymmetricKeyAlgorithm)[keyof typeof SymmetricKeyAlgorithm];
122
+ export declare const KeyExportability: {
123
+ readonly EXPORTABLE: "EXPORTABLE";
124
+ readonly NON_EXPORTABLE: "NON_EXPORTABLE";
125
+ readonly SENSITIVE: "SENSITIVE";
126
+ };
127
+ export type KeyExportability =
128
+ (typeof KeyExportability)[keyof typeof KeyExportability];
14
129
  export declare const KeyDerivationFunction: {
15
130
  readonly ANSI_X963: "ANSI_X963";
16
131
  readonly NIST_SP800: "NIST_SP800";
@@ -24,3 +139,38 @@ export declare const KeyDerivationHashAlgorithm: {
24
139
  };
25
140
  export type KeyDerivationHashAlgorithm =
26
141
  (typeof KeyDerivationHashAlgorithm)[keyof typeof KeyDerivationHashAlgorithm];
142
+ export declare const WrappingKeySpec: {
143
+ readonly RSA_OAEP_SHA_256: "RSA_OAEP_SHA_256";
144
+ readonly RSA_OAEP_SHA_512: "RSA_OAEP_SHA_512";
145
+ };
146
+ export type WrappingKeySpec =
147
+ (typeof WrappingKeySpec)[keyof typeof WrappingKeySpec];
148
+ export declare const Tr34KeyBlockFormat: {
149
+ readonly X9_TR34_2012: "X9_TR34_2012";
150
+ };
151
+ export type Tr34KeyBlockFormat =
152
+ (typeof Tr34KeyBlockFormat)[keyof typeof Tr34KeyBlockFormat];
153
+ export declare const WrappedKeyMaterialFormat: {
154
+ readonly KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM";
155
+ readonly TR31_KEY_BLOCK: "TR31_KEY_BLOCK";
156
+ readonly TR34_KEY_BLOCK: "TR34_KEY_BLOCK";
157
+ };
158
+ export type WrappedKeyMaterialFormat =
159
+ (typeof WrappedKeyMaterialFormat)[keyof typeof WrappedKeyMaterialFormat];
160
+ export declare const SigningAlgorithmType: {
161
+ readonly SHA224: "SHA224";
162
+ readonly SHA256: "SHA256";
163
+ readonly SHA384: "SHA384";
164
+ readonly SHA512: "SHA512";
165
+ };
166
+ export type SigningAlgorithmType =
167
+ (typeof SigningAlgorithmType)[keyof typeof SigningAlgorithmType];
168
+ export declare const KeyMaterialType: {
169
+ readonly KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM";
170
+ readonly ROOT_PUBLIC_KEY_CERTIFICATE: "ROOT_PUBLIC_KEY_CERTIFICATE";
171
+ readonly TR31_KEY_BLOCK: "TR31_KEY_BLOCK";
172
+ readonly TR34_KEY_BLOCK: "TR34_KEY_BLOCK";
173
+ readonly TRUSTED_PUBLIC_KEY_CERTIFICATE: "TRUSTED_PUBLIC_KEY_CERTIFICATE";
174
+ };
175
+ export type KeyMaterialType =
176
+ (typeof KeyMaterialType)[keyof typeof KeyMaterialType];
@@ -1,60 +1,27 @@
1
1
  import {
2
+ DeriveKeyUsage,
3
+ KeyAlgorithm,
4
+ KeyCheckValueAlgorithm,
5
+ KeyClass,
2
6
  KeyDerivationFunction,
3
7
  KeyDerivationHashAlgorithm,
8
+ KeyExportability,
9
+ KeyMaterialType,
10
+ KeyOrigin,
11
+ KeyReplicationState,
12
+ KeyState,
13
+ KeyUsage,
14
+ MultiRegionKeyType,
15
+ SigningAlgorithmType,
4
16
  SymmetricKeyAlgorithm,
17
+ Tr34KeyBlockFormat,
18
+ WrappedKeyMaterialFormat,
19
+ WrappingKeySpec,
5
20
  } from "./enums";
6
21
  export interface AddKeyReplicationRegionsInput {
7
22
  KeyIdentifier: string | undefined;
8
23
  ReplicationRegions: string[] | undefined;
9
24
  }
10
- export declare const DeriveKeyUsage: {
11
- readonly TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY";
12
- readonly TR31_C0_CARD_VERIFICATION_KEY: "TR31_C0_CARD_VERIFICATION_KEY";
13
- readonly TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY: "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY";
14
- readonly TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS: "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS";
15
- readonly TR31_E1_EMV_MKEY_CONFIDENTIALITY: "TR31_E1_EMV_MKEY_CONFIDENTIALITY";
16
- readonly TR31_E2_EMV_MKEY_INTEGRITY: "TR31_E2_EMV_MKEY_INTEGRITY";
17
- readonly TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS: "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS";
18
- readonly TR31_E5_EMV_MKEY_CARD_PERSONALIZATION: "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION";
19
- readonly TR31_E6_EMV_MKEY_OTHER: "TR31_E6_EMV_MKEY_OTHER";
20
- readonly TR31_K0_KEY_ENCRYPTION_KEY: "TR31_K0_KEY_ENCRYPTION_KEY";
21
- readonly TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY";
22
- readonly TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY";
23
- readonly TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY";
24
- readonly TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY";
25
- readonly TR31_M7_HMAC_KEY: "TR31_M7_HMAC_KEY";
26
- readonly TR31_P0_PIN_ENCRYPTION_KEY: "TR31_P0_PIN_ENCRYPTION_KEY";
27
- readonly TR31_P1_PIN_GENERATION_KEY: "TR31_P1_PIN_GENERATION_KEY";
28
- readonly TR31_V1_IBM3624_PIN_VERIFICATION_KEY: "TR31_V1_IBM3624_PIN_VERIFICATION_KEY";
29
- readonly TR31_V2_VISA_PIN_VERIFICATION_KEY: "TR31_V2_VISA_PIN_VERIFICATION_KEY";
30
- };
31
- export type DeriveKeyUsage =
32
- (typeof DeriveKeyUsage)[keyof typeof DeriveKeyUsage];
33
- export declare const KeyAlgorithm: {
34
- readonly AES_128: "AES_128";
35
- readonly AES_192: "AES_192";
36
- readonly AES_256: "AES_256";
37
- readonly ECC_NIST_P256: "ECC_NIST_P256";
38
- readonly ECC_NIST_P384: "ECC_NIST_P384";
39
- readonly ECC_NIST_P521: "ECC_NIST_P521";
40
- readonly HMAC_SHA224: "HMAC_SHA224";
41
- readonly HMAC_SHA256: "HMAC_SHA256";
42
- readonly HMAC_SHA384: "HMAC_SHA384";
43
- readonly HMAC_SHA512: "HMAC_SHA512";
44
- readonly RSA_2048: "RSA_2048";
45
- readonly RSA_3072: "RSA_3072";
46
- readonly RSA_4096: "RSA_4096";
47
- readonly TDES_2KEY: "TDES_2KEY";
48
- readonly TDES_3KEY: "TDES_3KEY";
49
- };
50
- export type KeyAlgorithm = (typeof KeyAlgorithm)[keyof typeof KeyAlgorithm];
51
- export declare const KeyClass: {
52
- readonly ASYMMETRIC_KEY_PAIR: "ASYMMETRIC_KEY_PAIR";
53
- readonly PRIVATE_KEY: "PRIVATE_KEY";
54
- readonly PUBLIC_KEY: "PUBLIC_KEY";
55
- readonly SYMMETRIC_KEY: "SYMMETRIC_KEY";
56
- };
57
- export type KeyClass = (typeof KeyClass)[keyof typeof KeyClass];
58
25
  export interface KeyModesOfUse {
59
26
  Encrypt?: boolean | undefined;
60
27
  Decrypt?: boolean | undefined;
@@ -66,72 +33,12 @@ export interface KeyModesOfUse {
66
33
  DeriveKey?: boolean | undefined;
67
34
  NoRestrictions?: boolean | undefined;
68
35
  }
69
- export declare const KeyUsage: {
70
- readonly TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY";
71
- readonly TR31_C0_CARD_VERIFICATION_KEY: "TR31_C0_CARD_VERIFICATION_KEY";
72
- readonly TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY: "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY";
73
- readonly TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION: "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION";
74
- readonly TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS: "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS";
75
- readonly TR31_E1_EMV_MKEY_CONFIDENTIALITY: "TR31_E1_EMV_MKEY_CONFIDENTIALITY";
76
- readonly TR31_E2_EMV_MKEY_INTEGRITY: "TR31_E2_EMV_MKEY_INTEGRITY";
77
- readonly TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS: "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS";
78
- readonly TR31_E5_EMV_MKEY_CARD_PERSONALIZATION: "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION";
79
- readonly TR31_E6_EMV_MKEY_OTHER: "TR31_E6_EMV_MKEY_OTHER";
80
- readonly TR31_K0_KEY_ENCRYPTION_KEY: "TR31_K0_KEY_ENCRYPTION_KEY";
81
- readonly TR31_K1_KEY_BLOCK_PROTECTION_KEY: "TR31_K1_KEY_BLOCK_PROTECTION_KEY";
82
- readonly TR31_K2_TR34_ASYMMETRIC_KEY: "TR31_K2_TR34_ASYMMETRIC_KEY";
83
- readonly TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT: "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT";
84
- readonly TR31_M1_ISO_9797_1_MAC_KEY: "TR31_M1_ISO_9797_1_MAC_KEY";
85
- readonly TR31_M3_ISO_9797_3_MAC_KEY: "TR31_M3_ISO_9797_3_MAC_KEY";
86
- readonly TR31_M6_ISO_9797_5_CMAC_KEY: "TR31_M6_ISO_9797_5_CMAC_KEY";
87
- readonly TR31_M7_HMAC_KEY: "TR31_M7_HMAC_KEY";
88
- readonly TR31_P0_PIN_ENCRYPTION_KEY: "TR31_P0_PIN_ENCRYPTION_KEY";
89
- readonly TR31_P1_PIN_GENERATION_KEY: "TR31_P1_PIN_GENERATION_KEY";
90
- readonly TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE: "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE";
91
- readonly TR31_V1_IBM3624_PIN_VERIFICATION_KEY: "TR31_V1_IBM3624_PIN_VERIFICATION_KEY";
92
- readonly TR31_V2_VISA_PIN_VERIFICATION_KEY: "TR31_V2_VISA_PIN_VERIFICATION_KEY";
93
- };
94
- export type KeyUsage = (typeof KeyUsage)[keyof typeof KeyUsage];
95
36
  export interface KeyAttributes {
96
37
  KeyUsage: KeyUsage | undefined;
97
38
  KeyClass: KeyClass | undefined;
98
39
  KeyAlgorithm: KeyAlgorithm | undefined;
99
40
  KeyModesOfUse: KeyModesOfUse | undefined;
100
41
  }
101
- export declare const KeyCheckValueAlgorithm: {
102
- readonly ANSI_X9_24: "ANSI_X9_24";
103
- readonly CMAC: "CMAC";
104
- readonly HMAC: "HMAC";
105
- readonly SHA_1: "SHA_1";
106
- };
107
- export type KeyCheckValueAlgorithm =
108
- (typeof KeyCheckValueAlgorithm)[keyof typeof KeyCheckValueAlgorithm];
109
- export declare const KeyOrigin: {
110
- readonly AWS_PAYMENT_CRYPTOGRAPHY: "AWS_PAYMENT_CRYPTOGRAPHY";
111
- readonly EXTERNAL: "EXTERNAL";
112
- };
113
- export type KeyOrigin = (typeof KeyOrigin)[keyof typeof KeyOrigin];
114
- export declare const KeyState: {
115
- readonly CREATE_COMPLETE: "CREATE_COMPLETE";
116
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
117
- readonly DELETE_COMPLETE: "DELETE_COMPLETE";
118
- readonly DELETE_PENDING: "DELETE_PENDING";
119
- };
120
- export type KeyState = (typeof KeyState)[keyof typeof KeyState];
121
- export declare const MultiRegionKeyType: {
122
- readonly PRIMARY: "PRIMARY";
123
- readonly REPLICA: "REPLICA";
124
- };
125
- export type MultiRegionKeyType =
126
- (typeof MultiRegionKeyType)[keyof typeof MultiRegionKeyType];
127
- export declare const KeyReplicationState: {
128
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
129
- readonly FAILED: "FAILED";
130
- readonly IN_PROGRESS: "IN_PROGRESS";
131
- readonly SYNCHRONIZED: "SYNCHRONIZED";
132
- };
133
- export type KeyReplicationState =
134
- (typeof KeyReplicationState)[keyof typeof KeyReplicationState];
135
42
  export interface ReplicationStatusType {
136
43
  Status: KeyReplicationState | undefined;
137
44
  StatusMessage?: string | undefined;
@@ -264,13 +171,6 @@ export interface ExportAttributes {
264
171
  ExportDukptInitialKey?: ExportDukptInitialKey | undefined;
265
172
  KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
266
173
  }
267
- export declare const KeyExportability: {
268
- readonly EXPORTABLE: "EXPORTABLE";
269
- readonly NON_EXPORTABLE: "NON_EXPORTABLE";
270
- readonly SENSITIVE: "SENSITIVE";
271
- };
272
- export type KeyExportability =
273
- (typeof KeyExportability)[keyof typeof KeyExportability];
274
174
  export interface KeyBlockHeaders {
275
175
  KeyModesOfUse?: KeyModesOfUse | undefined;
276
176
  KeyExportability?: KeyExportability | undefined;
@@ -287,12 +187,6 @@ export interface ExportDiffieHellmanTr31KeyBlock {
287
187
  DerivationData: DiffieHellmanDerivationData | undefined;
288
188
  KeyBlockHeaders?: KeyBlockHeaders | undefined;
289
189
  }
290
- export declare const WrappingKeySpec: {
291
- readonly RSA_OAEP_SHA_256: "RSA_OAEP_SHA_256";
292
- readonly RSA_OAEP_SHA_512: "RSA_OAEP_SHA_512";
293
- };
294
- export type WrappingKeySpec =
295
- (typeof WrappingKeySpec)[keyof typeof WrappingKeySpec];
296
190
  export interface ExportKeyCryptogram {
297
191
  CertificateAuthorityPublicKeyIdentifier: string | undefined;
298
192
  WrappingKeyCertificate: string | undefined;
@@ -302,11 +196,6 @@ export interface ExportTr31KeyBlock {
302
196
  WrappingKeyIdentifier: string | undefined;
303
197
  KeyBlockHeaders?: KeyBlockHeaders | undefined;
304
198
  }
305
- export declare const Tr34KeyBlockFormat: {
306
- readonly X9_TR34_2012: "X9_TR34_2012";
307
- };
308
- export type Tr34KeyBlockFormat =
309
- (typeof Tr34KeyBlockFormat)[keyof typeof Tr34KeyBlockFormat];
310
199
  export interface ExportTr34KeyBlock {
311
200
  CertificateAuthorityPublicKeyIdentifier: string | undefined;
312
201
  WrappingKeyCertificate: string | undefined;
@@ -372,13 +261,6 @@ export interface ExportKeyInput {
372
261
  ExportKeyIdentifier: string | undefined;
373
262
  ExportAttributes?: ExportAttributes | undefined;
374
263
  }
375
- export declare const WrappedKeyMaterialFormat: {
376
- readonly KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM";
377
- readonly TR31_KEY_BLOCK: "TR31_KEY_BLOCK";
378
- readonly TR34_KEY_BLOCK: "TR34_KEY_BLOCK";
379
- };
380
- export type WrappedKeyMaterialFormat =
381
- (typeof WrappedKeyMaterialFormat)[keyof typeof WrappedKeyMaterialFormat];
382
264
  export interface WrappedKey {
383
265
  WrappingKeyArn: string | undefined;
384
266
  WrappedKeyMaterialFormat: WrappedKeyMaterialFormat | undefined;
@@ -389,14 +271,6 @@ export interface WrappedKey {
389
271
  export interface ExportKeyOutput {
390
272
  WrappedKey?: WrappedKey | undefined;
391
273
  }
392
- export declare const SigningAlgorithmType: {
393
- readonly SHA224: "SHA224";
394
- readonly SHA256: "SHA256";
395
- readonly SHA384: "SHA384";
396
- readonly SHA512: "SHA512";
397
- };
398
- export type SigningAlgorithmType =
399
- (typeof SigningAlgorithmType)[keyof typeof SigningAlgorithmType];
400
274
  export interface GetCertificateSigningRequestInput {
401
275
  KeyIdentifier: string | undefined;
402
276
  SigningAlgorithm: SigningAlgorithmType | undefined;
@@ -415,15 +289,6 @@ export interface GetKeyInput {
415
289
  export interface GetKeyOutput {
416
290
  Key: Key | undefined;
417
291
  }
418
- export declare const KeyMaterialType: {
419
- readonly KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM";
420
- readonly ROOT_PUBLIC_KEY_CERTIFICATE: "ROOT_PUBLIC_KEY_CERTIFICATE";
421
- readonly TR31_KEY_BLOCK: "TR31_KEY_BLOCK";
422
- readonly TR34_KEY_BLOCK: "TR34_KEY_BLOCK";
423
- readonly TRUSTED_PUBLIC_KEY_CERTIFICATE: "TRUSTED_PUBLIC_KEY_CERTIFICATE";
424
- };
425
- export type KeyMaterialType =
426
- (typeof KeyMaterialType)[keyof typeof KeyMaterialType];
427
292
  export interface GetParametersForExportInput {
428
293
  KeyMaterialType: KeyMaterialType | undefined;
429
294
  SigningKeyAlgorithm: KeyAlgorithm | undefined;
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.936.0",
4
+ "version": "3.940.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",