@aws-sdk/client-payment-cryptography-data 3.533.0 → 3.535.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-types/PaymentCryptographyData.d.ts +1 -1
- package/dist-types/PaymentCryptographyDataClient.d.ts +1 -1
- package/dist-types/commands/DecryptDataCommand.d.ts +2 -1
- package/dist-types/commands/EncryptDataCommand.d.ts +2 -1
- package/dist-types/commands/GenerateCardValidationDataCommand.d.ts +2 -1
- package/dist-types/commands/GenerateMacCommand.d.ts +2 -1
- package/dist-types/commands/GeneratePinDataCommand.d.ts +2 -1
- package/dist-types/commands/ReEncryptDataCommand.d.ts +2 -1
- package/dist-types/commands/TranslatePinDataCommand.d.ts +2 -1
- package/dist-types/commands/VerifyAuthRequestCryptogramCommand.d.ts +2 -1
- package/dist-types/commands/VerifyCardValidationDataCommand.d.ts +2 -1
- package/dist-types/commands/VerifyMacCommand.d.ts +2 -1
- package/dist-types/commands/VerifyPinDataCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +285 -285
- package/dist-types/ts3.4/commands/DecryptDataCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EncryptDataCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GenerateCardValidationDataCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GeneratePinDataCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ReEncryptDataCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TranslatePinDataCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/VerifyAuthRequestCryptogramCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/VerifyCardValidationDataCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/VerifyPinDataCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { PaymentCryptographyDataServiceException as __BaseException } from "./PaymentCryptographyDataServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -14,29 +14,29 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* @public
|
|
18
17
|
* <p>Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.</p>
|
|
18
|
+
* @public
|
|
19
19
|
*/
|
|
20
20
|
export interface AmexCardSecurityCodeVersion1 {
|
|
21
21
|
/**
|
|
22
|
-
* @public
|
|
23
22
|
* <p>The expiry date of a payment card.</p>
|
|
23
|
+
* @public
|
|
24
24
|
*/
|
|
25
25
|
CardExpiryDate: string | undefined;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* @public
|
|
29
28
|
* <p>Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.</p>
|
|
29
|
+
* @public
|
|
30
30
|
*/
|
|
31
31
|
export interface AmexCardSecurityCodeVersion2 {
|
|
32
32
|
/**
|
|
33
|
-
* @public
|
|
34
33
|
* <p>The expiry date of a payment card.</p>
|
|
34
|
+
* @public
|
|
35
35
|
*/
|
|
36
36
|
CardExpiryDate: string | undefined;
|
|
37
37
|
/**
|
|
38
|
-
* @public
|
|
39
38
|
* <p>The service code of the AMEX payment card. This is different from the Card Security Code (CSC).</p>
|
|
39
|
+
* @public
|
|
40
40
|
*/
|
|
41
41
|
ServiceCode: string | undefined;
|
|
42
42
|
}
|
|
@@ -55,119 +55,119 @@ export declare const PaddingType: {
|
|
|
55
55
|
*/
|
|
56
56
|
export type PaddingType = (typeof PaddingType)[keyof typeof PaddingType];
|
|
57
57
|
/**
|
|
58
|
-
* @public
|
|
59
58
|
* <p>Parameters for plaintext encryption using asymmetric keys.</p>
|
|
59
|
+
* @public
|
|
60
60
|
*/
|
|
61
61
|
export interface AsymmetricEncryptionAttributes {
|
|
62
62
|
/**
|
|
63
|
-
* @public
|
|
64
63
|
* <p>The padding to be included with the data.</p>
|
|
64
|
+
* @public
|
|
65
65
|
*/
|
|
66
66
|
PaddingType?: PaddingType;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* @public
|
|
70
69
|
* <p>Card data parameters that are required to generate a cardholder verification value for the payment card.</p>
|
|
70
|
+
* @public
|
|
71
71
|
*/
|
|
72
72
|
export interface CardHolderVerificationValue {
|
|
73
73
|
/**
|
|
74
|
-
* @public
|
|
75
74
|
* <p>A random number generated by the issuer.</p>
|
|
75
|
+
* @public
|
|
76
76
|
*/
|
|
77
77
|
UnpredictableNumber: string | undefined;
|
|
78
78
|
/**
|
|
79
|
-
* @public
|
|
80
79
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
80
|
+
* @public
|
|
81
81
|
*/
|
|
82
82
|
PanSequenceNumber: string | undefined;
|
|
83
83
|
/**
|
|
84
|
-
* @public
|
|
85
84
|
* <p>The transaction counter value that comes from a point of sale terminal.</p>
|
|
85
|
+
* @public
|
|
86
86
|
*/
|
|
87
87
|
ApplicationTransactionCounter: string | undefined;
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
|
-
* @public
|
|
91
90
|
* <p>Card data parameters that are required to verify CVV (Card Verification Value) for the payment card.</p>
|
|
91
|
+
* @public
|
|
92
92
|
*/
|
|
93
93
|
export interface CardVerificationValue1 {
|
|
94
94
|
/**
|
|
95
|
-
* @public
|
|
96
95
|
* <p>The expiry date of a payment card.</p>
|
|
96
|
+
* @public
|
|
97
97
|
*/
|
|
98
98
|
CardExpiryDate: string | undefined;
|
|
99
99
|
/**
|
|
100
|
-
* @public
|
|
101
100
|
* <p>The service code of the payment card. This is different from Card Security Code (CSC).</p>
|
|
101
|
+
* @public
|
|
102
102
|
*/
|
|
103
103
|
ServiceCode: string | undefined;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
* @public
|
|
107
106
|
* <p>Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.</p>
|
|
107
|
+
* @public
|
|
108
108
|
*/
|
|
109
109
|
export interface CardVerificationValue2 {
|
|
110
110
|
/**
|
|
111
|
-
* @public
|
|
112
111
|
* <p>The expiry date of a payment card.</p>
|
|
112
|
+
* @public
|
|
113
113
|
*/
|
|
114
114
|
CardExpiryDate: string | undefined;
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
* @public
|
|
118
117
|
* <p>Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV).</p>
|
|
118
|
+
* @public
|
|
119
119
|
*/
|
|
120
120
|
export interface DynamicCardVerificationCode {
|
|
121
121
|
/**
|
|
122
|
-
* @public
|
|
123
122
|
* <p>A random number generated by the issuer.</p>
|
|
123
|
+
* @public
|
|
124
124
|
*/
|
|
125
125
|
UnpredictableNumber: string | undefined;
|
|
126
126
|
/**
|
|
127
|
-
* @public
|
|
128
127
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
128
|
+
* @public
|
|
129
129
|
*/
|
|
130
130
|
PanSequenceNumber: string | undefined;
|
|
131
131
|
/**
|
|
132
|
-
* @public
|
|
133
132
|
* <p>The transaction counter value that comes from the terminal.</p>
|
|
133
|
+
* @public
|
|
134
134
|
*/
|
|
135
135
|
ApplicationTransactionCounter: string | undefined;
|
|
136
136
|
/**
|
|
137
|
-
* @public
|
|
138
137
|
* <p>The data on the two tracks of magnetic cards used for financial transactions. This includes the cardholder name, PAN, expiration date, bank ID (BIN) and several other numbers the issuing bank uses to validate the data received.</p>
|
|
138
|
+
* @public
|
|
139
139
|
*/
|
|
140
140
|
TrackData: string | undefined;
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
|
-
* @public
|
|
144
143
|
* <p>Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV).</p>
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
export interface DynamicCardVerificationValue {
|
|
147
147
|
/**
|
|
148
|
-
* @public
|
|
149
148
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
149
|
+
* @public
|
|
150
150
|
*/
|
|
151
151
|
PanSequenceNumber: string | undefined;
|
|
152
152
|
/**
|
|
153
|
-
* @public
|
|
154
153
|
* <p>The expiry date of a payment card.</p>
|
|
154
|
+
* @public
|
|
155
155
|
*/
|
|
156
156
|
CardExpiryDate: string | undefined;
|
|
157
157
|
/**
|
|
158
|
-
* @public
|
|
159
158
|
* <p>The service code of the payment card. This is different from Card Security Code (CSC).</p>
|
|
159
|
+
* @public
|
|
160
160
|
*/
|
|
161
161
|
ServiceCode: string | undefined;
|
|
162
162
|
/**
|
|
163
|
-
* @public
|
|
164
163
|
* <p>The transaction counter value that comes from the terminal.</p>
|
|
164
|
+
* @public
|
|
165
165
|
*/
|
|
166
166
|
ApplicationTransactionCounter: string | undefined;
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* @public
|
|
170
169
|
* <p>Card data parameters that are required to generate Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC).</p>
|
|
170
|
+
* @public
|
|
171
171
|
*/
|
|
172
172
|
export type CardGenerationAttributes = CardGenerationAttributes.AmexCardSecurityCodeVersion1Member | CardGenerationAttributes.AmexCardSecurityCodeVersion2Member | CardGenerationAttributes.CardHolderVerificationValueMember | CardGenerationAttributes.CardVerificationValue1Member | CardGenerationAttributes.CardVerificationValue2Member | CardGenerationAttributes.DynamicCardVerificationCodeMember | CardGenerationAttributes.DynamicCardVerificationValueMember | CardGenerationAttributes.$UnknownMember;
|
|
173
173
|
/**
|
|
@@ -175,8 +175,8 @@ export type CardGenerationAttributes = CardGenerationAttributes.AmexCardSecurity
|
|
|
175
175
|
*/
|
|
176
176
|
export declare namespace CardGenerationAttributes {
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.</p>
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
interface AmexCardSecurityCodeVersion1Member {
|
|
182
182
|
AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1;
|
|
@@ -189,8 +189,8 @@ export declare namespace CardGenerationAttributes {
|
|
|
189
189
|
$unknown?: never;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
|
-
* @public
|
|
193
192
|
* <p>Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.</p>
|
|
193
|
+
* @public
|
|
194
194
|
*/
|
|
195
195
|
interface AmexCardSecurityCodeVersion2Member {
|
|
196
196
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -203,8 +203,8 @@ export declare namespace CardGenerationAttributes {
|
|
|
203
203
|
$unknown?: never;
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
|
-
* @public
|
|
207
206
|
* <p>Card data parameters that are required to generate Card Verification Value (CVV) for the payment card.</p>
|
|
207
|
+
* @public
|
|
208
208
|
*/
|
|
209
209
|
interface CardVerificationValue1Member {
|
|
210
210
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -217,8 +217,8 @@ export declare namespace CardGenerationAttributes {
|
|
|
217
217
|
$unknown?: never;
|
|
218
218
|
}
|
|
219
219
|
/**
|
|
220
|
-
* @public
|
|
221
220
|
* <p>Card data parameters that are required to generate Card Verification Value (CVV2) for the payment card.</p>
|
|
221
|
+
* @public
|
|
222
222
|
*/
|
|
223
223
|
interface CardVerificationValue2Member {
|
|
224
224
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -231,8 +231,8 @@ export declare namespace CardGenerationAttributes {
|
|
|
231
231
|
$unknown?: never;
|
|
232
232
|
}
|
|
233
233
|
/**
|
|
234
|
-
* @public
|
|
235
234
|
* <p>Card data parameters that are required to generate a cardholder verification value for the payment card.</p>
|
|
235
|
+
* @public
|
|
236
236
|
*/
|
|
237
237
|
interface CardHolderVerificationValueMember {
|
|
238
238
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -245,8 +245,8 @@ export declare namespace CardGenerationAttributes {
|
|
|
245
245
|
$unknown?: never;
|
|
246
246
|
}
|
|
247
247
|
/**
|
|
248
|
-
* @public
|
|
249
248
|
* <p>Card data parameters that are required to generate CDynamic Card Verification Code (dCVC) for the payment card.</p>
|
|
249
|
+
* @public
|
|
250
250
|
*/
|
|
251
251
|
interface DynamicCardVerificationCodeMember {
|
|
252
252
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -259,8 +259,8 @@ export declare namespace CardGenerationAttributes {
|
|
|
259
259
|
$unknown?: never;
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
|
-
* @public
|
|
263
262
|
* <p>Card data parameters that are required to generate CDynamic Card Verification Value (dCVV) for the payment card.</p>
|
|
263
|
+
* @public
|
|
264
264
|
*/
|
|
265
265
|
interface DynamicCardVerificationValueMember {
|
|
266
266
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -298,29 +298,29 @@ export declare namespace CardGenerationAttributes {
|
|
|
298
298
|
const visit: <T>(value: CardGenerationAttributes, visitor: Visitor<T>) => T;
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
|
-
* @public
|
|
302
301
|
* <p>Parameters that are required to generate or verify dCVC (Dynamic Card Verification Code).</p>
|
|
302
|
+
* @public
|
|
303
303
|
*/
|
|
304
304
|
export interface DiscoverDynamicCardVerificationCode {
|
|
305
305
|
/**
|
|
306
|
-
* @public
|
|
307
306
|
* <p>The expiry date of a payment card.</p>
|
|
307
|
+
* @public
|
|
308
308
|
*/
|
|
309
309
|
CardExpiryDate: string | undefined;
|
|
310
310
|
/**
|
|
311
|
-
* @public
|
|
312
311
|
* <p>A random number that is generated by the issuer.</p>
|
|
312
|
+
* @public
|
|
313
313
|
*/
|
|
314
314
|
UnpredictableNumber: string | undefined;
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>The transaction counter value that comes from the terminal.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
ApplicationTransactionCounter: string | undefined;
|
|
320
320
|
}
|
|
321
321
|
/**
|
|
322
|
-
* @public
|
|
323
322
|
* <p>Card data parameters that are requried to verify Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC).</p>
|
|
323
|
+
* @public
|
|
324
324
|
*/
|
|
325
325
|
export type CardVerificationAttributes = CardVerificationAttributes.AmexCardSecurityCodeVersion1Member | CardVerificationAttributes.AmexCardSecurityCodeVersion2Member | CardVerificationAttributes.CardHolderVerificationValueMember | CardVerificationAttributes.CardVerificationValue1Member | CardVerificationAttributes.CardVerificationValue2Member | CardVerificationAttributes.DiscoverDynamicCardVerificationCodeMember | CardVerificationAttributes.DynamicCardVerificationCodeMember | CardVerificationAttributes.DynamicCardVerificationValueMember | CardVerificationAttributes.$UnknownMember;
|
|
326
326
|
/**
|
|
@@ -328,8 +328,8 @@ export type CardVerificationAttributes = CardVerificationAttributes.AmexCardSecu
|
|
|
328
328
|
*/
|
|
329
329
|
export declare namespace CardVerificationAttributes {
|
|
330
330
|
/**
|
|
331
|
-
* @public
|
|
332
331
|
* <p>Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.</p>
|
|
332
|
+
* @public
|
|
333
333
|
*/
|
|
334
334
|
interface AmexCardSecurityCodeVersion1Member {
|
|
335
335
|
AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1;
|
|
@@ -343,8 +343,8 @@ export declare namespace CardVerificationAttributes {
|
|
|
343
343
|
$unknown?: never;
|
|
344
344
|
}
|
|
345
345
|
/**
|
|
346
|
-
* @public
|
|
347
346
|
* <p>Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.</p>
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
interface AmexCardSecurityCodeVersion2Member {
|
|
350
350
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -358,8 +358,8 @@ export declare namespace CardVerificationAttributes {
|
|
|
358
358
|
$unknown?: never;
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
|
-
* @public
|
|
362
361
|
* <p>Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.</p>
|
|
362
|
+
* @public
|
|
363
363
|
*/
|
|
364
364
|
interface CardVerificationValue1Member {
|
|
365
365
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -373,8 +373,8 @@ export declare namespace CardVerificationAttributes {
|
|
|
373
373
|
$unknown?: never;
|
|
374
374
|
}
|
|
375
375
|
/**
|
|
376
|
-
* @public
|
|
377
376
|
* <p>Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.</p>
|
|
377
|
+
* @public
|
|
378
378
|
*/
|
|
379
379
|
interface CardVerificationValue2Member {
|
|
380
380
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -388,8 +388,8 @@ export declare namespace CardVerificationAttributes {
|
|
|
388
388
|
$unknown?: never;
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
|
-
* @public
|
|
392
391
|
* <p>Card data parameters that are required to verify a cardholder verification value for the payment card.</p>
|
|
392
|
+
* @public
|
|
393
393
|
*/
|
|
394
394
|
interface CardHolderVerificationValueMember {
|
|
395
395
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -403,8 +403,8 @@ export declare namespace CardVerificationAttributes {
|
|
|
403
403
|
$unknown?: never;
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
|
-
* @public
|
|
407
406
|
* <p>Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.</p>
|
|
407
|
+
* @public
|
|
408
408
|
*/
|
|
409
409
|
interface DynamicCardVerificationCodeMember {
|
|
410
410
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -418,8 +418,8 @@ export declare namespace CardVerificationAttributes {
|
|
|
418
418
|
$unknown?: never;
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
|
-
* @public
|
|
422
421
|
* <p>Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.</p>
|
|
422
|
+
* @public
|
|
423
423
|
*/
|
|
424
424
|
interface DynamicCardVerificationValueMember {
|
|
425
425
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -433,8 +433,8 @@ export declare namespace CardVerificationAttributes {
|
|
|
433
433
|
$unknown?: never;
|
|
434
434
|
}
|
|
435
435
|
/**
|
|
436
|
-
* @public
|
|
437
436
|
* <p>Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.</p>
|
|
437
|
+
* @public
|
|
438
438
|
*/
|
|
439
439
|
interface DiscoverDynamicCardVerificationCodeMember {
|
|
440
440
|
AmexCardSecurityCodeVersion1?: never;
|
|
@@ -475,35 +475,35 @@ export declare namespace CardVerificationAttributes {
|
|
|
475
475
|
const visit: <T>(value: CardVerificationAttributes, visitor: Visitor<T>) => T;
|
|
476
476
|
}
|
|
477
477
|
/**
|
|
478
|
-
* @public
|
|
479
478
|
* <p>Parameters that are required for ARPC response generation using method1 after ARQC verification is successful.</p>
|
|
479
|
+
* @public
|
|
480
480
|
*/
|
|
481
481
|
export interface CryptogramVerificationArpcMethod1 {
|
|
482
482
|
/**
|
|
483
|
-
* @public
|
|
484
483
|
* <p>The auth code used to calculate APRC after ARQC verification is successful. This is the same auth code used for ARQC generation outside of Amazon Web Services Payment Cryptography.</p>
|
|
484
|
+
* @public
|
|
485
485
|
*/
|
|
486
486
|
AuthResponseCode: string | undefined;
|
|
487
487
|
}
|
|
488
488
|
/**
|
|
489
|
-
* @public
|
|
490
489
|
* <p>Parameters that are required for ARPC response generation using method2 after ARQC verification is successful.</p>
|
|
490
|
+
* @public
|
|
491
491
|
*/
|
|
492
492
|
export interface CryptogramVerificationArpcMethod2 {
|
|
493
493
|
/**
|
|
494
|
-
* @public
|
|
495
494
|
* <p>The data indicating whether the issuer approves or declines an online transaction using an EMV chip card.</p>
|
|
495
|
+
* @public
|
|
496
496
|
*/
|
|
497
497
|
CardStatusUpdate: string | undefined;
|
|
498
498
|
/**
|
|
499
|
-
* @public
|
|
500
499
|
* <p>The proprietary authentication data used by issuer for communication during online transaction using an EMV chip card.</p>
|
|
500
|
+
* @public
|
|
501
501
|
*/
|
|
502
502
|
ProprietaryAuthenticationData?: string;
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
|
-
* @public
|
|
506
505
|
* <p>Parameters that are required for Authorization Response Cryptogram (ARPC) generation after Authorization Request Cryptogram (ARQC) verification is successful.</p>
|
|
506
|
+
* @public
|
|
507
507
|
*/
|
|
508
508
|
export type CryptogramAuthResponse = CryptogramAuthResponse.ArpcMethod1Member | CryptogramAuthResponse.ArpcMethod2Member | CryptogramAuthResponse.$UnknownMember;
|
|
509
509
|
/**
|
|
@@ -511,8 +511,8 @@ export type CryptogramAuthResponse = CryptogramAuthResponse.ArpcMethod1Member |
|
|
|
511
511
|
*/
|
|
512
512
|
export declare namespace CryptogramAuthResponse {
|
|
513
513
|
/**
|
|
514
|
-
* @public
|
|
515
514
|
* <p>Parameters that are required for ARPC response generation using method1 after ARQC verification is successful.</p>
|
|
515
|
+
* @public
|
|
516
516
|
*/
|
|
517
517
|
interface ArpcMethod1Member {
|
|
518
518
|
ArpcMethod1: CryptogramVerificationArpcMethod1;
|
|
@@ -520,8 +520,8 @@ export declare namespace CryptogramAuthResponse {
|
|
|
520
520
|
$unknown?: never;
|
|
521
521
|
}
|
|
522
522
|
/**
|
|
523
|
-
* @public
|
|
524
523
|
* <p>Parameters that are required for ARPC response generation using method2 after ARQC verification is successful.</p>
|
|
524
|
+
* @public
|
|
525
525
|
*/
|
|
526
526
|
interface ArpcMethod2Member {
|
|
527
527
|
ArpcMethod1?: never;
|
|
@@ -584,35 +584,35 @@ export declare const DukptEncryptionMode: {
|
|
|
584
584
|
*/
|
|
585
585
|
export type DukptEncryptionMode = (typeof DukptEncryptionMode)[keyof typeof DukptEncryptionMode];
|
|
586
586
|
/**
|
|
587
|
-
* @public
|
|
588
587
|
* <p>Parameters that are required to encrypt plaintext data using DUKPT.</p>
|
|
588
|
+
* @public
|
|
589
589
|
*/
|
|
590
590
|
export interface DukptEncryptionAttributes {
|
|
591
591
|
/**
|
|
592
|
-
* @public
|
|
593
592
|
* <p>The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.</p>
|
|
593
|
+
* @public
|
|
594
594
|
*/
|
|
595
595
|
KeySerialNumber: string | undefined;
|
|
596
596
|
/**
|
|
597
|
-
* @public
|
|
598
597
|
* <p>The block cipher method to use for encryption.</p>
|
|
599
598
|
* <p>The default is CBC.</p>
|
|
599
|
+
* @public
|
|
600
600
|
*/
|
|
601
601
|
Mode?: DukptEncryptionMode;
|
|
602
602
|
/**
|
|
603
|
-
* @public
|
|
604
603
|
* <p>The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use <code>AES_128</code> as a derivation type for a BDK of <code>AES_128</code> or <code>TDES_2KEY</code>
|
|
605
604
|
* </p>
|
|
605
|
+
* @public
|
|
606
606
|
*/
|
|
607
607
|
DukptKeyDerivationType?: DukptDerivationType;
|
|
608
608
|
/**
|
|
609
|
-
* @public
|
|
610
609
|
* <p>The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.</p>
|
|
610
|
+
* @public
|
|
611
611
|
*/
|
|
612
612
|
DukptKeyVariant?: DukptKeyVariant;
|
|
613
613
|
/**
|
|
614
|
-
* @public
|
|
615
614
|
* <p>An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.</p>
|
|
615
|
+
* @public
|
|
616
616
|
*/
|
|
617
617
|
InitializationVector?: string;
|
|
618
618
|
}
|
|
@@ -641,38 +641,38 @@ export declare const EmvEncryptionMode: {
|
|
|
641
641
|
*/
|
|
642
642
|
export type EmvEncryptionMode = (typeof EmvEncryptionMode)[keyof typeof EmvEncryptionMode];
|
|
643
643
|
/**
|
|
644
|
-
* @public
|
|
645
644
|
* <p>Parameters for plaintext encryption using EMV keys.</p>
|
|
645
|
+
* @public
|
|
646
646
|
*/
|
|
647
647
|
export interface EmvEncryptionAttributes {
|
|
648
648
|
/**
|
|
649
|
-
* @public
|
|
650
649
|
* <p>The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.</p>
|
|
650
|
+
* @public
|
|
651
651
|
*/
|
|
652
652
|
MajorKeyDerivationMode: EmvMajorKeyDerivationMode | undefined;
|
|
653
653
|
/**
|
|
654
|
-
* @public
|
|
655
654
|
* <p>The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
|
|
655
|
+
* @public
|
|
656
656
|
*/
|
|
657
657
|
PrimaryAccountNumber: string | undefined;
|
|
658
658
|
/**
|
|
659
|
-
* @public
|
|
660
659
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
660
|
+
* @public
|
|
661
661
|
*/
|
|
662
662
|
PanSequenceNumber: string | undefined;
|
|
663
663
|
/**
|
|
664
|
-
* @public
|
|
665
664
|
* <p>The derivation value used to derive the ICC session key. It is typically the application transaction counter value padded with zeros or previous ARQC value padded with zeros as per EMV version 4.3 book 2.</p>
|
|
665
|
+
* @public
|
|
666
666
|
*/
|
|
667
667
|
SessionDerivationData: string | undefined;
|
|
668
668
|
/**
|
|
669
|
-
* @public
|
|
670
669
|
* <p>The block cipher method to use for encryption.</p>
|
|
670
|
+
* @public
|
|
671
671
|
*/
|
|
672
672
|
Mode?: EmvEncryptionMode;
|
|
673
673
|
/**
|
|
674
|
-
* @public
|
|
675
674
|
* <p>An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.</p>
|
|
675
|
+
* @public
|
|
676
676
|
*/
|
|
677
677
|
InitializationVector?: string;
|
|
678
678
|
}
|
|
@@ -695,29 +695,29 @@ export declare const EncryptionMode: {
|
|
|
695
695
|
*/
|
|
696
696
|
export type EncryptionMode = (typeof EncryptionMode)[keyof typeof EncryptionMode];
|
|
697
697
|
/**
|
|
698
|
-
* @public
|
|
699
698
|
* <p>Parameters requried to encrypt plaintext data using symmetric keys.</p>
|
|
699
|
+
* @public
|
|
700
700
|
*/
|
|
701
701
|
export interface SymmetricEncryptionAttributes {
|
|
702
702
|
/**
|
|
703
|
-
* @public
|
|
704
703
|
* <p>The block cipher method to use for encryption.</p>
|
|
704
|
+
* @public
|
|
705
705
|
*/
|
|
706
706
|
Mode: EncryptionMode | undefined;
|
|
707
707
|
/**
|
|
708
|
-
* @public
|
|
709
708
|
* <p>An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.</p>
|
|
709
|
+
* @public
|
|
710
710
|
*/
|
|
711
711
|
InitializationVector?: string;
|
|
712
712
|
/**
|
|
713
|
-
* @public
|
|
714
713
|
* <p>The padding to be included with the data.</p>
|
|
714
|
+
* @public
|
|
715
715
|
*/
|
|
716
716
|
PaddingType?: PaddingType;
|
|
717
717
|
}
|
|
718
718
|
/**
|
|
719
|
-
* @public
|
|
720
719
|
* <p>Parameters that are required to perform encryption and decryption operations.</p>
|
|
720
|
+
* @public
|
|
721
721
|
*/
|
|
722
722
|
export type EncryptionDecryptionAttributes = EncryptionDecryptionAttributes.AsymmetricMember | EncryptionDecryptionAttributes.DukptMember | EncryptionDecryptionAttributes.EmvMember | EncryptionDecryptionAttributes.SymmetricMember | EncryptionDecryptionAttributes.$UnknownMember;
|
|
723
723
|
/**
|
|
@@ -725,8 +725,8 @@ export type EncryptionDecryptionAttributes = EncryptionDecryptionAttributes.Asym
|
|
|
725
725
|
*/
|
|
726
726
|
export declare namespace EncryptionDecryptionAttributes {
|
|
727
727
|
/**
|
|
728
|
-
* @public
|
|
729
728
|
* <p>Parameters that are required to perform encryption and decryption using symmetric keys.</p>
|
|
729
|
+
* @public
|
|
730
730
|
*/
|
|
731
731
|
interface SymmetricMember {
|
|
732
732
|
Symmetric: SymmetricEncryptionAttributes;
|
|
@@ -736,8 +736,8 @@ export declare namespace EncryptionDecryptionAttributes {
|
|
|
736
736
|
$unknown?: never;
|
|
737
737
|
}
|
|
738
738
|
/**
|
|
739
|
-
* @public
|
|
740
739
|
* <p>Parameters for plaintext encryption using asymmetric keys.</p>
|
|
740
|
+
* @public
|
|
741
741
|
*/
|
|
742
742
|
interface AsymmetricMember {
|
|
743
743
|
Symmetric?: never;
|
|
@@ -747,8 +747,8 @@ export declare namespace EncryptionDecryptionAttributes {
|
|
|
747
747
|
$unknown?: never;
|
|
748
748
|
}
|
|
749
749
|
/**
|
|
750
|
-
* @public
|
|
751
750
|
* <p>Parameters that are required to encrypt plaintext data using DUKPT.</p>
|
|
751
|
+
* @public
|
|
752
752
|
*/
|
|
753
753
|
interface DukptMember {
|
|
754
754
|
Symmetric?: never;
|
|
@@ -758,8 +758,8 @@ export declare namespace EncryptionDecryptionAttributes {
|
|
|
758
758
|
$unknown?: never;
|
|
759
759
|
}
|
|
760
760
|
/**
|
|
761
|
-
* @public
|
|
762
761
|
* <p>Parameters for plaintext encryption using EMV keys.</p>
|
|
762
|
+
* @public
|
|
763
763
|
*/
|
|
764
764
|
interface EmvMember {
|
|
765
765
|
Symmetric?: never;
|
|
@@ -792,18 +792,18 @@ export declare namespace EncryptionDecryptionAttributes {
|
|
|
792
792
|
*/
|
|
793
793
|
export interface DecryptDataInput {
|
|
794
794
|
/**
|
|
795
|
-
* @public
|
|
796
795
|
* <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.</p>
|
|
796
|
+
* @public
|
|
797
797
|
*/
|
|
798
798
|
KeyIdentifier: string | undefined;
|
|
799
799
|
/**
|
|
800
|
-
* @public
|
|
801
800
|
* <p>The ciphertext to decrypt.</p>
|
|
801
|
+
* @public
|
|
802
802
|
*/
|
|
803
803
|
CipherText: string | undefined;
|
|
804
804
|
/**
|
|
805
|
-
* @public
|
|
806
805
|
* <p>The encryption key type and attributes for ciphertext decryption.</p>
|
|
806
|
+
* @public
|
|
807
807
|
*/
|
|
808
808
|
DecryptionAttributes: EncryptionDecryptionAttributes | undefined;
|
|
809
809
|
}
|
|
@@ -812,25 +812,25 @@ export interface DecryptDataInput {
|
|
|
812
812
|
*/
|
|
813
813
|
export interface DecryptDataOutput {
|
|
814
814
|
/**
|
|
815
|
-
* @public
|
|
816
815
|
* <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.</p>
|
|
816
|
+
* @public
|
|
817
817
|
*/
|
|
818
818
|
KeyArn: string | undefined;
|
|
819
819
|
/**
|
|
820
|
-
* @public
|
|
821
820
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
822
821
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
822
|
+
* @public
|
|
823
823
|
*/
|
|
824
824
|
KeyCheckValue: string | undefined;
|
|
825
825
|
/**
|
|
826
|
-
* @public
|
|
827
826
|
* <p>The decrypted plaintext data in hexBinary format.</p>
|
|
827
|
+
* @public
|
|
828
828
|
*/
|
|
829
829
|
PlainText: string | undefined;
|
|
830
830
|
}
|
|
831
831
|
/**
|
|
832
|
-
* @public
|
|
833
832
|
* <p>The request processing has failed because of an unknown error, exception, or failure.</p>
|
|
833
|
+
* @public
|
|
834
834
|
*/
|
|
835
835
|
export declare class InternalServerException extends __BaseException {
|
|
836
836
|
readonly name: "InternalServerException";
|
|
@@ -842,15 +842,15 @@ export declare class InternalServerException extends __BaseException {
|
|
|
842
842
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
843
843
|
}
|
|
844
844
|
/**
|
|
845
|
-
* @public
|
|
846
845
|
* <p>The request was denied due to an invalid resource error.</p>
|
|
846
|
+
* @public
|
|
847
847
|
*/
|
|
848
848
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
849
849
|
readonly name: "ResourceNotFoundException";
|
|
850
850
|
readonly $fault: "client";
|
|
851
851
|
/**
|
|
852
|
-
* @public
|
|
853
852
|
* <p>The resource that is missing.</p>
|
|
853
|
+
* @public
|
|
854
854
|
*/
|
|
855
855
|
ResourceId?: string;
|
|
856
856
|
/**
|
|
@@ -859,8 +859,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
859
859
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
860
860
|
}
|
|
861
861
|
/**
|
|
862
|
-
* @public
|
|
863
862
|
* <p>The request was denied due to request throttling.</p>
|
|
863
|
+
* @public
|
|
864
864
|
*/
|
|
865
865
|
export declare class ThrottlingException extends __BaseException {
|
|
866
866
|
readonly name: "ThrottlingException";
|
|
@@ -872,31 +872,31 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
872
872
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
873
873
|
}
|
|
874
874
|
/**
|
|
875
|
-
* @public
|
|
876
875
|
* <p>The request was denied due to an invalid request error.</p>
|
|
876
|
+
* @public
|
|
877
877
|
*/
|
|
878
878
|
export interface ValidationExceptionField {
|
|
879
879
|
/**
|
|
880
|
-
* @public
|
|
881
880
|
* <p>The request was denied due to an invalid request error.</p>
|
|
881
|
+
* @public
|
|
882
882
|
*/
|
|
883
883
|
path: string | undefined;
|
|
884
884
|
/**
|
|
885
|
-
* @public
|
|
886
885
|
* <p>The request was denied due to an invalid request error.</p>
|
|
886
|
+
* @public
|
|
887
887
|
*/
|
|
888
888
|
message: string | undefined;
|
|
889
889
|
}
|
|
890
890
|
/**
|
|
891
|
-
* @public
|
|
892
891
|
* <p>The request was denied due to an invalid request error.</p>
|
|
892
|
+
* @public
|
|
893
893
|
*/
|
|
894
894
|
export declare class ValidationException extends __BaseException {
|
|
895
895
|
readonly name: "ValidationException";
|
|
896
896
|
readonly $fault: "client";
|
|
897
897
|
/**
|
|
898
|
-
* @public
|
|
899
898
|
* <p>The request was denied due to an invalid request error.</p>
|
|
899
|
+
* @public
|
|
900
900
|
*/
|
|
901
901
|
fieldList?: ValidationExceptionField[];
|
|
902
902
|
/**
|
|
@@ -905,40 +905,40 @@ export declare class ValidationException extends __BaseException {
|
|
|
905
905
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
906
906
|
}
|
|
907
907
|
/**
|
|
908
|
-
* @public
|
|
909
908
|
* <p>Parameters that are used for Derived Unique Key Per Transaction (DUKPT) derivation algorithm.</p>
|
|
909
|
+
* @public
|
|
910
910
|
*/
|
|
911
911
|
export interface DukptAttributes {
|
|
912
912
|
/**
|
|
913
|
-
* @public
|
|
914
913
|
* <p>The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.</p>
|
|
914
|
+
* @public
|
|
915
915
|
*/
|
|
916
916
|
KeySerialNumber: string | undefined;
|
|
917
917
|
/**
|
|
918
|
-
* @public
|
|
919
918
|
* <p>The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use <code>AES_128</code> as a derivation type for a BDK of <code>AES_128</code> or <code>TDES_2KEY</code>.</p>
|
|
919
|
+
* @public
|
|
920
920
|
*/
|
|
921
921
|
DukptDerivationType: DukptDerivationType | undefined;
|
|
922
922
|
}
|
|
923
923
|
/**
|
|
924
|
-
* @public
|
|
925
924
|
* <p>Parameters required for encryption or decryption of data using DUKPT.</p>
|
|
925
|
+
* @public
|
|
926
926
|
*/
|
|
927
927
|
export interface DukptDerivationAttributes {
|
|
928
928
|
/**
|
|
929
|
-
* @public
|
|
930
929
|
* <p>The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.</p>
|
|
930
|
+
* @public
|
|
931
931
|
*/
|
|
932
932
|
KeySerialNumber: string | undefined;
|
|
933
933
|
/**
|
|
934
|
-
* @public
|
|
935
934
|
* <p>The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use <code>AES_128</code> as a derivation type for a BDK of <code>AES_128</code> or <code>TDES_2KEY</code>
|
|
936
935
|
* </p>
|
|
936
|
+
* @public
|
|
937
937
|
*/
|
|
938
938
|
DukptKeyDerivationType?: DukptDerivationType;
|
|
939
939
|
/**
|
|
940
|
-
* @public
|
|
941
940
|
* <p>The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, or both.</p>
|
|
941
|
+
* @public
|
|
942
942
|
*/
|
|
943
943
|
DukptKeyVariant?: DukptKeyVariant;
|
|
944
944
|
}
|
|
@@ -947,21 +947,21 @@ export interface DukptDerivationAttributes {
|
|
|
947
947
|
*/
|
|
948
948
|
export interface EncryptDataInput {
|
|
949
949
|
/**
|
|
950
|
-
* @public
|
|
951
950
|
* <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.</p>
|
|
951
|
+
* @public
|
|
952
952
|
*/
|
|
953
953
|
KeyIdentifier: string | undefined;
|
|
954
954
|
/**
|
|
955
|
-
* @public
|
|
956
955
|
* <p>The plaintext to be encrypted.</p>
|
|
957
956
|
* <note>
|
|
958
957
|
* <p>For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in <code>KeyAlgorithm</code> and padding type that you define in <code>AsymmetricEncryptionAttributes</code>. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/encrypt-data.html">Encrypt data</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>.</p>
|
|
959
958
|
* </note>
|
|
959
|
+
* @public
|
|
960
960
|
*/
|
|
961
961
|
PlainText: string | undefined;
|
|
962
962
|
/**
|
|
963
|
-
* @public
|
|
964
963
|
* <p>The encryption key type and attributes for plaintext encryption.</p>
|
|
964
|
+
* @public
|
|
965
965
|
*/
|
|
966
966
|
EncryptionAttributes: EncryptionDecryptionAttributes | undefined;
|
|
967
967
|
}
|
|
@@ -970,19 +970,19 @@ export interface EncryptDataInput {
|
|
|
970
970
|
*/
|
|
971
971
|
export interface EncryptDataOutput {
|
|
972
972
|
/**
|
|
973
|
-
* @public
|
|
974
973
|
* <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.</p>
|
|
974
|
+
* @public
|
|
975
975
|
*/
|
|
976
976
|
KeyArn: string | undefined;
|
|
977
977
|
/**
|
|
978
|
-
* @public
|
|
979
978
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
980
979
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
980
|
+
* @public
|
|
981
981
|
*/
|
|
982
982
|
KeyCheckValue?: string;
|
|
983
983
|
/**
|
|
984
|
-
* @public
|
|
985
984
|
* <p>The encrypted ciphertext.</p>
|
|
985
|
+
* @public
|
|
986
986
|
*/
|
|
987
987
|
CipherText: string | undefined;
|
|
988
988
|
}
|
|
@@ -991,23 +991,23 @@ export interface EncryptDataOutput {
|
|
|
991
991
|
*/
|
|
992
992
|
export interface GenerateCardValidationDataInput {
|
|
993
993
|
/**
|
|
994
|
-
* @public
|
|
995
994
|
* <p>The <code>keyARN</code> of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.</p>
|
|
995
|
+
* @public
|
|
996
996
|
*/
|
|
997
997
|
KeyIdentifier: string | undefined;
|
|
998
998
|
/**
|
|
999
|
-
* @public
|
|
1000
999
|
* <p>The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.</p>
|
|
1000
|
+
* @public
|
|
1001
1001
|
*/
|
|
1002
1002
|
PrimaryAccountNumber: string | undefined;
|
|
1003
1003
|
/**
|
|
1004
|
-
* @public
|
|
1005
1004
|
* <p>The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.</p>
|
|
1005
|
+
* @public
|
|
1006
1006
|
*/
|
|
1007
1007
|
GenerationAttributes: CardGenerationAttributes | undefined;
|
|
1008
1008
|
/**
|
|
1009
|
-
* @public
|
|
1010
1009
|
* <p>The length of the CVV or CSC to be generated. The default value is 3.</p>
|
|
1010
|
+
* @public
|
|
1011
1011
|
*/
|
|
1012
1012
|
ValidationDataLength?: number;
|
|
1013
1013
|
}
|
|
@@ -1016,19 +1016,19 @@ export interface GenerateCardValidationDataInput {
|
|
|
1016
1016
|
*/
|
|
1017
1017
|
export interface GenerateCardValidationDataOutput {
|
|
1018
1018
|
/**
|
|
1019
|
-
* @public
|
|
1020
1019
|
* <p>The <code>keyARN</code> of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate CVV or CSC.</p>
|
|
1020
|
+
* @public
|
|
1021
1021
|
*/
|
|
1022
1022
|
KeyArn: string | undefined;
|
|
1023
1023
|
/**
|
|
1024
|
-
* @public
|
|
1025
1024
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
1026
1025
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
1026
|
+
* @public
|
|
1027
1027
|
*/
|
|
1028
1028
|
KeyCheckValue: string | undefined;
|
|
1029
1029
|
/**
|
|
1030
|
-
* @public
|
|
1031
1030
|
* <p>The CVV or CSC value that Amazon Web Services Payment Cryptography generates for the card.</p>
|
|
1031
|
+
* @public
|
|
1032
1032
|
*/
|
|
1033
1033
|
ValidationData: string | undefined;
|
|
1034
1034
|
}
|
|
@@ -1050,23 +1050,23 @@ export declare const MacAlgorithm: {
|
|
|
1050
1050
|
*/
|
|
1051
1051
|
export type MacAlgorithm = (typeof MacAlgorithm)[keyof typeof MacAlgorithm];
|
|
1052
1052
|
/**
|
|
1053
|
-
* @public
|
|
1054
1053
|
* <p>Parameters required for DUKPT MAC generation and verification.</p>
|
|
1054
|
+
* @public
|
|
1055
1055
|
*/
|
|
1056
1056
|
export interface MacAlgorithmDukpt {
|
|
1057
1057
|
/**
|
|
1058
|
-
* @public
|
|
1059
1058
|
* <p>The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.</p>
|
|
1059
|
+
* @public
|
|
1060
1060
|
*/
|
|
1061
1061
|
KeySerialNumber: string | undefined;
|
|
1062
1062
|
/**
|
|
1063
|
-
* @public
|
|
1064
1063
|
* <p>The type of use of DUKPT, which can be MAC generation, MAC verification, or both.</p>
|
|
1064
|
+
* @public
|
|
1065
1065
|
*/
|
|
1066
1066
|
DukptKeyVariant: DukptKeyVariant | undefined;
|
|
1067
1067
|
/**
|
|
1068
|
-
* @public
|
|
1069
1068
|
* <p>The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use <code>AES_128</code> as a derivation type for a BDK of <code>AES_128</code> or <code>TDES_2KEY</code>.</p>
|
|
1069
|
+
* @public
|
|
1070
1070
|
*/
|
|
1071
1071
|
DukptDerivationType?: DukptDerivationType;
|
|
1072
1072
|
}
|
|
@@ -1098,8 +1098,8 @@ export declare const SessionKeyDerivationMode: {
|
|
|
1098
1098
|
*/
|
|
1099
1099
|
export type SessionKeyDerivationMode = (typeof SessionKeyDerivationMode)[keyof typeof SessionKeyDerivationMode];
|
|
1100
1100
|
/**
|
|
1101
|
-
* @public
|
|
1102
1101
|
* <p>Parameters to derive session key value using a MAC EMV algorithm.</p>
|
|
1102
|
+
* @public
|
|
1103
1103
|
*/
|
|
1104
1104
|
export type SessionKeyDerivationValue = SessionKeyDerivationValue.ApplicationCryptogramMember | SessionKeyDerivationValue.ApplicationTransactionCounterMember | SessionKeyDerivationValue.$UnknownMember;
|
|
1105
1105
|
/**
|
|
@@ -1107,8 +1107,8 @@ export type SessionKeyDerivationValue = SessionKeyDerivationValue.ApplicationCry
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
export declare namespace SessionKeyDerivationValue {
|
|
1109
1109
|
/**
|
|
1110
|
-
* @public
|
|
1111
1110
|
* <p>The cryptogram provided by the terminal during transaction processing.</p>
|
|
1111
|
+
* @public
|
|
1112
1112
|
*/
|
|
1113
1113
|
interface ApplicationCryptogramMember {
|
|
1114
1114
|
ApplicationCryptogram: string;
|
|
@@ -1116,8 +1116,8 @@ export declare namespace SessionKeyDerivationValue {
|
|
|
1116
1116
|
$unknown?: never;
|
|
1117
1117
|
}
|
|
1118
1118
|
/**
|
|
1119
|
-
* @public
|
|
1120
1119
|
* <p>The transaction counter that is provided by the terminal during transaction processing.</p>
|
|
1120
|
+
* @public
|
|
1121
1121
|
*/
|
|
1122
1122
|
interface ApplicationTransactionCounterMember {
|
|
1123
1123
|
ApplicationCryptogram?: never;
|
|
@@ -1140,39 +1140,39 @@ export declare namespace SessionKeyDerivationValue {
|
|
|
1140
1140
|
const visit: <T>(value: SessionKeyDerivationValue, visitor: Visitor<T>) => T;
|
|
1141
1141
|
}
|
|
1142
1142
|
/**
|
|
1143
|
-
* @public
|
|
1144
1143
|
* <p>Parameters that are required for EMV MAC generation and verification.</p>
|
|
1144
|
+
* @public
|
|
1145
1145
|
*/
|
|
1146
1146
|
export interface MacAlgorithmEmv {
|
|
1147
1147
|
/**
|
|
1148
|
-
* @public
|
|
1149
1148
|
* <p>The method to use when deriving the master key for EMV MAC generation or verification.</p>
|
|
1149
|
+
* @public
|
|
1150
1150
|
*/
|
|
1151
1151
|
MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
|
|
1152
1152
|
/**
|
|
1153
|
-
* @public
|
|
1154
1153
|
* <p>The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
|
|
1154
|
+
* @public
|
|
1155
1155
|
*/
|
|
1156
1156
|
PrimaryAccountNumber: string | undefined;
|
|
1157
1157
|
/**
|
|
1158
|
-
* @public
|
|
1159
1158
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
1159
|
+
* @public
|
|
1160
1160
|
*/
|
|
1161
1161
|
PanSequenceNumber: string | undefined;
|
|
1162
1162
|
/**
|
|
1163
|
-
* @public
|
|
1164
1163
|
* <p>The method of deriving a session key for EMV MAC generation or verification.</p>
|
|
1164
|
+
* @public
|
|
1165
1165
|
*/
|
|
1166
1166
|
SessionKeyDerivationMode: SessionKeyDerivationMode | undefined;
|
|
1167
1167
|
/**
|
|
1168
|
-
* @public
|
|
1169
1168
|
* <p>Parameters that are required to generate session key for EMV generation and verification.</p>
|
|
1169
|
+
* @public
|
|
1170
1170
|
*/
|
|
1171
1171
|
SessionKeyDerivationValue: SessionKeyDerivationValue | undefined;
|
|
1172
1172
|
}
|
|
1173
1173
|
/**
|
|
1174
|
-
* @public
|
|
1175
1174
|
* <p>Parameters that are required for DUKPT, HMAC, or EMV MAC generation or verification.</p>
|
|
1175
|
+
* @public
|
|
1176
1176
|
*/
|
|
1177
1177
|
export type MacAttributes = MacAttributes.AlgorithmMember | MacAttributes.DukptCmacMember | MacAttributes.DukptIso9797Algorithm1Member | MacAttributes.DukptIso9797Algorithm3Member | MacAttributes.EmvMacMember | MacAttributes.$UnknownMember;
|
|
1178
1178
|
/**
|
|
@@ -1180,8 +1180,8 @@ export type MacAttributes = MacAttributes.AlgorithmMember | MacAttributes.DukptC
|
|
|
1180
1180
|
*/
|
|
1181
1181
|
export declare namespace MacAttributes {
|
|
1182
1182
|
/**
|
|
1183
|
-
* @public
|
|
1184
1183
|
* <p>The encryption algorithm for MAC generation or verification.</p>
|
|
1184
|
+
* @public
|
|
1185
1185
|
*/
|
|
1186
1186
|
interface AlgorithmMember {
|
|
1187
1187
|
Algorithm: MacAlgorithm;
|
|
@@ -1192,8 +1192,8 @@ export declare namespace MacAttributes {
|
|
|
1192
1192
|
$unknown?: never;
|
|
1193
1193
|
}
|
|
1194
1194
|
/**
|
|
1195
|
-
* @public
|
|
1196
1195
|
* <p>Parameters that are required for MAC generation or verification using EMV MAC algorithm.</p>
|
|
1196
|
+
* @public
|
|
1197
1197
|
*/
|
|
1198
1198
|
interface EmvMacMember {
|
|
1199
1199
|
Algorithm?: never;
|
|
@@ -1204,8 +1204,8 @@ export declare namespace MacAttributes {
|
|
|
1204
1204
|
$unknown?: never;
|
|
1205
1205
|
}
|
|
1206
1206
|
/**
|
|
1207
|
-
* @public
|
|
1208
1207
|
* <p>Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm1.</p>
|
|
1208
|
+
* @public
|
|
1209
1209
|
*/
|
|
1210
1210
|
interface DukptIso9797Algorithm1Member {
|
|
1211
1211
|
Algorithm?: never;
|
|
@@ -1216,8 +1216,8 @@ export declare namespace MacAttributes {
|
|
|
1216
1216
|
$unknown?: never;
|
|
1217
1217
|
}
|
|
1218
1218
|
/**
|
|
1219
|
-
* @public
|
|
1220
1219
|
* <p>Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm3.</p>
|
|
1220
|
+
* @public
|
|
1221
1221
|
*/
|
|
1222
1222
|
interface DukptIso9797Algorithm3Member {
|
|
1223
1223
|
Algorithm?: never;
|
|
@@ -1228,8 +1228,8 @@ export declare namespace MacAttributes {
|
|
|
1228
1228
|
$unknown?: never;
|
|
1229
1229
|
}
|
|
1230
1230
|
/**
|
|
1231
|
-
* @public
|
|
1232
1231
|
* <p>Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.</p>
|
|
1232
|
+
* @public
|
|
1233
1233
|
*/
|
|
1234
1234
|
interface DukptCmacMember {
|
|
1235
1235
|
Algorithm?: never;
|
|
@@ -1265,23 +1265,23 @@ export declare namespace MacAttributes {
|
|
|
1265
1265
|
*/
|
|
1266
1266
|
export interface GenerateMacInput {
|
|
1267
1267
|
/**
|
|
1268
|
-
* @public
|
|
1269
1268
|
* <p>The <code>keyARN</code> of the MAC generation encryption key.</p>
|
|
1269
|
+
* @public
|
|
1270
1270
|
*/
|
|
1271
1271
|
KeyIdentifier: string | undefined;
|
|
1272
1272
|
/**
|
|
1273
|
-
* @public
|
|
1274
1273
|
* <p>The data for which a MAC is under generation. This value must be hexBinary.</p>
|
|
1274
|
+
* @public
|
|
1275
1275
|
*/
|
|
1276
1276
|
MessageData: string | undefined;
|
|
1277
1277
|
/**
|
|
1278
|
-
* @public
|
|
1279
1278
|
* <p>The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.</p>
|
|
1279
|
+
* @public
|
|
1280
1280
|
*/
|
|
1281
1281
|
GenerationAttributes: MacAttributes | undefined;
|
|
1282
1282
|
/**
|
|
1283
|
-
* @public
|
|
1284
1283
|
* <p>The length of a MAC under generation.</p>
|
|
1284
|
+
* @public
|
|
1285
1285
|
*/
|
|
1286
1286
|
MacLength?: number;
|
|
1287
1287
|
}
|
|
@@ -1290,146 +1290,146 @@ export interface GenerateMacInput {
|
|
|
1290
1290
|
*/
|
|
1291
1291
|
export interface GenerateMacOutput {
|
|
1292
1292
|
/**
|
|
1293
|
-
* @public
|
|
1294
1293
|
* <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for MAC generation.</p>
|
|
1294
|
+
* @public
|
|
1295
1295
|
*/
|
|
1296
1296
|
KeyArn: string | undefined;
|
|
1297
1297
|
/**
|
|
1298
|
-
* @public
|
|
1299
1298
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
1300
1299
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
1300
|
+
* @public
|
|
1301
1301
|
*/
|
|
1302
1302
|
KeyCheckValue: string | undefined;
|
|
1303
1303
|
/**
|
|
1304
|
-
* @public
|
|
1305
1304
|
* <p>The MAC cryptogram generated within Amazon Web Services Payment Cryptography.</p>
|
|
1305
|
+
* @public
|
|
1306
1306
|
*/
|
|
1307
1307
|
Mac: string | undefined;
|
|
1308
1308
|
}
|
|
1309
1309
|
/**
|
|
1310
|
-
* @public
|
|
1311
1310
|
* <p>Parameters that are required to generate or verify Ibm3624 natural PIN.</p>
|
|
1311
|
+
* @public
|
|
1312
1312
|
*/
|
|
1313
1313
|
export interface Ibm3624NaturalPin {
|
|
1314
1314
|
/**
|
|
1315
|
-
* @public
|
|
1316
1315
|
* <p>The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.</p>
|
|
1316
|
+
* @public
|
|
1317
1317
|
*/
|
|
1318
1318
|
DecimalizationTable: string | undefined;
|
|
1319
1319
|
/**
|
|
1320
|
-
* @public
|
|
1321
1320
|
* <p>The padding character for validation data.</p>
|
|
1321
|
+
* @public
|
|
1322
1322
|
*/
|
|
1323
1323
|
PinValidationDataPadCharacter: string | undefined;
|
|
1324
1324
|
/**
|
|
1325
|
-
* @public
|
|
1326
1325
|
* <p>The unique data for cardholder identification.</p>
|
|
1326
|
+
* @public
|
|
1327
1327
|
*/
|
|
1328
1328
|
PinValidationData: string | undefined;
|
|
1329
1329
|
}
|
|
1330
1330
|
/**
|
|
1331
|
-
* @public
|
|
1332
1331
|
* <p>Parameters that are required to generate or verify Ibm3624 PIN from offset PIN.</p>
|
|
1332
|
+
* @public
|
|
1333
1333
|
*/
|
|
1334
1334
|
export interface Ibm3624PinFromOffset {
|
|
1335
1335
|
/**
|
|
1336
|
-
* @public
|
|
1337
1336
|
* <p>The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.</p>
|
|
1337
|
+
* @public
|
|
1338
1338
|
*/
|
|
1339
1339
|
DecimalizationTable: string | undefined;
|
|
1340
1340
|
/**
|
|
1341
|
-
* @public
|
|
1342
1341
|
* <p>The padding character for validation data.</p>
|
|
1342
|
+
* @public
|
|
1343
1343
|
*/
|
|
1344
1344
|
PinValidationDataPadCharacter: string | undefined;
|
|
1345
1345
|
/**
|
|
1346
|
-
* @public
|
|
1347
1346
|
* <p>The unique data for cardholder identification.</p>
|
|
1347
|
+
* @public
|
|
1348
1348
|
*/
|
|
1349
1349
|
PinValidationData: string | undefined;
|
|
1350
1350
|
/**
|
|
1351
|
-
* @public
|
|
1352
1351
|
* <p>The PIN offset value.</p>
|
|
1352
|
+
* @public
|
|
1353
1353
|
*/
|
|
1354
1354
|
PinOffset: string | undefined;
|
|
1355
1355
|
}
|
|
1356
1356
|
/**
|
|
1357
|
-
* @public
|
|
1358
1357
|
* <p>Pparameters that are required to generate or verify Ibm3624 PIN offset PIN.</p>
|
|
1358
|
+
* @public
|
|
1359
1359
|
*/
|
|
1360
1360
|
export interface Ibm3624PinOffset {
|
|
1361
1361
|
/**
|
|
1362
|
-
* @public
|
|
1363
1362
|
* <p>The encrypted PIN block data. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).</p>
|
|
1363
|
+
* @public
|
|
1364
1364
|
*/
|
|
1365
1365
|
EncryptedPinBlock: string | undefined;
|
|
1366
1366
|
/**
|
|
1367
|
-
* @public
|
|
1368
1367
|
* <p>The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.</p>
|
|
1368
|
+
* @public
|
|
1369
1369
|
*/
|
|
1370
1370
|
DecimalizationTable: string | undefined;
|
|
1371
1371
|
/**
|
|
1372
|
-
* @public
|
|
1373
1372
|
* <p>The padding character for validation data.</p>
|
|
1373
|
+
* @public
|
|
1374
1374
|
*/
|
|
1375
1375
|
PinValidationDataPadCharacter: string | undefined;
|
|
1376
1376
|
/**
|
|
1377
|
-
* @public
|
|
1378
1377
|
* <p>The unique data for cardholder identification.</p>
|
|
1378
|
+
* @public
|
|
1379
1379
|
*/
|
|
1380
1380
|
PinValidationData: string | undefined;
|
|
1381
1381
|
}
|
|
1382
1382
|
/**
|
|
1383
|
-
* @public
|
|
1384
1383
|
* <p>Parameters that are required to generate or verify Ibm3624 random PIN.</p>
|
|
1384
|
+
* @public
|
|
1385
1385
|
*/
|
|
1386
1386
|
export interface Ibm3624RandomPin {
|
|
1387
1387
|
/**
|
|
1388
|
-
* @public
|
|
1389
1388
|
* <p>The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.</p>
|
|
1389
|
+
* @public
|
|
1390
1390
|
*/
|
|
1391
1391
|
DecimalizationTable: string | undefined;
|
|
1392
1392
|
/**
|
|
1393
|
-
* @public
|
|
1394
1393
|
* <p>The padding character for validation data.</p>
|
|
1394
|
+
* @public
|
|
1395
1395
|
*/
|
|
1396
1396
|
PinValidationDataPadCharacter: string | undefined;
|
|
1397
1397
|
/**
|
|
1398
|
-
* @public
|
|
1399
1398
|
* <p>The unique data for cardholder identification.</p>
|
|
1399
|
+
* @public
|
|
1400
1400
|
*/
|
|
1401
1401
|
PinValidationData: string | undefined;
|
|
1402
1402
|
}
|
|
1403
1403
|
/**
|
|
1404
|
-
* @public
|
|
1405
1404
|
* <p>Parameters that are required to generate or verify Visa PIN.</p>
|
|
1405
|
+
* @public
|
|
1406
1406
|
*/
|
|
1407
1407
|
export interface VisaPin {
|
|
1408
1408
|
/**
|
|
1409
|
-
* @public
|
|
1410
1409
|
* <p>The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).</p>
|
|
1410
|
+
* @public
|
|
1411
1411
|
*/
|
|
1412
1412
|
PinVerificationKeyIndex: number | undefined;
|
|
1413
1413
|
}
|
|
1414
1414
|
/**
|
|
1415
|
-
* @public
|
|
1416
1415
|
* <p>Parameters that are required to generate or verify Visa PVV (PIN Verification Value).</p>
|
|
1416
|
+
* @public
|
|
1417
1417
|
*/
|
|
1418
1418
|
export interface VisaPinVerificationValue {
|
|
1419
1419
|
/**
|
|
1420
|
-
* @public
|
|
1421
1420
|
* <p>The encrypted PIN block data to verify.</p>
|
|
1421
|
+
* @public
|
|
1422
1422
|
*/
|
|
1423
1423
|
EncryptedPinBlock: string | undefined;
|
|
1424
1424
|
/**
|
|
1425
|
-
* @public
|
|
1426
1425
|
* <p>The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).</p>
|
|
1426
|
+
* @public
|
|
1427
1427
|
*/
|
|
1428
1428
|
PinVerificationKeyIndex: number | undefined;
|
|
1429
1429
|
}
|
|
1430
1430
|
/**
|
|
1431
|
-
* @public
|
|
1432
1431
|
* <p>Parameters that are required for PIN data generation.</p>
|
|
1432
|
+
* @public
|
|
1433
1433
|
*/
|
|
1434
1434
|
export type PinGenerationAttributes = PinGenerationAttributes.Ibm3624NaturalPinMember | PinGenerationAttributes.Ibm3624PinFromOffsetMember | PinGenerationAttributes.Ibm3624PinOffsetMember | PinGenerationAttributes.Ibm3624RandomPinMember | PinGenerationAttributes.VisaPinMember | PinGenerationAttributes.VisaPinVerificationValueMember | PinGenerationAttributes.$UnknownMember;
|
|
1435
1435
|
/**
|
|
@@ -1437,8 +1437,8 @@ export type PinGenerationAttributes = PinGenerationAttributes.Ibm3624NaturalPinM
|
|
|
1437
1437
|
*/
|
|
1438
1438
|
export declare namespace PinGenerationAttributes {
|
|
1439
1439
|
/**
|
|
1440
|
-
* @public
|
|
1441
1440
|
* <p>Parameters that are required to generate or verify Visa PIN.</p>
|
|
1441
|
+
* @public
|
|
1442
1442
|
*/
|
|
1443
1443
|
interface VisaPinMember {
|
|
1444
1444
|
VisaPin: VisaPin;
|
|
@@ -1450,8 +1450,8 @@ export declare namespace PinGenerationAttributes {
|
|
|
1450
1450
|
$unknown?: never;
|
|
1451
1451
|
}
|
|
1452
1452
|
/**
|
|
1453
|
-
* @public
|
|
1454
1453
|
* <p>Parameters that are required to generate or verify Visa PIN Verification Value (PVV).</p>
|
|
1454
|
+
* @public
|
|
1455
1455
|
*/
|
|
1456
1456
|
interface VisaPinVerificationValueMember {
|
|
1457
1457
|
VisaPin?: never;
|
|
@@ -1463,8 +1463,8 @@ export declare namespace PinGenerationAttributes {
|
|
|
1463
1463
|
$unknown?: never;
|
|
1464
1464
|
}
|
|
1465
1465
|
/**
|
|
1466
|
-
* @public
|
|
1467
1466
|
* <p>Parameters that are required to generate or verify Ibm3624 PIN offset PIN.</p>
|
|
1467
|
+
* @public
|
|
1468
1468
|
*/
|
|
1469
1469
|
interface Ibm3624PinOffsetMember {
|
|
1470
1470
|
VisaPin?: never;
|
|
@@ -1476,8 +1476,8 @@ export declare namespace PinGenerationAttributes {
|
|
|
1476
1476
|
$unknown?: never;
|
|
1477
1477
|
}
|
|
1478
1478
|
/**
|
|
1479
|
-
* @public
|
|
1480
1479
|
* <p>Parameters that are required to generate or verify Ibm3624 natural PIN.</p>
|
|
1480
|
+
* @public
|
|
1481
1481
|
*/
|
|
1482
1482
|
interface Ibm3624NaturalPinMember {
|
|
1483
1483
|
VisaPin?: never;
|
|
@@ -1489,8 +1489,8 @@ export declare namespace PinGenerationAttributes {
|
|
|
1489
1489
|
$unknown?: never;
|
|
1490
1490
|
}
|
|
1491
1491
|
/**
|
|
1492
|
-
* @public
|
|
1493
1492
|
* <p>Parameters that are required to generate or verify Ibm3624 random PIN.</p>
|
|
1493
|
+
* @public
|
|
1494
1494
|
*/
|
|
1495
1495
|
interface Ibm3624RandomPinMember {
|
|
1496
1496
|
VisaPin?: never;
|
|
@@ -1502,8 +1502,8 @@ export declare namespace PinGenerationAttributes {
|
|
|
1502
1502
|
$unknown?: never;
|
|
1503
1503
|
}
|
|
1504
1504
|
/**
|
|
1505
|
-
* @public
|
|
1506
1505
|
* <p>Parameters that are required to generate or verify Ibm3624 PIN from offset PIN.</p>
|
|
1506
|
+
* @public
|
|
1507
1507
|
*/
|
|
1508
1508
|
interface Ibm3624PinFromOffsetMember {
|
|
1509
1509
|
VisaPin?: never;
|
|
@@ -1554,41 +1554,41 @@ export type PinBlockFormatForPinData = (typeof PinBlockFormatForPinData)[keyof t
|
|
|
1554
1554
|
*/
|
|
1555
1555
|
export interface GeneratePinDataInput {
|
|
1556
1556
|
/**
|
|
1557
|
-
* @public
|
|
1558
1557
|
* <p>The <code>keyARN</code> of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.</p>
|
|
1558
|
+
* @public
|
|
1559
1559
|
*/
|
|
1560
1560
|
GenerationKeyIdentifier: string | undefined;
|
|
1561
1561
|
/**
|
|
1562
|
-
* @public
|
|
1563
1562
|
* <p>The <code>keyARN</code> of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.</p>
|
|
1563
|
+
* @public
|
|
1564
1564
|
*/
|
|
1565
1565
|
EncryptionKeyIdentifier: string | undefined;
|
|
1566
1566
|
/**
|
|
1567
|
-
* @public
|
|
1568
1567
|
* <p>The attributes and values to use for PIN, PVV, or PIN Offset generation.</p>
|
|
1568
|
+
* @public
|
|
1569
1569
|
*/
|
|
1570
1570
|
GenerationAttributes: PinGenerationAttributes | undefined;
|
|
1571
1571
|
/**
|
|
1572
|
-
* @public
|
|
1573
1572
|
* <p>The length of PIN under generation.</p>
|
|
1573
|
+
* @public
|
|
1574
1574
|
*/
|
|
1575
1575
|
PinDataLength?: number;
|
|
1576
1576
|
/**
|
|
1577
|
-
* @public
|
|
1578
1577
|
* <p>The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.</p>
|
|
1578
|
+
* @public
|
|
1579
1579
|
*/
|
|
1580
1580
|
PrimaryAccountNumber: string | undefined;
|
|
1581
1581
|
/**
|
|
1582
|
-
* @public
|
|
1583
1582
|
* <p>The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports <code>ISO_Format_0</code> and <code>ISO_Format_3</code>.</p>
|
|
1584
1583
|
* <p>The <code>ISO_Format_0</code> PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.</p>
|
|
1585
1584
|
* <p>The <code>ISO_Format_3</code> PIN block format is the same as <code>ISO_Format_0</code> except that the fill digits are random values from 10 to 15.</p>
|
|
1585
|
+
* @public
|
|
1586
1586
|
*/
|
|
1587
1587
|
PinBlockFormat: PinBlockFormatForPinData | undefined;
|
|
1588
1588
|
}
|
|
1589
1589
|
/**
|
|
1590
|
-
* @public
|
|
1591
1590
|
* <p>Parameters that are required to generate, translate, or verify PIN data.</p>
|
|
1591
|
+
* @public
|
|
1592
1592
|
*/
|
|
1593
1593
|
export type PinData = PinData.PinOffsetMember | PinData.VerificationValueMember | PinData.$UnknownMember;
|
|
1594
1594
|
/**
|
|
@@ -1596,8 +1596,8 @@ export type PinData = PinData.PinOffsetMember | PinData.VerificationValueMember
|
|
|
1596
1596
|
*/
|
|
1597
1597
|
export declare namespace PinData {
|
|
1598
1598
|
/**
|
|
1599
|
-
* @public
|
|
1600
1599
|
* <p>The PIN offset value.</p>
|
|
1600
|
+
* @public
|
|
1601
1601
|
*/
|
|
1602
1602
|
interface PinOffsetMember {
|
|
1603
1603
|
PinOffset: string;
|
|
@@ -1605,8 +1605,8 @@ export declare namespace PinData {
|
|
|
1605
1605
|
$unknown?: never;
|
|
1606
1606
|
}
|
|
1607
1607
|
/**
|
|
1608
|
-
* @public
|
|
1609
1608
|
* <p>The unique data to identify a cardholder. In most cases, this is the same as cardholder's Primary Account Number (PAN). If a value is not provided, it defaults to PAN.</p>
|
|
1609
|
+
* @public
|
|
1610
1610
|
*/
|
|
1611
1611
|
interface VerificationValueMember {
|
|
1612
1612
|
PinOffset?: never;
|
|
@@ -1633,67 +1633,67 @@ export declare namespace PinData {
|
|
|
1633
1633
|
*/
|
|
1634
1634
|
export interface GeneratePinDataOutput {
|
|
1635
1635
|
/**
|
|
1636
|
-
* @public
|
|
1637
1636
|
* <p>The <code>keyARN</code> of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.</p>
|
|
1637
|
+
* @public
|
|
1638
1638
|
*/
|
|
1639
1639
|
GenerationKeyArn: string | undefined;
|
|
1640
1640
|
/**
|
|
1641
|
-
* @public
|
|
1642
1641
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
1643
1642
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
1643
|
+
* @public
|
|
1644
1644
|
*/
|
|
1645
1645
|
GenerationKeyCheckValue: string | undefined;
|
|
1646
1646
|
/**
|
|
1647
|
-
* @public
|
|
1648
1647
|
* <p>The <code>keyARN</code> of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.</p>
|
|
1648
|
+
* @public
|
|
1649
1649
|
*/
|
|
1650
1650
|
EncryptionKeyArn: string | undefined;
|
|
1651
1651
|
/**
|
|
1652
|
-
* @public
|
|
1653
1652
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
1654
1653
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
1654
|
+
* @public
|
|
1655
1655
|
*/
|
|
1656
1656
|
EncryptionKeyCheckValue: string | undefined;
|
|
1657
1657
|
/**
|
|
1658
|
-
* @public
|
|
1659
1658
|
* <p>The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. The encrypted PIN block is a composite of PAN (Primary Account Number) and PIN (Personal Identification Number), generated in accordance with ISO 9564 standard.</p>
|
|
1659
|
+
* @public
|
|
1660
1660
|
*/
|
|
1661
1661
|
EncryptedPinBlock: string | undefined;
|
|
1662
1662
|
/**
|
|
1663
|
-
* @public
|
|
1664
1663
|
* <p>The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.</p>
|
|
1664
|
+
* @public
|
|
1665
1665
|
*/
|
|
1666
1666
|
PinData: PinData | undefined;
|
|
1667
1667
|
}
|
|
1668
1668
|
/**
|
|
1669
|
-
* @public
|
|
1670
1669
|
* <p>Parameters that are required to generate or verify Ibm3624 PIN verification PIN.</p>
|
|
1670
|
+
* @public
|
|
1671
1671
|
*/
|
|
1672
1672
|
export interface Ibm3624PinVerification {
|
|
1673
1673
|
/**
|
|
1674
|
-
* @public
|
|
1675
1674
|
* <p>The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.</p>
|
|
1675
|
+
* @public
|
|
1676
1676
|
*/
|
|
1677
1677
|
DecimalizationTable: string | undefined;
|
|
1678
1678
|
/**
|
|
1679
|
-
* @public
|
|
1680
1679
|
* <p>The padding character for validation data.</p>
|
|
1680
|
+
* @public
|
|
1681
1681
|
*/
|
|
1682
1682
|
PinValidationDataPadCharacter: string | undefined;
|
|
1683
1683
|
/**
|
|
1684
|
-
* @public
|
|
1685
1684
|
* <p>The unique data for cardholder identification.</p>
|
|
1685
|
+
* @public
|
|
1686
1686
|
*/
|
|
1687
1687
|
PinValidationData: string | undefined;
|
|
1688
1688
|
/**
|
|
1689
|
-
* @public
|
|
1690
1689
|
* <p>The PIN offset value.</p>
|
|
1690
|
+
* @public
|
|
1691
1691
|
*/
|
|
1692
1692
|
PinOffset: string | undefined;
|
|
1693
1693
|
}
|
|
1694
1694
|
/**
|
|
1695
|
-
* @public
|
|
1696
1695
|
* <p>Parameters that are required to perform reencryption operation.</p>
|
|
1696
|
+
* @public
|
|
1697
1697
|
*/
|
|
1698
1698
|
export type ReEncryptionAttributes = ReEncryptionAttributes.DukptMember | ReEncryptionAttributes.SymmetricMember | ReEncryptionAttributes.$UnknownMember;
|
|
1699
1699
|
/**
|
|
@@ -1701,8 +1701,8 @@ export type ReEncryptionAttributes = ReEncryptionAttributes.DukptMember | ReEncr
|
|
|
1701
1701
|
*/
|
|
1702
1702
|
export declare namespace ReEncryptionAttributes {
|
|
1703
1703
|
/**
|
|
1704
|
-
* @public
|
|
1705
1704
|
* <p>Parameters that are required to encrypt data using symmetric keys.</p>
|
|
1705
|
+
* @public
|
|
1706
1706
|
*/
|
|
1707
1707
|
interface SymmetricMember {
|
|
1708
1708
|
Symmetric: SymmetricEncryptionAttributes;
|
|
@@ -1710,8 +1710,8 @@ export declare namespace ReEncryptionAttributes {
|
|
|
1710
1710
|
$unknown?: never;
|
|
1711
1711
|
}
|
|
1712
1712
|
/**
|
|
1713
|
-
* @public
|
|
1714
1713
|
* <p>Parameters that are required to encrypt plaintext data using DUKPT.</p>
|
|
1714
|
+
* @public
|
|
1715
1715
|
*/
|
|
1716
1716
|
interface DukptMember {
|
|
1717
1717
|
Symmetric?: never;
|
|
@@ -1738,28 +1738,28 @@ export declare namespace ReEncryptionAttributes {
|
|
|
1738
1738
|
*/
|
|
1739
1739
|
export interface ReEncryptDataInput {
|
|
1740
1740
|
/**
|
|
1741
|
-
* @public
|
|
1742
1741
|
* <p>The <code>keyARN</code> of the encryption key of incoming ciphertext data.</p>
|
|
1742
|
+
* @public
|
|
1743
1743
|
*/
|
|
1744
1744
|
IncomingKeyIdentifier: string | undefined;
|
|
1745
1745
|
/**
|
|
1746
|
-
* @public
|
|
1747
1746
|
* <p>The <code>keyARN</code> of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.</p>
|
|
1747
|
+
* @public
|
|
1748
1748
|
*/
|
|
1749
1749
|
OutgoingKeyIdentifier: string | undefined;
|
|
1750
1750
|
/**
|
|
1751
|
-
* @public
|
|
1752
1751
|
* <p>Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.</p>
|
|
1752
|
+
* @public
|
|
1753
1753
|
*/
|
|
1754
1754
|
CipherText: string | undefined;
|
|
1755
1755
|
/**
|
|
1756
|
-
* @public
|
|
1757
1756
|
* <p>The attributes and values for incoming ciphertext.</p>
|
|
1757
|
+
* @public
|
|
1758
1758
|
*/
|
|
1759
1759
|
IncomingEncryptionAttributes: ReEncryptionAttributes | undefined;
|
|
1760
1760
|
/**
|
|
1761
|
-
* @public
|
|
1762
1761
|
* <p>The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.</p>
|
|
1762
|
+
* @public
|
|
1763
1763
|
*/
|
|
1764
1764
|
OutgoingEncryptionAttributes: ReEncryptionAttributes | undefined;
|
|
1765
1765
|
}
|
|
@@ -1768,42 +1768,42 @@ export interface ReEncryptDataInput {
|
|
|
1768
1768
|
*/
|
|
1769
1769
|
export interface ReEncryptDataOutput {
|
|
1770
1770
|
/**
|
|
1771
|
-
* @public
|
|
1772
1771
|
* <p>The keyARN (Amazon Resource Name) of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.</p>
|
|
1772
|
+
* @public
|
|
1773
1773
|
*/
|
|
1774
1774
|
KeyArn: string | undefined;
|
|
1775
1775
|
/**
|
|
1776
|
-
* @public
|
|
1777
1776
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
1778
1777
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
1778
|
+
* @public
|
|
1779
1779
|
*/
|
|
1780
1780
|
KeyCheckValue: string | undefined;
|
|
1781
1781
|
/**
|
|
1782
|
-
* @public
|
|
1783
1782
|
* <p>The encrypted ciphertext.</p>
|
|
1783
|
+
* @public
|
|
1784
1784
|
*/
|
|
1785
1785
|
CipherText: string | undefined;
|
|
1786
1786
|
}
|
|
1787
1787
|
/**
|
|
1788
|
-
* @public
|
|
1789
1788
|
* <p>Parameters that are required for tranlation between ISO9564 PIN format 0,3,4 tranlation.</p>
|
|
1789
|
+
* @public
|
|
1790
1790
|
*/
|
|
1791
1791
|
export interface TranslationPinDataIsoFormat034 {
|
|
1792
1792
|
/**
|
|
1793
|
-
* @public
|
|
1794
1793
|
* <p>The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
|
|
1794
|
+
* @public
|
|
1795
1795
|
*/
|
|
1796
1796
|
PrimaryAccountNumber: string | undefined;
|
|
1797
1797
|
}
|
|
1798
1798
|
/**
|
|
1799
|
-
* @public
|
|
1800
1799
|
* <p>Parameters that are required for ISO9564 PIN format 1 tranlation.</p>
|
|
1800
|
+
* @public
|
|
1801
1801
|
*/
|
|
1802
1802
|
export interface TranslationPinDataIsoFormat1 {
|
|
1803
1803
|
}
|
|
1804
1804
|
/**
|
|
1805
|
-
* @public
|
|
1806
1805
|
* <p>Parameters that are required for translation between ISO9564 PIN block formats 0,1,3,4.</p>
|
|
1806
|
+
* @public
|
|
1807
1807
|
*/
|
|
1808
1808
|
export type TranslationIsoFormats = TranslationIsoFormats.IsoFormat0Member | TranslationIsoFormats.IsoFormat1Member | TranslationIsoFormats.IsoFormat3Member | TranslationIsoFormats.IsoFormat4Member | TranslationIsoFormats.$UnknownMember;
|
|
1809
1809
|
/**
|
|
@@ -1811,8 +1811,8 @@ export type TranslationIsoFormats = TranslationIsoFormats.IsoFormat0Member | Tra
|
|
|
1811
1811
|
*/
|
|
1812
1812
|
export declare namespace TranslationIsoFormats {
|
|
1813
1813
|
/**
|
|
1814
|
-
* @public
|
|
1815
1814
|
* <p>Parameters that are required for ISO9564 PIN format 0 tranlation.</p>
|
|
1815
|
+
* @public
|
|
1816
1816
|
*/
|
|
1817
1817
|
interface IsoFormat0Member {
|
|
1818
1818
|
IsoFormat0: TranslationPinDataIsoFormat034;
|
|
@@ -1822,8 +1822,8 @@ export declare namespace TranslationIsoFormats {
|
|
|
1822
1822
|
$unknown?: never;
|
|
1823
1823
|
}
|
|
1824
1824
|
/**
|
|
1825
|
-
* @public
|
|
1826
1825
|
* <p>Parameters that are required for ISO9564 PIN format 1 tranlation.</p>
|
|
1826
|
+
* @public
|
|
1827
1827
|
*/
|
|
1828
1828
|
interface IsoFormat1Member {
|
|
1829
1829
|
IsoFormat0?: never;
|
|
@@ -1833,8 +1833,8 @@ export declare namespace TranslationIsoFormats {
|
|
|
1833
1833
|
$unknown?: never;
|
|
1834
1834
|
}
|
|
1835
1835
|
/**
|
|
1836
|
-
* @public
|
|
1837
1836
|
* <p>Parameters that are required for ISO9564 PIN format 3 tranlation.</p>
|
|
1837
|
+
* @public
|
|
1838
1838
|
*/
|
|
1839
1839
|
interface IsoFormat3Member {
|
|
1840
1840
|
IsoFormat0?: never;
|
|
@@ -1844,8 +1844,8 @@ export declare namespace TranslationIsoFormats {
|
|
|
1844
1844
|
$unknown?: never;
|
|
1845
1845
|
}
|
|
1846
1846
|
/**
|
|
1847
|
-
* @public
|
|
1848
1847
|
* <p>Parameters that are required for ISO9564 PIN format 4 tranlation.</p>
|
|
1848
|
+
* @public
|
|
1849
1849
|
*/
|
|
1850
1850
|
interface IsoFormat4Member {
|
|
1851
1851
|
IsoFormat0?: never;
|
|
@@ -1878,38 +1878,38 @@ export declare namespace TranslationIsoFormats {
|
|
|
1878
1878
|
*/
|
|
1879
1879
|
export interface TranslatePinDataInput {
|
|
1880
1880
|
/**
|
|
1881
|
-
* @public
|
|
1882
1881
|
* <p>The <code>keyARN</code> of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK.</p>
|
|
1882
|
+
* @public
|
|
1883
1883
|
*/
|
|
1884
1884
|
IncomingKeyIdentifier: string | undefined;
|
|
1885
1885
|
/**
|
|
1886
|
-
* @public
|
|
1887
1886
|
* <p>The <code>keyARN</code> of the encryption key for encrypting outgoing PIN block data. This key type can be PEK or BDK.</p>
|
|
1887
|
+
* @public
|
|
1888
1888
|
*/
|
|
1889
1889
|
OutgoingKeyIdentifier: string | undefined;
|
|
1890
1890
|
/**
|
|
1891
|
-
* @public
|
|
1892
1891
|
* <p>The format of the incoming PIN block data for translation within Amazon Web Services Payment Cryptography.</p>
|
|
1892
|
+
* @public
|
|
1893
1893
|
*/
|
|
1894
1894
|
IncomingTranslationAttributes: TranslationIsoFormats | undefined;
|
|
1895
1895
|
/**
|
|
1896
|
-
* @public
|
|
1897
1896
|
* <p>The format of the outgoing PIN block data after translation by Amazon Web Services Payment Cryptography.</p>
|
|
1897
|
+
* @public
|
|
1898
1898
|
*/
|
|
1899
1899
|
OutgoingTranslationAttributes: TranslationIsoFormats | undefined;
|
|
1900
1900
|
/**
|
|
1901
|
-
* @public
|
|
1902
1901
|
* <p>The encrypted PIN block data that Amazon Web Services Payment Cryptography translates.</p>
|
|
1902
|
+
* @public
|
|
1903
1903
|
*/
|
|
1904
1904
|
EncryptedPinBlock: string | undefined;
|
|
1905
1905
|
/**
|
|
1906
|
-
* @public
|
|
1907
1906
|
* <p>The attributes and values to use for incoming DUKPT encryption key for PIN block translation.</p>
|
|
1907
|
+
* @public
|
|
1908
1908
|
*/
|
|
1909
1909
|
IncomingDukptAttributes?: DukptDerivationAttributes;
|
|
1910
1910
|
/**
|
|
1911
|
-
* @public
|
|
1912
1911
|
* <p>The attributes and values to use for outgoing DUKPT encryption key after PIN block translation.</p>
|
|
1912
|
+
* @public
|
|
1913
1913
|
*/
|
|
1914
1914
|
OutgoingDukptAttributes?: DukptDerivationAttributes;
|
|
1915
1915
|
}
|
|
@@ -1918,19 +1918,19 @@ export interface TranslatePinDataInput {
|
|
|
1918
1918
|
*/
|
|
1919
1919
|
export interface TranslatePinDataOutput {
|
|
1920
1920
|
/**
|
|
1921
|
-
* @public
|
|
1922
1921
|
* <p>The outgoing encrypted PIN block data after translation.</p>
|
|
1922
|
+
* @public
|
|
1923
1923
|
*/
|
|
1924
1924
|
PinBlock: string | undefined;
|
|
1925
1925
|
/**
|
|
1926
|
-
* @public
|
|
1927
1926
|
* <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses to encrypt outgoing PIN block data after translation.</p>
|
|
1927
|
+
* @public
|
|
1928
1928
|
*/
|
|
1929
1929
|
KeyArn: string | undefined;
|
|
1930
1930
|
/**
|
|
1931
|
-
* @public
|
|
1932
1931
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
1933
1932
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
1933
|
+
* @public
|
|
1934
1934
|
*/
|
|
1935
1935
|
KeyCheckValue: string | undefined;
|
|
1936
1936
|
}
|
|
@@ -1949,15 +1949,15 @@ export declare const VerificationFailedReason: {
|
|
|
1949
1949
|
*/
|
|
1950
1950
|
export type VerificationFailedReason = (typeof VerificationFailedReason)[keyof typeof VerificationFailedReason];
|
|
1951
1951
|
/**
|
|
1952
|
-
* @public
|
|
1953
1952
|
* <p>This request failed verification.</p>
|
|
1953
|
+
* @public
|
|
1954
1954
|
*/
|
|
1955
1955
|
export declare class VerificationFailedException extends __BaseException {
|
|
1956
1956
|
readonly name: "VerificationFailedException";
|
|
1957
1957
|
readonly $fault: "client";
|
|
1958
1958
|
/**
|
|
1959
|
-
* @public
|
|
1960
1959
|
* <p>The reason for the exception.</p>
|
|
1960
|
+
* @public
|
|
1961
1961
|
*/
|
|
1962
1962
|
Reason: VerificationFailedReason | undefined;
|
|
1963
1963
|
Message: string | undefined;
|
|
@@ -1967,108 +1967,108 @@ export declare class VerificationFailedException extends __BaseException {
|
|
|
1967
1967
|
constructor(opts: __ExceptionOptionType<VerificationFailedException, __BaseException>);
|
|
1968
1968
|
}
|
|
1969
1969
|
/**
|
|
1970
|
-
* @public
|
|
1971
1970
|
* <p>Parameters to derive session key for an Amex payment card.</p>
|
|
1971
|
+
* @public
|
|
1972
1972
|
*/
|
|
1973
1973
|
export interface SessionKeyAmex {
|
|
1974
1974
|
/**
|
|
1975
|
-
* @public
|
|
1976
1975
|
* <p>The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
|
|
1976
|
+
* @public
|
|
1977
1977
|
*/
|
|
1978
1978
|
PrimaryAccountNumber: string | undefined;
|
|
1979
1979
|
/**
|
|
1980
|
-
* @public
|
|
1981
1980
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
1981
|
+
* @public
|
|
1982
1982
|
*/
|
|
1983
1983
|
PanSequenceNumber: string | undefined;
|
|
1984
1984
|
}
|
|
1985
1985
|
/**
|
|
1986
|
-
* @public
|
|
1987
1986
|
* <p>Parameters to derive session key for an Emv2000 payment card for ARQC verification.</p>
|
|
1987
|
+
* @public
|
|
1988
1988
|
*/
|
|
1989
1989
|
export interface SessionKeyEmv2000 {
|
|
1990
1990
|
/**
|
|
1991
|
-
* @public
|
|
1992
1991
|
* <p>The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
|
|
1992
|
+
* @public
|
|
1993
1993
|
*/
|
|
1994
1994
|
PrimaryAccountNumber: string | undefined;
|
|
1995
1995
|
/**
|
|
1996
|
-
* @public
|
|
1997
1996
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
1997
|
+
* @public
|
|
1998
1998
|
*/
|
|
1999
1999
|
PanSequenceNumber: string | undefined;
|
|
2000
2000
|
/**
|
|
2001
|
-
* @public
|
|
2002
2001
|
* <p>The transaction counter that is provided by the terminal during transaction processing.</p>
|
|
2002
|
+
* @public
|
|
2003
2003
|
*/
|
|
2004
2004
|
ApplicationTransactionCounter: string | undefined;
|
|
2005
2005
|
}
|
|
2006
2006
|
/**
|
|
2007
|
-
* @public
|
|
2008
2007
|
* <p>Parameters to derive session key for an Emv common payment card for ARQC verification.</p>
|
|
2008
|
+
* @public
|
|
2009
2009
|
*/
|
|
2010
2010
|
export interface SessionKeyEmvCommon {
|
|
2011
2011
|
/**
|
|
2012
|
-
* @public
|
|
2013
2012
|
* <p>The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
|
|
2013
|
+
* @public
|
|
2014
2014
|
*/
|
|
2015
2015
|
PrimaryAccountNumber: string | undefined;
|
|
2016
2016
|
/**
|
|
2017
|
-
* @public
|
|
2018
2017
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
2018
|
+
* @public
|
|
2019
2019
|
*/
|
|
2020
2020
|
PanSequenceNumber: string | undefined;
|
|
2021
2021
|
/**
|
|
2022
|
-
* @public
|
|
2023
2022
|
* <p>The transaction counter that is provided by the terminal during transaction processing.</p>
|
|
2023
|
+
* @public
|
|
2024
2024
|
*/
|
|
2025
2025
|
ApplicationTransactionCounter: string | undefined;
|
|
2026
2026
|
}
|
|
2027
2027
|
/**
|
|
2028
|
-
* @public
|
|
2029
2028
|
* <p>Parameters to derive session key for Mastercard payment card for ARQC verification.</p>
|
|
2029
|
+
* @public
|
|
2030
2030
|
*/
|
|
2031
2031
|
export interface SessionKeyMastercard {
|
|
2032
2032
|
/**
|
|
2033
|
-
* @public
|
|
2034
2033
|
* <p>The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
|
|
2034
|
+
* @public
|
|
2035
2035
|
*/
|
|
2036
2036
|
PrimaryAccountNumber: string | undefined;
|
|
2037
2037
|
/**
|
|
2038
|
-
* @public
|
|
2039
2038
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
2039
|
+
* @public
|
|
2040
2040
|
*/
|
|
2041
2041
|
PanSequenceNumber: string | undefined;
|
|
2042
2042
|
/**
|
|
2043
|
-
* @public
|
|
2044
2043
|
* <p>The transaction counter that is provided by the terminal during transaction processing.</p>
|
|
2044
|
+
* @public
|
|
2045
2045
|
*/
|
|
2046
2046
|
ApplicationTransactionCounter: string | undefined;
|
|
2047
2047
|
/**
|
|
2048
|
-
* @public
|
|
2049
2048
|
* <p>A random number generated by the issuer.</p>
|
|
2049
|
+
* @public
|
|
2050
2050
|
*/
|
|
2051
2051
|
UnpredictableNumber: string | undefined;
|
|
2052
2052
|
}
|
|
2053
2053
|
/**
|
|
2054
|
-
* @public
|
|
2055
2054
|
* <p>Parameters to derive session key for Visa payment card for ARQC verification.</p>
|
|
2055
|
+
* @public
|
|
2056
2056
|
*/
|
|
2057
2057
|
export interface SessionKeyVisa {
|
|
2058
2058
|
/**
|
|
2059
|
-
* @public
|
|
2060
2059
|
* <p>The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
|
|
2060
|
+
* @public
|
|
2061
2061
|
*/
|
|
2062
2062
|
PrimaryAccountNumber: string | undefined;
|
|
2063
2063
|
/**
|
|
2064
|
-
* @public
|
|
2065
2064
|
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
2065
|
+
* @public
|
|
2066
2066
|
*/
|
|
2067
2067
|
PanSequenceNumber: string | undefined;
|
|
2068
2068
|
}
|
|
2069
2069
|
/**
|
|
2070
|
-
* @public
|
|
2071
2070
|
* <p>Parameters to derive a session key for Authorization Response Cryptogram (ARQC) verification.</p>
|
|
2071
|
+
* @public
|
|
2072
2072
|
*/
|
|
2073
2073
|
export type SessionKeyDerivation = SessionKeyDerivation.AmexMember | SessionKeyDerivation.Emv2000Member | SessionKeyDerivation.EmvCommonMember | SessionKeyDerivation.MastercardMember | SessionKeyDerivation.VisaMember | SessionKeyDerivation.$UnknownMember;
|
|
2074
2074
|
/**
|
|
@@ -2076,8 +2076,8 @@ export type SessionKeyDerivation = SessionKeyDerivation.AmexMember | SessionKeyD
|
|
|
2076
2076
|
*/
|
|
2077
2077
|
export declare namespace SessionKeyDerivation {
|
|
2078
2078
|
/**
|
|
2079
|
-
* @public
|
|
2080
2079
|
* <p>Parameters to derive session key for an Emv common payment card for ARQC verification.</p>
|
|
2080
|
+
* @public
|
|
2081
2081
|
*/
|
|
2082
2082
|
interface EmvCommonMember {
|
|
2083
2083
|
EmvCommon: SessionKeyEmvCommon;
|
|
@@ -2088,8 +2088,8 @@ export declare namespace SessionKeyDerivation {
|
|
|
2088
2088
|
$unknown?: never;
|
|
2089
2089
|
}
|
|
2090
2090
|
/**
|
|
2091
|
-
* @public
|
|
2092
2091
|
* <p>Parameters to derive session key for a Mastercard payment card for ARQC verification.</p>
|
|
2092
|
+
* @public
|
|
2093
2093
|
*/
|
|
2094
2094
|
interface MastercardMember {
|
|
2095
2095
|
EmvCommon?: never;
|
|
@@ -2100,8 +2100,8 @@ export declare namespace SessionKeyDerivation {
|
|
|
2100
2100
|
$unknown?: never;
|
|
2101
2101
|
}
|
|
2102
2102
|
/**
|
|
2103
|
-
* @public
|
|
2104
2103
|
* <p>Parameters to derive session key for an Emv2000 payment card for ARQC verification.</p>
|
|
2104
|
+
* @public
|
|
2105
2105
|
*/
|
|
2106
2106
|
interface Emv2000Member {
|
|
2107
2107
|
EmvCommon?: never;
|
|
@@ -2112,8 +2112,8 @@ export declare namespace SessionKeyDerivation {
|
|
|
2112
2112
|
$unknown?: never;
|
|
2113
2113
|
}
|
|
2114
2114
|
/**
|
|
2115
|
-
* @public
|
|
2116
2115
|
* <p>Parameters to derive session key for an Amex payment card for ARQC verification.</p>
|
|
2116
|
+
* @public
|
|
2117
2117
|
*/
|
|
2118
2118
|
interface AmexMember {
|
|
2119
2119
|
EmvCommon?: never;
|
|
@@ -2124,8 +2124,8 @@ export declare namespace SessionKeyDerivation {
|
|
|
2124
2124
|
$unknown?: never;
|
|
2125
2125
|
}
|
|
2126
2126
|
/**
|
|
2127
|
-
* @public
|
|
2128
2127
|
* <p>Parameters to derive session key for a Visa payment cardfor ARQC verification.</p>
|
|
2128
|
+
* @public
|
|
2129
2129
|
*/
|
|
2130
2130
|
interface VisaMember {
|
|
2131
2131
|
EmvCommon?: never;
|
|
@@ -2161,33 +2161,33 @@ export declare namespace SessionKeyDerivation {
|
|
|
2161
2161
|
*/
|
|
2162
2162
|
export interface VerifyAuthRequestCryptogramInput {
|
|
2163
2163
|
/**
|
|
2164
|
-
* @public
|
|
2165
2164
|
* <p>The <code>keyARN</code> of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.</p>
|
|
2165
|
+
* @public
|
|
2166
2166
|
*/
|
|
2167
2167
|
KeyIdentifier: string | undefined;
|
|
2168
2168
|
/**
|
|
2169
|
-
* @public
|
|
2170
2169
|
* <p>The transaction data that Amazon Web Services Payment Cryptography uses for ARQC verification. The same transaction is used for ARQC generation outside of Amazon Web Services Payment Cryptography.</p>
|
|
2170
|
+
* @public
|
|
2171
2171
|
*/
|
|
2172
2172
|
TransactionData: string | undefined;
|
|
2173
2173
|
/**
|
|
2174
|
-
* @public
|
|
2175
2174
|
* <p>The auth request cryptogram imported into Amazon Web Services Payment Cryptography for ARQC verification using a major encryption key and transaction data.</p>
|
|
2175
|
+
* @public
|
|
2176
2176
|
*/
|
|
2177
2177
|
AuthRequestCryptogram: string | undefined;
|
|
2178
2178
|
/**
|
|
2179
|
-
* @public
|
|
2180
2179
|
* <p>The method to use when deriving the major encryption key for ARQC verification within Amazon Web Services Payment Cryptography. The same key derivation mode was used for ARQC generation outside of Amazon Web Services Payment Cryptography.</p>
|
|
2180
|
+
* @public
|
|
2181
2181
|
*/
|
|
2182
2182
|
MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
|
|
2183
2183
|
/**
|
|
2184
|
-
* @public
|
|
2185
2184
|
* <p>The attributes and values to use for deriving a session key for ARQC verification within Amazon Web Services Payment Cryptography. The same attributes were used for ARQC generation outside of Amazon Web Services Payment Cryptography.</p>
|
|
2185
|
+
* @public
|
|
2186
2186
|
*/
|
|
2187
2187
|
SessionKeyDerivationAttributes: SessionKeyDerivation | undefined;
|
|
2188
2188
|
/**
|
|
2189
|
-
* @public
|
|
2190
2189
|
* <p>The attributes and values for auth request cryptogram verification. These parameters are required in case using ARPC Method 1 or Method 2 for ARQC verification.</p>
|
|
2190
|
+
* @public
|
|
2191
2191
|
*/
|
|
2192
2192
|
AuthResponseAttributes?: CryptogramAuthResponse;
|
|
2193
2193
|
}
|
|
@@ -2196,19 +2196,19 @@ export interface VerifyAuthRequestCryptogramInput {
|
|
|
2196
2196
|
*/
|
|
2197
2197
|
export interface VerifyAuthRequestCryptogramOutput {
|
|
2198
2198
|
/**
|
|
2199
|
-
* @public
|
|
2200
2199
|
* <p>The <code>keyARN</code> of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.</p>
|
|
2200
|
+
* @public
|
|
2201
2201
|
*/
|
|
2202
2202
|
KeyArn: string | undefined;
|
|
2203
2203
|
/**
|
|
2204
|
-
* @public
|
|
2205
2204
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
2206
2205
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
2206
|
+
* @public
|
|
2207
2207
|
*/
|
|
2208
2208
|
KeyCheckValue: string | undefined;
|
|
2209
2209
|
/**
|
|
2210
|
-
* @public
|
|
2211
2210
|
* <p>The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography.</p>
|
|
2211
|
+
* @public
|
|
2212
2212
|
*/
|
|
2213
2213
|
AuthResponseValue?: string;
|
|
2214
2214
|
}
|
|
@@ -2217,23 +2217,23 @@ export interface VerifyAuthRequestCryptogramOutput {
|
|
|
2217
2217
|
*/
|
|
2218
2218
|
export interface VerifyCardValidationDataInput {
|
|
2219
2219
|
/**
|
|
2220
|
-
* @public
|
|
2221
2220
|
* <p>The <code>keyARN</code> of the CVK encryption key that Amazon Web Services Payment Cryptography uses to verify card data.</p>
|
|
2221
|
+
* @public
|
|
2222
2222
|
*/
|
|
2223
2223
|
KeyIdentifier: string | undefined;
|
|
2224
2224
|
/**
|
|
2225
|
-
* @public
|
|
2226
2225
|
* <p>The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.</p>
|
|
2226
|
+
* @public
|
|
2227
2227
|
*/
|
|
2228
2228
|
PrimaryAccountNumber: string | undefined;
|
|
2229
2229
|
/**
|
|
2230
|
-
* @public
|
|
2231
2230
|
* <p>The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.</p>
|
|
2231
|
+
* @public
|
|
2232
2232
|
*/
|
|
2233
2233
|
VerificationAttributes: CardVerificationAttributes | undefined;
|
|
2234
2234
|
/**
|
|
2235
|
-
* @public
|
|
2236
2235
|
* <p>The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.</p>
|
|
2236
|
+
* @public
|
|
2237
2237
|
*/
|
|
2238
2238
|
ValidationData: string | undefined;
|
|
2239
2239
|
}
|
|
@@ -2242,14 +2242,14 @@ export interface VerifyCardValidationDataInput {
|
|
|
2242
2242
|
*/
|
|
2243
2243
|
export interface VerifyCardValidationDataOutput {
|
|
2244
2244
|
/**
|
|
2245
|
-
* @public
|
|
2246
2245
|
* <p>The <code>keyARN</code> of the CVK encryption key that Amazon Web Services Payment Cryptography uses to verify CVV or CSC.</p>
|
|
2246
|
+
* @public
|
|
2247
2247
|
*/
|
|
2248
2248
|
KeyArn: string | undefined;
|
|
2249
2249
|
/**
|
|
2250
|
-
* @public
|
|
2251
2250
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
2252
2251
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
2252
|
+
* @public
|
|
2253
2253
|
*/
|
|
2254
2254
|
KeyCheckValue: string | undefined;
|
|
2255
2255
|
}
|
|
@@ -2258,28 +2258,28 @@ export interface VerifyCardValidationDataOutput {
|
|
|
2258
2258
|
*/
|
|
2259
2259
|
export interface VerifyMacInput {
|
|
2260
2260
|
/**
|
|
2261
|
-
* @public
|
|
2262
2261
|
* <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.</p>
|
|
2262
|
+
* @public
|
|
2263
2263
|
*/
|
|
2264
2264
|
KeyIdentifier: string | undefined;
|
|
2265
2265
|
/**
|
|
2266
|
-
* @public
|
|
2267
2266
|
* <p>The data on for which MAC is under verification. This value must be hexBinary.</p>
|
|
2267
|
+
* @public
|
|
2268
2268
|
*/
|
|
2269
2269
|
MessageData: string | undefined;
|
|
2270
2270
|
/**
|
|
2271
|
-
* @public
|
|
2272
2271
|
* <p>The MAC being verified.</p>
|
|
2272
|
+
* @public
|
|
2273
2273
|
*/
|
|
2274
2274
|
Mac: string | undefined;
|
|
2275
2275
|
/**
|
|
2276
|
-
* @public
|
|
2277
2276
|
* <p>The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.</p>
|
|
2277
|
+
* @public
|
|
2278
2278
|
*/
|
|
2279
2279
|
VerificationAttributes: MacAttributes | undefined;
|
|
2280
2280
|
/**
|
|
2281
|
-
* @public
|
|
2282
2281
|
* <p>The length of the MAC.</p>
|
|
2282
|
+
* @public
|
|
2283
2283
|
*/
|
|
2284
2284
|
MacLength?: number;
|
|
2285
2285
|
}
|
|
@@ -2288,36 +2288,36 @@ export interface VerifyMacInput {
|
|
|
2288
2288
|
*/
|
|
2289
2289
|
export interface VerifyMacOutput {
|
|
2290
2290
|
/**
|
|
2291
|
-
* @public
|
|
2292
2291
|
* <p>The <code>keyARN</code> of the encryption key that Amazon Web Services Payment Cryptography uses for MAC verification.</p>
|
|
2292
|
+
* @public
|
|
2293
2293
|
*/
|
|
2294
2294
|
KeyArn: string | undefined;
|
|
2295
2295
|
/**
|
|
2296
|
-
* @public
|
|
2297
2296
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
2298
2297
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
2298
|
+
* @public
|
|
2299
2299
|
*/
|
|
2300
2300
|
KeyCheckValue: string | undefined;
|
|
2301
2301
|
}
|
|
2302
2302
|
/**
|
|
2303
|
-
* @public
|
|
2304
2303
|
* <p>Parameters that are required to generate or verify Visa PIN.</p>
|
|
2304
|
+
* @public
|
|
2305
2305
|
*/
|
|
2306
2306
|
export interface VisaPinVerification {
|
|
2307
2307
|
/**
|
|
2308
|
-
* @public
|
|
2309
2308
|
* <p>The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).</p>
|
|
2309
|
+
* @public
|
|
2310
2310
|
*/
|
|
2311
2311
|
PinVerificationKeyIndex: number | undefined;
|
|
2312
2312
|
/**
|
|
2313
|
-
* @public
|
|
2314
2313
|
* <p>Parameters that are required to generate or verify Visa PVV (PIN Verification Value).</p>
|
|
2314
|
+
* @public
|
|
2315
2315
|
*/
|
|
2316
2316
|
VerificationValue: string | undefined;
|
|
2317
2317
|
}
|
|
2318
2318
|
/**
|
|
2319
|
-
* @public
|
|
2320
2319
|
* <p>Parameters that are required for PIN data verification.</p>
|
|
2320
|
+
* @public
|
|
2321
2321
|
*/
|
|
2322
2322
|
export type PinVerificationAttributes = PinVerificationAttributes.Ibm3624PinMember | PinVerificationAttributes.VisaPinMember | PinVerificationAttributes.$UnknownMember;
|
|
2323
2323
|
/**
|
|
@@ -2325,8 +2325,8 @@ export type PinVerificationAttributes = PinVerificationAttributes.Ibm3624PinMemb
|
|
|
2325
2325
|
*/
|
|
2326
2326
|
export declare namespace PinVerificationAttributes {
|
|
2327
2327
|
/**
|
|
2328
|
-
* @public
|
|
2329
2328
|
* <p>Parameters that are required to generate or verify Visa PIN.</p>
|
|
2329
|
+
* @public
|
|
2330
2330
|
*/
|
|
2331
2331
|
interface VisaPinMember {
|
|
2332
2332
|
VisaPin: VisaPinVerification;
|
|
@@ -2334,8 +2334,8 @@ export declare namespace PinVerificationAttributes {
|
|
|
2334
2334
|
$unknown?: never;
|
|
2335
2335
|
}
|
|
2336
2336
|
/**
|
|
2337
|
-
* @public
|
|
2338
2337
|
* <p>Parameters that are required to generate or verify Ibm3624 PIN.</p>
|
|
2338
|
+
* @public
|
|
2339
2339
|
*/
|
|
2340
2340
|
interface Ibm3624PinMember {
|
|
2341
2341
|
VisaPin?: never;
|
|
@@ -2362,45 +2362,45 @@ export declare namespace PinVerificationAttributes {
|
|
|
2362
2362
|
*/
|
|
2363
2363
|
export interface VerifyPinDataInput {
|
|
2364
2364
|
/**
|
|
2365
|
-
* @public
|
|
2366
2365
|
* <p>The <code>keyARN</code> of the PIN verification key.</p>
|
|
2366
|
+
* @public
|
|
2367
2367
|
*/
|
|
2368
2368
|
VerificationKeyIdentifier: string | undefined;
|
|
2369
2369
|
/**
|
|
2370
|
-
* @public
|
|
2371
2370
|
* <p>The <code>keyARN</code> of the encryption key under which the PIN block data is encrypted. This key type can be PEK or BDK.</p>
|
|
2371
|
+
* @public
|
|
2372
2372
|
*/
|
|
2373
2373
|
EncryptionKeyIdentifier: string | undefined;
|
|
2374
2374
|
/**
|
|
2375
|
-
* @public
|
|
2376
2375
|
* <p>The attributes and values for PIN data verification.</p>
|
|
2376
|
+
* @public
|
|
2377
2377
|
*/
|
|
2378
2378
|
VerificationAttributes: PinVerificationAttributes | undefined;
|
|
2379
2379
|
/**
|
|
2380
|
-
* @public
|
|
2381
2380
|
* <p>The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.</p>
|
|
2381
|
+
* @public
|
|
2382
2382
|
*/
|
|
2383
2383
|
EncryptedPinBlock: string | undefined;
|
|
2384
2384
|
/**
|
|
2385
|
-
* @public
|
|
2386
2385
|
* <p>The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.</p>
|
|
2386
|
+
* @public
|
|
2387
2387
|
*/
|
|
2388
2388
|
PrimaryAccountNumber: string | undefined;
|
|
2389
2389
|
/**
|
|
2390
|
-
* @public
|
|
2391
2390
|
* <p>The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports <code>ISO_Format_0</code> and <code>ISO_Format_3</code>.</p>
|
|
2392
2391
|
* <p>The <code>ISO_Format_0</code> PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.</p>
|
|
2393
2392
|
* <p>The <code>ISO_Format_3</code> PIN block format is the same as <code>ISO_Format_0</code> except that the fill digits are random values from 10 to 15.</p>
|
|
2393
|
+
* @public
|
|
2394
2394
|
*/
|
|
2395
2395
|
PinBlockFormat: PinBlockFormatForPinData | undefined;
|
|
2396
2396
|
/**
|
|
2397
|
-
* @public
|
|
2398
2397
|
* <p>The length of PIN being verified.</p>
|
|
2398
|
+
* @public
|
|
2399
2399
|
*/
|
|
2400
2400
|
PinDataLength?: number;
|
|
2401
2401
|
/**
|
|
2402
|
-
* @public
|
|
2403
2402
|
* <p>The attributes and values for the DUKPT encrypted PIN block data.</p>
|
|
2403
|
+
* @public
|
|
2404
2404
|
*/
|
|
2405
2405
|
DukptAttributes?: DukptAttributes;
|
|
2406
2406
|
}
|
|
@@ -2409,25 +2409,25 @@ export interface VerifyPinDataInput {
|
|
|
2409
2409
|
*/
|
|
2410
2410
|
export interface VerifyPinDataOutput {
|
|
2411
2411
|
/**
|
|
2412
|
-
* @public
|
|
2413
2412
|
* <p>The <code>keyARN</code> of the PIN encryption key that Amazon Web Services Payment Cryptography uses for PIN or PIN Offset verification.</p>
|
|
2413
|
+
* @public
|
|
2414
2414
|
*/
|
|
2415
2415
|
VerificationKeyArn: string | undefined;
|
|
2416
2416
|
/**
|
|
2417
|
-
* @public
|
|
2418
2417
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
2419
2418
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
2419
|
+
* @public
|
|
2420
2420
|
*/
|
|
2421
2421
|
VerificationKeyCheckValue: string | undefined;
|
|
2422
2422
|
/**
|
|
2423
|
-
* @public
|
|
2424
2423
|
* <p>The <code>keyARN</code> of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.</p>
|
|
2424
|
+
* @public
|
|
2425
2425
|
*/
|
|
2426
2426
|
EncryptionKeyArn: string | undefined;
|
|
2427
2427
|
/**
|
|
2428
|
-
* @public
|
|
2429
2428
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
2430
2429
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
2430
|
+
* @public
|
|
2431
2431
|
*/
|
|
2432
2432
|
EncryptionKeyCheckValue: string | undefined;
|
|
2433
2433
|
}
|