aws-sdk-paymentcryptographydata 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptographydata/client.rb +352 -280
- data/lib/aws-sdk-paymentcryptographydata/client_api.rb +125 -104
- data/lib/aws-sdk-paymentcryptographydata/errors.rb +8 -8
- data/lib/aws-sdk-paymentcryptographydata/types.rb +582 -477
- data/lib/aws-sdk-paymentcryptographydata/waiters.rb +15 -0
- data/lib/aws-sdk-paymentcryptographydata.rb +2 -1
- data/sig/client.rbs +233 -197
- data/sig/errors.rbs +2 -2
- data/sig/types.rbs +131 -108
- metadata +5 -4
data/sig/errors.rbs
CHANGED
@@ -24,12 +24,12 @@ module Aws
|
|
24
24
|
def message: () -> ::String
|
25
25
|
end
|
26
26
|
class ValidationException < ::Aws::Errors::ServiceError
|
27
|
-
def field_list: () -> ::String
|
28
27
|
def message: () -> ::String
|
28
|
+
def field_list: () -> ::String
|
29
29
|
end
|
30
30
|
class VerificationFailedException < ::Aws::Errors::ServiceError
|
31
|
-
def message: () -> ::String
|
32
31
|
def reason: () -> ::String
|
32
|
+
def message: () -> ::String
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
data/sig/types.rbs
CHANGED
@@ -32,9 +32,9 @@ module Aws::PaymentCryptographyData
|
|
32
32
|
class CardGenerationAttributes
|
33
33
|
attr_accessor amex_card_security_code_version_1: Types::AmexCardSecurityCodeVersion1
|
34
34
|
attr_accessor amex_card_security_code_version_2: Types::AmexCardSecurityCodeVersion2
|
35
|
-
attr_accessor card_holder_verification_value: Types::CardHolderVerificationValue
|
36
35
|
attr_accessor card_verification_value_1: Types::CardVerificationValue1
|
37
36
|
attr_accessor card_verification_value_2: Types::CardVerificationValue2
|
37
|
+
attr_accessor card_holder_verification_value: Types::CardHolderVerificationValue
|
38
38
|
attr_accessor dynamic_card_verification_code: Types::DynamicCardVerificationCode
|
39
39
|
attr_accessor dynamic_card_verification_value: Types::DynamicCardVerificationValue
|
40
40
|
attr_accessor unknown: untyped
|
@@ -44,12 +44,12 @@ module Aws::PaymentCryptographyData
|
|
44
44
|
end
|
45
45
|
class AmexCardSecurityCodeVersion2 < CardGenerationAttributes
|
46
46
|
end
|
47
|
-
class CardHolderVerificationValue < CardGenerationAttributes
|
48
|
-
end
|
49
47
|
class CardVerificationValue1 < CardGenerationAttributes
|
50
48
|
end
|
51
49
|
class CardVerificationValue2 < CardGenerationAttributes
|
52
50
|
end
|
51
|
+
class CardHolderVerificationValue < CardGenerationAttributes
|
52
|
+
end
|
53
53
|
class DynamicCardVerificationCode < CardGenerationAttributes
|
54
54
|
end
|
55
55
|
class DynamicCardVerificationValue < CardGenerationAttributes
|
@@ -59,21 +59,21 @@ module Aws::PaymentCryptographyData
|
|
59
59
|
end
|
60
60
|
|
61
61
|
class CardHolderVerificationValue
|
62
|
-
attr_accessor application_transaction_counter: ::String
|
63
|
-
attr_accessor pan_sequence_number: ::String
|
64
62
|
attr_accessor unpredictable_number: ::String
|
63
|
+
attr_accessor pan_sequence_number: ::String
|
64
|
+
attr_accessor application_transaction_counter: ::String
|
65
65
|
SENSITIVE: []
|
66
66
|
end
|
67
67
|
|
68
68
|
class CardVerificationAttributes
|
69
69
|
attr_accessor amex_card_security_code_version_1: Types::AmexCardSecurityCodeVersion1
|
70
70
|
attr_accessor amex_card_security_code_version_2: Types::AmexCardSecurityCodeVersion2
|
71
|
-
attr_accessor card_holder_verification_value: Types::CardHolderVerificationValue
|
72
71
|
attr_accessor card_verification_value_1: Types::CardVerificationValue1
|
73
72
|
attr_accessor card_verification_value_2: Types::CardVerificationValue2
|
74
|
-
attr_accessor
|
73
|
+
attr_accessor card_holder_verification_value: Types::CardHolderVerificationValue
|
75
74
|
attr_accessor dynamic_card_verification_code: Types::DynamicCardVerificationCode
|
76
75
|
attr_accessor dynamic_card_verification_value: Types::DynamicCardVerificationValue
|
76
|
+
attr_accessor discover_dynamic_card_verification_code: Types::DiscoverDynamicCardVerificationCode
|
77
77
|
attr_accessor unknown: untyped
|
78
78
|
SENSITIVE: []
|
79
79
|
|
@@ -81,18 +81,18 @@ module Aws::PaymentCryptographyData
|
|
81
81
|
end
|
82
82
|
class AmexCardSecurityCodeVersion2 < CardVerificationAttributes
|
83
83
|
end
|
84
|
-
class CardHolderVerificationValue < CardVerificationAttributes
|
85
|
-
end
|
86
84
|
class CardVerificationValue1 < CardVerificationAttributes
|
87
85
|
end
|
88
86
|
class CardVerificationValue2 < CardVerificationAttributes
|
89
87
|
end
|
90
|
-
class
|
88
|
+
class CardHolderVerificationValue < CardVerificationAttributes
|
91
89
|
end
|
92
90
|
class DynamicCardVerificationCode < CardVerificationAttributes
|
93
91
|
end
|
94
92
|
class DynamicCardVerificationValue < CardVerificationAttributes
|
95
93
|
end
|
94
|
+
class DiscoverDynamicCardVerificationCode < CardVerificationAttributes
|
95
|
+
end
|
96
96
|
class Unknown < CardVerificationAttributes
|
97
97
|
end
|
98
98
|
end
|
@@ -134,9 +134,10 @@ module Aws::PaymentCryptographyData
|
|
134
134
|
end
|
135
135
|
|
136
136
|
class DecryptDataInput
|
137
|
+
attr_accessor key_identifier: ::String
|
137
138
|
attr_accessor cipher_text: ::String
|
138
139
|
attr_accessor decryption_attributes: Types::EncryptionDecryptionAttributes
|
139
|
-
attr_accessor
|
140
|
+
attr_accessor wrapped_key: Types::WrappedKey
|
140
141
|
SENSITIVE: [:cipher_text]
|
141
142
|
end
|
142
143
|
|
@@ -148,98 +149,99 @@ module Aws::PaymentCryptographyData
|
|
148
149
|
end
|
149
150
|
|
150
151
|
class DiscoverDynamicCardVerificationCode
|
151
|
-
attr_accessor application_transaction_counter: ::String
|
152
152
|
attr_accessor card_expiry_date: ::String
|
153
153
|
attr_accessor unpredictable_number: ::String
|
154
|
+
attr_accessor application_transaction_counter: ::String
|
154
155
|
SENSITIVE: []
|
155
156
|
end
|
156
157
|
|
157
158
|
class DukptAttributes
|
158
|
-
attr_accessor dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")
|
159
159
|
attr_accessor key_serial_number: ::String
|
160
|
+
attr_accessor dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")
|
160
161
|
SENSITIVE: []
|
161
162
|
end
|
162
163
|
|
163
164
|
class DukptDerivationAttributes
|
165
|
+
attr_accessor key_serial_number: ::String
|
164
166
|
attr_accessor dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")
|
165
167
|
attr_accessor dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")
|
166
|
-
attr_accessor key_serial_number: ::String
|
167
168
|
SENSITIVE: []
|
168
169
|
end
|
169
170
|
|
170
171
|
class DukptEncryptionAttributes
|
172
|
+
attr_accessor key_serial_number: ::String
|
173
|
+
attr_accessor mode: ("ECB" | "CBC")
|
171
174
|
attr_accessor dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")
|
172
175
|
attr_accessor dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")
|
173
176
|
attr_accessor initialization_vector: ::String
|
174
|
-
attr_accessor key_serial_number: ::String
|
175
|
-
attr_accessor mode: ("ECB" | "CBC")
|
176
177
|
SENSITIVE: [:initialization_vector]
|
177
178
|
end
|
178
179
|
|
179
180
|
class DynamicCardVerificationCode
|
180
|
-
attr_accessor
|
181
|
+
attr_accessor unpredictable_number: ::String
|
181
182
|
attr_accessor pan_sequence_number: ::String
|
183
|
+
attr_accessor application_transaction_counter: ::String
|
182
184
|
attr_accessor track_data: ::String
|
183
|
-
attr_accessor unpredictable_number: ::String
|
184
185
|
SENSITIVE: []
|
185
186
|
end
|
186
187
|
|
187
188
|
class DynamicCardVerificationValue
|
188
|
-
attr_accessor application_transaction_counter: ::String
|
189
|
-
attr_accessor card_expiry_date: ::String
|
190
189
|
attr_accessor pan_sequence_number: ::String
|
190
|
+
attr_accessor card_expiry_date: ::String
|
191
191
|
attr_accessor service_code: ::String
|
192
|
+
attr_accessor application_transaction_counter: ::String
|
192
193
|
SENSITIVE: []
|
193
194
|
end
|
194
195
|
|
195
196
|
class EmvEncryptionAttributes
|
196
|
-
attr_accessor initialization_vector: ::String
|
197
197
|
attr_accessor major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B")
|
198
|
-
attr_accessor mode: ("ECB" | "CBC")
|
199
|
-
attr_accessor pan_sequence_number: ::String
|
200
198
|
attr_accessor primary_account_number: ::String
|
199
|
+
attr_accessor pan_sequence_number: ::String
|
201
200
|
attr_accessor session_derivation_data: ::String
|
202
|
-
|
201
|
+
attr_accessor mode: ("ECB" | "CBC")
|
202
|
+
attr_accessor initialization_vector: ::String
|
203
|
+
SENSITIVE: [:primary_account_number, :initialization_vector]
|
203
204
|
end
|
204
205
|
|
205
206
|
class EncryptDataInput
|
206
|
-
attr_accessor encryption_attributes: Types::EncryptionDecryptionAttributes
|
207
207
|
attr_accessor key_identifier: ::String
|
208
208
|
attr_accessor plain_text: ::String
|
209
|
+
attr_accessor encryption_attributes: Types::EncryptionDecryptionAttributes
|
210
|
+
attr_accessor wrapped_key: Types::WrappedKey
|
209
211
|
SENSITIVE: [:plain_text]
|
210
212
|
end
|
211
213
|
|
212
214
|
class EncryptDataOutput
|
213
|
-
attr_accessor cipher_text: ::String
|
214
215
|
attr_accessor key_arn: ::String
|
215
216
|
attr_accessor key_check_value: ::String
|
217
|
+
attr_accessor cipher_text: ::String
|
216
218
|
SENSITIVE: [:cipher_text]
|
217
219
|
end
|
218
220
|
|
219
221
|
class EncryptionDecryptionAttributes
|
222
|
+
attr_accessor symmetric: Types::SymmetricEncryptionAttributes
|
220
223
|
attr_accessor asymmetric: Types::AsymmetricEncryptionAttributes
|
221
224
|
attr_accessor dukpt: Types::DukptEncryptionAttributes
|
222
225
|
attr_accessor emv: Types::EmvEncryptionAttributes
|
223
|
-
attr_accessor symmetric: Types::SymmetricEncryptionAttributes
|
224
226
|
attr_accessor unknown: untyped
|
225
227
|
SENSITIVE: []
|
226
228
|
|
229
|
+
class Symmetric < EncryptionDecryptionAttributes
|
230
|
+
end
|
227
231
|
class Asymmetric < EncryptionDecryptionAttributes
|
228
232
|
end
|
229
233
|
class Dukpt < EncryptionDecryptionAttributes
|
230
234
|
end
|
231
235
|
class Emv < EncryptionDecryptionAttributes
|
232
236
|
end
|
233
|
-
class Symmetric < EncryptionDecryptionAttributes
|
234
|
-
end
|
235
237
|
class Unknown < EncryptionDecryptionAttributes
|
236
238
|
end
|
237
239
|
end
|
238
240
|
|
239
241
|
class GenerateCardValidationDataInput
|
240
|
-
attr_accessor generation_attributes: Types::CardGenerationAttributes
|
241
242
|
attr_accessor key_identifier: ::String
|
242
243
|
attr_accessor primary_account_number: ::String
|
244
|
+
attr_accessor generation_attributes: Types::CardGenerationAttributes
|
243
245
|
attr_accessor validation_data_length: ::Integer
|
244
246
|
SENSITIVE: [:primary_account_number]
|
245
247
|
end
|
@@ -252,10 +254,10 @@ module Aws::PaymentCryptographyData
|
|
252
254
|
end
|
253
255
|
|
254
256
|
class GenerateMacInput
|
255
|
-
attr_accessor generation_attributes: Types::MacAttributes
|
256
257
|
attr_accessor key_identifier: ::String
|
257
|
-
attr_accessor mac_length: ::Integer
|
258
258
|
attr_accessor message_data: ::String
|
259
|
+
attr_accessor generation_attributes: Types::MacAttributes
|
260
|
+
attr_accessor mac_length: ::Integer
|
259
261
|
SENSITIVE: [:message_data]
|
260
262
|
end
|
261
263
|
|
@@ -267,60 +269,60 @@ module Aws::PaymentCryptographyData
|
|
267
269
|
end
|
268
270
|
|
269
271
|
class GeneratePinDataInput
|
272
|
+
attr_accessor generation_key_identifier: ::String
|
270
273
|
attr_accessor encryption_key_identifier: ::String
|
271
274
|
attr_accessor generation_attributes: Types::PinGenerationAttributes
|
272
|
-
attr_accessor generation_key_identifier: ::String
|
273
|
-
attr_accessor pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3")
|
274
275
|
attr_accessor pin_data_length: ::Integer
|
275
276
|
attr_accessor primary_account_number: ::String
|
277
|
+
attr_accessor pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3")
|
276
278
|
SENSITIVE: [:primary_account_number]
|
277
279
|
end
|
278
280
|
|
279
281
|
class GeneratePinDataOutput
|
280
|
-
attr_accessor encrypted_pin_block: ::String
|
281
|
-
attr_accessor encryption_key_arn: ::String
|
282
|
-
attr_accessor encryption_key_check_value: ::String
|
283
282
|
attr_accessor generation_key_arn: ::String
|
284
283
|
attr_accessor generation_key_check_value: ::String
|
284
|
+
attr_accessor encryption_key_arn: ::String
|
285
|
+
attr_accessor encryption_key_check_value: ::String
|
286
|
+
attr_accessor encrypted_pin_block: ::String
|
285
287
|
attr_accessor pin_data: Types::PinData
|
286
288
|
SENSITIVE: []
|
287
289
|
end
|
288
290
|
|
289
291
|
class Ibm3624NaturalPin
|
290
292
|
attr_accessor decimalization_table: ::String
|
291
|
-
attr_accessor pin_validation_data: ::String
|
292
293
|
attr_accessor pin_validation_data_pad_character: ::String
|
294
|
+
attr_accessor pin_validation_data: ::String
|
293
295
|
SENSITIVE: []
|
294
296
|
end
|
295
297
|
|
296
298
|
class Ibm3624PinFromOffset
|
297
299
|
attr_accessor decimalization_table: ::String
|
298
|
-
attr_accessor pin_offset: ::String
|
299
|
-
attr_accessor pin_validation_data: ::String
|
300
300
|
attr_accessor pin_validation_data_pad_character: ::String
|
301
|
+
attr_accessor pin_validation_data: ::String
|
302
|
+
attr_accessor pin_offset: ::String
|
301
303
|
SENSITIVE: []
|
302
304
|
end
|
303
305
|
|
304
306
|
class Ibm3624PinOffset
|
305
|
-
attr_accessor decimalization_table: ::String
|
306
307
|
attr_accessor encrypted_pin_block: ::String
|
307
|
-
attr_accessor
|
308
|
+
attr_accessor decimalization_table: ::String
|
308
309
|
attr_accessor pin_validation_data_pad_character: ::String
|
310
|
+
attr_accessor pin_validation_data: ::String
|
309
311
|
SENSITIVE: []
|
310
312
|
end
|
311
313
|
|
312
314
|
class Ibm3624PinVerification
|
313
315
|
attr_accessor decimalization_table: ::String
|
314
|
-
attr_accessor pin_offset: ::String
|
315
|
-
attr_accessor pin_validation_data: ::String
|
316
316
|
attr_accessor pin_validation_data_pad_character: ::String
|
317
|
+
attr_accessor pin_validation_data: ::String
|
318
|
+
attr_accessor pin_offset: ::String
|
317
319
|
SENSITIVE: []
|
318
320
|
end
|
319
321
|
|
320
322
|
class Ibm3624RandomPin
|
321
323
|
attr_accessor decimalization_table: ::String
|
322
|
-
attr_accessor pin_validation_data: ::String
|
323
324
|
attr_accessor pin_validation_data_pad_character: ::String
|
325
|
+
attr_accessor pin_validation_data: ::String
|
324
326
|
SENSITIVE: []
|
325
327
|
end
|
326
328
|
|
@@ -330,16 +332,16 @@ module Aws::PaymentCryptographyData
|
|
330
332
|
end
|
331
333
|
|
332
334
|
class MacAlgorithmDukpt
|
333
|
-
attr_accessor dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")
|
334
|
-
attr_accessor dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")
|
335
335
|
attr_accessor key_serial_number: ::String
|
336
|
+
attr_accessor dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")
|
337
|
+
attr_accessor dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")
|
336
338
|
SENSITIVE: []
|
337
339
|
end
|
338
340
|
|
339
341
|
class MacAlgorithmEmv
|
340
342
|
attr_accessor major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B")
|
341
|
-
attr_accessor pan_sequence_number: ::String
|
342
343
|
attr_accessor primary_account_number: ::String
|
344
|
+
attr_accessor pan_sequence_number: ::String
|
343
345
|
attr_accessor session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA")
|
344
346
|
attr_accessor session_key_derivation_value: Types::SessionKeyDerivationValue
|
345
347
|
SENSITIVE: [:primary_account_number]
|
@@ -347,22 +349,22 @@ module Aws::PaymentCryptographyData
|
|
347
349
|
|
348
350
|
class MacAttributes
|
349
351
|
attr_accessor algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512")
|
350
|
-
attr_accessor
|
352
|
+
attr_accessor emv_mac: Types::MacAlgorithmEmv
|
351
353
|
attr_accessor dukpt_iso_9797_algorithm_1: Types::MacAlgorithmDukpt
|
352
354
|
attr_accessor dukpt_iso_9797_algorithm_3: Types::MacAlgorithmDukpt
|
353
|
-
attr_accessor
|
355
|
+
attr_accessor dukpt_cmac: Types::MacAlgorithmDukpt
|
354
356
|
attr_accessor unknown: untyped
|
355
357
|
SENSITIVE: []
|
356
358
|
|
357
359
|
class Algorithm < MacAttributes
|
358
360
|
end
|
359
|
-
class
|
361
|
+
class EmvMac < MacAttributes
|
360
362
|
end
|
361
363
|
class DukptIso9797Algorithm1 < MacAttributes
|
362
364
|
end
|
363
365
|
class DukptIso9797Algorithm3 < MacAttributes
|
364
366
|
end
|
365
|
-
class
|
367
|
+
class DukptCmac < MacAttributes
|
366
368
|
end
|
367
369
|
class Unknown < MacAttributes
|
368
370
|
end
|
@@ -383,71 +385,73 @@ module Aws::PaymentCryptographyData
|
|
383
385
|
end
|
384
386
|
|
385
387
|
class PinGenerationAttributes
|
386
|
-
attr_accessor ibm_3624_natural_pin: Types::Ibm3624NaturalPin
|
387
|
-
attr_accessor ibm_3624_pin_from_offset: Types::Ibm3624PinFromOffset
|
388
|
-
attr_accessor ibm_3624_pin_offset: Types::Ibm3624PinOffset
|
389
|
-
attr_accessor ibm_3624_random_pin: Types::Ibm3624RandomPin
|
390
388
|
attr_accessor visa_pin: Types::VisaPin
|
391
389
|
attr_accessor visa_pin_verification_value: Types::VisaPinVerificationValue
|
390
|
+
attr_accessor ibm_3624_pin_offset: Types::Ibm3624PinOffset
|
391
|
+
attr_accessor ibm_3624_natural_pin: Types::Ibm3624NaturalPin
|
392
|
+
attr_accessor ibm_3624_random_pin: Types::Ibm3624RandomPin
|
393
|
+
attr_accessor ibm_3624_pin_from_offset: Types::Ibm3624PinFromOffset
|
392
394
|
attr_accessor unknown: untyped
|
393
395
|
SENSITIVE: []
|
394
396
|
|
395
|
-
class
|
397
|
+
class VisaPin < PinGenerationAttributes
|
396
398
|
end
|
397
|
-
class
|
399
|
+
class VisaPinVerificationValue < PinGenerationAttributes
|
398
400
|
end
|
399
401
|
class Ibm3624PinOffset < PinGenerationAttributes
|
400
402
|
end
|
401
|
-
class
|
403
|
+
class Ibm3624NaturalPin < PinGenerationAttributes
|
402
404
|
end
|
403
|
-
class
|
405
|
+
class Ibm3624RandomPin < PinGenerationAttributes
|
404
406
|
end
|
405
|
-
class
|
407
|
+
class Ibm3624PinFromOffset < PinGenerationAttributes
|
406
408
|
end
|
407
409
|
class Unknown < PinGenerationAttributes
|
408
410
|
end
|
409
411
|
end
|
410
412
|
|
411
413
|
class PinVerificationAttributes
|
412
|
-
attr_accessor ibm_3624_pin: Types::Ibm3624PinVerification
|
413
414
|
attr_accessor visa_pin: Types::VisaPinVerification
|
415
|
+
attr_accessor ibm_3624_pin: Types::Ibm3624PinVerification
|
414
416
|
attr_accessor unknown: untyped
|
415
417
|
SENSITIVE: []
|
416
418
|
|
417
|
-
class Ibm3624Pin < PinVerificationAttributes
|
418
|
-
end
|
419
419
|
class VisaPin < PinVerificationAttributes
|
420
420
|
end
|
421
|
+
class Ibm3624Pin < PinVerificationAttributes
|
422
|
+
end
|
421
423
|
class Unknown < PinVerificationAttributes
|
422
424
|
end
|
423
425
|
end
|
424
426
|
|
425
427
|
class ReEncryptDataInput
|
428
|
+
attr_accessor incoming_key_identifier: ::String
|
429
|
+
attr_accessor outgoing_key_identifier: ::String
|
426
430
|
attr_accessor cipher_text: ::String
|
427
431
|
attr_accessor incoming_encryption_attributes: Types::ReEncryptionAttributes
|
428
|
-
attr_accessor incoming_key_identifier: ::String
|
429
432
|
attr_accessor outgoing_encryption_attributes: Types::ReEncryptionAttributes
|
430
|
-
attr_accessor
|
433
|
+
attr_accessor incoming_wrapped_key: Types::WrappedKey
|
434
|
+
attr_accessor outgoing_wrapped_key: Types::WrappedKey
|
431
435
|
SENSITIVE: [:cipher_text]
|
432
436
|
end
|
433
437
|
|
434
438
|
class ReEncryptDataOutput
|
435
|
-
attr_accessor cipher_text: ::String
|
436
439
|
attr_accessor key_arn: ::String
|
437
440
|
attr_accessor key_check_value: ::String
|
441
|
+
attr_accessor cipher_text: ::String
|
438
442
|
SENSITIVE: [:cipher_text]
|
439
443
|
end
|
440
444
|
|
441
445
|
class ReEncryptionAttributes
|
442
|
-
attr_accessor dukpt: Types::DukptEncryptionAttributes
|
443
446
|
attr_accessor symmetric: Types::SymmetricEncryptionAttributes
|
447
|
+
attr_accessor dukpt: Types::DukptEncryptionAttributes
|
444
448
|
attr_accessor unknown: untyped
|
445
449
|
SENSITIVE: []
|
446
450
|
|
447
|
-
class Dukpt < ReEncryptionAttributes
|
448
|
-
end
|
449
451
|
class Symmetric < ReEncryptionAttributes
|
450
452
|
end
|
453
|
+
class Dukpt < ReEncryptionAttributes
|
454
|
+
end
|
451
455
|
class Unknown < ReEncryptionAttributes
|
452
456
|
end
|
453
457
|
end
|
@@ -458,28 +462,28 @@ module Aws::PaymentCryptographyData
|
|
458
462
|
end
|
459
463
|
|
460
464
|
class SessionKeyAmex
|
461
|
-
attr_accessor pan_sequence_number: ::String
|
462
465
|
attr_accessor primary_account_number: ::String
|
466
|
+
attr_accessor pan_sequence_number: ::String
|
463
467
|
SENSITIVE: [:primary_account_number]
|
464
468
|
end
|
465
469
|
|
466
470
|
class SessionKeyDerivation
|
467
|
-
attr_accessor amex: Types::SessionKeyAmex
|
468
|
-
attr_accessor emv_2000: Types::SessionKeyEmv2000
|
469
471
|
attr_accessor emv_common: Types::SessionKeyEmvCommon
|
470
472
|
attr_accessor mastercard: Types::SessionKeyMastercard
|
473
|
+
attr_accessor emv_2000: Types::SessionKeyEmv2000
|
474
|
+
attr_accessor amex: Types::SessionKeyAmex
|
471
475
|
attr_accessor visa: Types::SessionKeyVisa
|
472
476
|
attr_accessor unknown: untyped
|
473
477
|
SENSITIVE: []
|
474
478
|
|
475
|
-
class Amex < SessionKeyDerivation
|
476
|
-
end
|
477
|
-
class Emv2000 < SessionKeyDerivation
|
478
|
-
end
|
479
479
|
class EmvCommon < SessionKeyDerivation
|
480
480
|
end
|
481
481
|
class Mastercard < SessionKeyDerivation
|
482
482
|
end
|
483
|
+
class Emv2000 < SessionKeyDerivation
|
484
|
+
end
|
485
|
+
class Amex < SessionKeyDerivation
|
486
|
+
end
|
483
487
|
class Visa < SessionKeyDerivation
|
484
488
|
end
|
485
489
|
class Unknown < SessionKeyDerivation
|
@@ -501,36 +505,36 @@ module Aws::PaymentCryptographyData
|
|
501
505
|
end
|
502
506
|
|
503
507
|
class SessionKeyEmv2000
|
504
|
-
attr_accessor application_transaction_counter: ::String
|
505
|
-
attr_accessor pan_sequence_number: ::String
|
506
508
|
attr_accessor primary_account_number: ::String
|
509
|
+
attr_accessor pan_sequence_number: ::String
|
510
|
+
attr_accessor application_transaction_counter: ::String
|
507
511
|
SENSITIVE: [:primary_account_number]
|
508
512
|
end
|
509
513
|
|
510
514
|
class SessionKeyEmvCommon
|
511
|
-
attr_accessor application_transaction_counter: ::String
|
512
|
-
attr_accessor pan_sequence_number: ::String
|
513
515
|
attr_accessor primary_account_number: ::String
|
516
|
+
attr_accessor pan_sequence_number: ::String
|
517
|
+
attr_accessor application_transaction_counter: ::String
|
514
518
|
SENSITIVE: [:primary_account_number]
|
515
519
|
end
|
516
520
|
|
517
521
|
class SessionKeyMastercard
|
518
|
-
attr_accessor application_transaction_counter: ::String
|
519
|
-
attr_accessor pan_sequence_number: ::String
|
520
522
|
attr_accessor primary_account_number: ::String
|
523
|
+
attr_accessor pan_sequence_number: ::String
|
524
|
+
attr_accessor application_transaction_counter: ::String
|
521
525
|
attr_accessor unpredictable_number: ::String
|
522
526
|
SENSITIVE: [:primary_account_number]
|
523
527
|
end
|
524
528
|
|
525
529
|
class SessionKeyVisa
|
526
|
-
attr_accessor pan_sequence_number: ::String
|
527
530
|
attr_accessor primary_account_number: ::String
|
531
|
+
attr_accessor pan_sequence_number: ::String
|
528
532
|
SENSITIVE: [:primary_account_number]
|
529
533
|
end
|
530
534
|
|
531
535
|
class SymmetricEncryptionAttributes
|
532
|
-
attr_accessor initialization_vector: ::String
|
533
536
|
attr_accessor mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB")
|
537
|
+
attr_accessor initialization_vector: ::String
|
534
538
|
attr_accessor padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")
|
535
539
|
SENSITIVE: [:initialization_vector]
|
536
540
|
end
|
@@ -541,20 +545,22 @@ module Aws::PaymentCryptographyData
|
|
541
545
|
end
|
542
546
|
|
543
547
|
class TranslatePinDataInput
|
544
|
-
attr_accessor encrypted_pin_block: ::String
|
545
|
-
attr_accessor incoming_dukpt_attributes: Types::DukptDerivationAttributes
|
546
548
|
attr_accessor incoming_key_identifier: ::String
|
547
|
-
attr_accessor incoming_translation_attributes: Types::TranslationIsoFormats
|
548
|
-
attr_accessor outgoing_dukpt_attributes: Types::DukptDerivationAttributes
|
549
549
|
attr_accessor outgoing_key_identifier: ::String
|
550
|
+
attr_accessor incoming_translation_attributes: Types::TranslationIsoFormats
|
550
551
|
attr_accessor outgoing_translation_attributes: Types::TranslationIsoFormats
|
552
|
+
attr_accessor encrypted_pin_block: ::String
|
553
|
+
attr_accessor incoming_dukpt_attributes: Types::DukptDerivationAttributes
|
554
|
+
attr_accessor outgoing_dukpt_attributes: Types::DukptDerivationAttributes
|
555
|
+
attr_accessor incoming_wrapped_key: Types::WrappedKey
|
556
|
+
attr_accessor outgoing_wrapped_key: Types::WrappedKey
|
551
557
|
SENSITIVE: [:encrypted_pin_block]
|
552
558
|
end
|
553
559
|
|
554
560
|
class TranslatePinDataOutput
|
561
|
+
attr_accessor pin_block: ::String
|
555
562
|
attr_accessor key_arn: ::String
|
556
563
|
attr_accessor key_check_value: ::String
|
557
|
-
attr_accessor pin_block: ::String
|
558
564
|
SENSITIVE: []
|
559
565
|
end
|
560
566
|
|
@@ -587,45 +593,45 @@ module Aws::PaymentCryptographyData
|
|
587
593
|
end
|
588
594
|
|
589
595
|
class ValidationException
|
590
|
-
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
591
596
|
attr_accessor message: ::String
|
597
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
592
598
|
SENSITIVE: []
|
593
599
|
end
|
594
600
|
|
595
601
|
class ValidationExceptionField
|
596
|
-
attr_accessor message: ::String
|
597
602
|
attr_accessor path: ::String
|
603
|
+
attr_accessor message: ::String
|
598
604
|
SENSITIVE: []
|
599
605
|
end
|
600
606
|
|
601
607
|
class VerificationFailedException
|
602
|
-
attr_accessor message: ::String
|
603
608
|
attr_accessor reason: ("INVALID_MAC" | "INVALID_PIN" | "INVALID_VALIDATION_DATA" | "INVALID_AUTH_REQUEST_CRYPTOGRAM")
|
609
|
+
attr_accessor message: ::String
|
604
610
|
SENSITIVE: []
|
605
611
|
end
|
606
612
|
|
607
613
|
class VerifyAuthRequestCryptogramInput
|
608
|
-
attr_accessor auth_request_cryptogram: ::String
|
609
|
-
attr_accessor auth_response_attributes: Types::CryptogramAuthResponse
|
610
614
|
attr_accessor key_identifier: ::String
|
615
|
+
attr_accessor transaction_data: ::String
|
616
|
+
attr_accessor auth_request_cryptogram: ::String
|
611
617
|
attr_accessor major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B")
|
612
618
|
attr_accessor session_key_derivation_attributes: Types::SessionKeyDerivation
|
613
|
-
attr_accessor
|
619
|
+
attr_accessor auth_response_attributes: Types::CryptogramAuthResponse
|
614
620
|
SENSITIVE: []
|
615
621
|
end
|
616
622
|
|
617
623
|
class VerifyAuthRequestCryptogramOutput
|
618
|
-
attr_accessor auth_response_value: ::String
|
619
624
|
attr_accessor key_arn: ::String
|
620
625
|
attr_accessor key_check_value: ::String
|
626
|
+
attr_accessor auth_response_value: ::String
|
621
627
|
SENSITIVE: []
|
622
628
|
end
|
623
629
|
|
624
630
|
class VerifyCardValidationDataInput
|
625
631
|
attr_accessor key_identifier: ::String
|
626
632
|
attr_accessor primary_account_number: ::String
|
627
|
-
attr_accessor validation_data: ::String
|
628
633
|
attr_accessor verification_attributes: Types::CardVerificationAttributes
|
634
|
+
attr_accessor validation_data: ::String
|
629
635
|
SENSITIVE: [:primary_account_number]
|
630
636
|
end
|
631
637
|
|
@@ -637,11 +643,11 @@ module Aws::PaymentCryptographyData
|
|
637
643
|
|
638
644
|
class VerifyMacInput
|
639
645
|
attr_accessor key_identifier: ::String
|
640
|
-
attr_accessor mac: ::String
|
641
|
-
attr_accessor mac_length: ::Integer
|
642
646
|
attr_accessor message_data: ::String
|
647
|
+
attr_accessor mac: ::String
|
643
648
|
attr_accessor verification_attributes: Types::MacAttributes
|
644
|
-
|
649
|
+
attr_accessor mac_length: ::Integer
|
650
|
+
SENSITIVE: [:message_data, :mac]
|
645
651
|
end
|
646
652
|
|
647
653
|
class VerifyMacOutput
|
@@ -651,22 +657,22 @@ module Aws::PaymentCryptographyData
|
|
651
657
|
end
|
652
658
|
|
653
659
|
class VerifyPinDataInput
|
654
|
-
attr_accessor
|
655
|
-
attr_accessor encrypted_pin_block: ::String
|
660
|
+
attr_accessor verification_key_identifier: ::String
|
656
661
|
attr_accessor encryption_key_identifier: ::String
|
662
|
+
attr_accessor verification_attributes: Types::PinVerificationAttributes
|
663
|
+
attr_accessor encrypted_pin_block: ::String
|
664
|
+
attr_accessor primary_account_number: ::String
|
657
665
|
attr_accessor pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3")
|
658
666
|
attr_accessor pin_data_length: ::Integer
|
659
|
-
attr_accessor
|
660
|
-
attr_accessor verification_attributes: Types::PinVerificationAttributes
|
661
|
-
attr_accessor verification_key_identifier: ::String
|
667
|
+
attr_accessor dukpt_attributes: Types::DukptAttributes
|
662
668
|
SENSITIVE: [:primary_account_number]
|
663
669
|
end
|
664
670
|
|
665
671
|
class VerifyPinDataOutput
|
666
|
-
attr_accessor encryption_key_arn: ::String
|
667
|
-
attr_accessor encryption_key_check_value: ::String
|
668
672
|
attr_accessor verification_key_arn: ::String
|
669
673
|
attr_accessor verification_key_check_value: ::String
|
674
|
+
attr_accessor encryption_key_arn: ::String
|
675
|
+
attr_accessor encryption_key_check_value: ::String
|
670
676
|
SENSITIVE: []
|
671
677
|
end
|
672
678
|
|
@@ -686,5 +692,22 @@ module Aws::PaymentCryptographyData
|
|
686
692
|
attr_accessor pin_verification_key_index: ::Integer
|
687
693
|
SENSITIVE: []
|
688
694
|
end
|
695
|
+
|
696
|
+
class WrappedKey
|
697
|
+
attr_accessor wrapped_key_material: Types::WrappedKeyMaterial
|
698
|
+
attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
|
699
|
+
SENSITIVE: []
|
700
|
+
end
|
701
|
+
|
702
|
+
class WrappedKeyMaterial
|
703
|
+
attr_accessor tr_31_key_block: ::String
|
704
|
+
attr_accessor unknown: untyped
|
705
|
+
SENSITIVE: [:tr_31_key_block]
|
706
|
+
|
707
|
+
class Tr31KeyBlock < WrappedKeyMaterial
|
708
|
+
end
|
709
|
+
class Unknown < WrappedKeyMaterial
|
710
|
+
end
|
711
|
+
end
|
689
712
|
end
|
690
713
|
end
|