aws-sdk-paymentcryptographydata 1.15.0 → 1.17.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 +361 -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 +234 -197
- data/sig/errors.rbs +2 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +131 -108
- metadata +7 -6
data/sig/client.rbs
CHANGED
@@ -48,6 +48,7 @@ module Aws
|
|
48
48
|
?sdk_ua_app_id: String,
|
49
49
|
?secret_access_key: String,
|
50
50
|
?session_token: String,
|
51
|
+
?sigv4a_signing_region_set: Array[String],
|
51
52
|
?stub_responses: untyped,
|
52
53
|
?token_provider: untyped,
|
53
54
|
?use_dualstack_endpoint: bool,
|
@@ -80,71 +81,83 @@ module Aws
|
|
80
81
|
end
|
81
82
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#decrypt_data-instance_method
|
82
83
|
def decrypt_data: (
|
84
|
+
key_identifier: ::String,
|
83
85
|
cipher_text: ::String,
|
84
86
|
decryption_attributes: {
|
87
|
+
symmetric: {
|
88
|
+
mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
|
89
|
+
initialization_vector: ::String?,
|
90
|
+
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
91
|
+
}?,
|
85
92
|
asymmetric: {
|
86
93
|
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
87
94
|
}?,
|
88
95
|
dukpt: {
|
96
|
+
key_serial_number: ::String,
|
97
|
+
mode: ("ECB" | "CBC")?,
|
89
98
|
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
90
99
|
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
|
91
|
-
initialization_vector: ::String
|
92
|
-
key_serial_number: ::String,
|
93
|
-
mode: ("ECB" | "CBC")?
|
100
|
+
initialization_vector: ::String?
|
94
101
|
}?,
|
95
102
|
emv: {
|
96
|
-
initialization_vector: ::String?,
|
97
103
|
major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
|
98
|
-
mode: ("ECB" | "CBC")?,
|
99
|
-
pan_sequence_number: ::String,
|
100
104
|
primary_account_number: ::String,
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
initialization_vector: ::String
|
105
|
-
mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
|
106
|
-
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
105
|
+
pan_sequence_number: ::String,
|
106
|
+
session_derivation_data: ::String,
|
107
|
+
mode: ("ECB" | "CBC")?,
|
108
|
+
initialization_vector: ::String?
|
107
109
|
}?
|
108
110
|
},
|
109
|
-
|
111
|
+
?wrapped_key: {
|
112
|
+
wrapped_key_material: {
|
113
|
+
tr_31_key_block: ::String?
|
114
|
+
},
|
115
|
+
key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
|
116
|
+
}
|
110
117
|
) -> _DecryptDataResponseSuccess
|
111
118
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DecryptDataResponseSuccess
|
112
119
|
|
113
120
|
interface _EncryptDataResponseSuccess
|
114
121
|
include ::Seahorse::Client::_ResponseSuccess[Types::EncryptDataOutput]
|
115
|
-
def cipher_text: () -> ::String
|
116
122
|
def key_arn: () -> ::String
|
117
123
|
def key_check_value: () -> ::String
|
124
|
+
def cipher_text: () -> ::String
|
118
125
|
end
|
119
126
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#encrypt_data-instance_method
|
120
127
|
def encrypt_data: (
|
128
|
+
key_identifier: ::String,
|
129
|
+
plain_text: ::String,
|
121
130
|
encryption_attributes: {
|
131
|
+
symmetric: {
|
132
|
+
mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
|
133
|
+
initialization_vector: ::String?,
|
134
|
+
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
135
|
+
}?,
|
122
136
|
asymmetric: {
|
123
137
|
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
124
138
|
}?,
|
125
139
|
dukpt: {
|
140
|
+
key_serial_number: ::String,
|
141
|
+
mode: ("ECB" | "CBC")?,
|
126
142
|
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
127
143
|
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
|
128
|
-
initialization_vector: ::String
|
129
|
-
key_serial_number: ::String,
|
130
|
-
mode: ("ECB" | "CBC")?
|
144
|
+
initialization_vector: ::String?
|
131
145
|
}?,
|
132
146
|
emv: {
|
133
|
-
initialization_vector: ::String?,
|
134
147
|
major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
|
135
|
-
mode: ("ECB" | "CBC")?,
|
136
|
-
pan_sequence_number: ::String,
|
137
148
|
primary_account_number: ::String,
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
initialization_vector: ::String
|
142
|
-
mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
|
143
|
-
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
149
|
+
pan_sequence_number: ::String,
|
150
|
+
session_derivation_data: ::String,
|
151
|
+
mode: ("ECB" | "CBC")?,
|
152
|
+
initialization_vector: ::String?
|
144
153
|
}?
|
145
154
|
},
|
146
|
-
|
147
|
-
|
155
|
+
?wrapped_key: {
|
156
|
+
wrapped_key_material: {
|
157
|
+
tr_31_key_block: ::String?
|
158
|
+
},
|
159
|
+
key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
|
160
|
+
}
|
148
161
|
) -> _EncryptDataResponseSuccess
|
149
162
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EncryptDataResponseSuccess
|
150
163
|
|
@@ -156,6 +169,8 @@ module Aws
|
|
156
169
|
end
|
157
170
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#generate_card_validation_data-instance_method
|
158
171
|
def generate_card_validation_data: (
|
172
|
+
key_identifier: ::String,
|
173
|
+
primary_account_number: ::String,
|
159
174
|
generation_attributes: {
|
160
175
|
amex_card_security_code_version_1: {
|
161
176
|
card_expiry_date: ::String
|
@@ -164,11 +179,6 @@ module Aws
|
|
164
179
|
card_expiry_date: ::String,
|
165
180
|
service_code: ::String
|
166
181
|
}?,
|
167
|
-
card_holder_verification_value: {
|
168
|
-
application_transaction_counter: ::String,
|
169
|
-
pan_sequence_number: ::String,
|
170
|
-
unpredictable_number: ::String
|
171
|
-
}?,
|
172
182
|
card_verification_value_1: {
|
173
183
|
card_expiry_date: ::String,
|
174
184
|
service_code: ::String
|
@@ -176,21 +186,24 @@ module Aws
|
|
176
186
|
card_verification_value_2: {
|
177
187
|
card_expiry_date: ::String
|
178
188
|
}?,
|
189
|
+
card_holder_verification_value: {
|
190
|
+
unpredictable_number: ::String,
|
191
|
+
pan_sequence_number: ::String,
|
192
|
+
application_transaction_counter: ::String
|
193
|
+
}?,
|
179
194
|
dynamic_card_verification_code: {
|
180
|
-
|
195
|
+
unpredictable_number: ::String,
|
181
196
|
pan_sequence_number: ::String,
|
182
|
-
|
183
|
-
|
197
|
+
application_transaction_counter: ::String,
|
198
|
+
track_data: ::String
|
184
199
|
}?,
|
185
200
|
dynamic_card_verification_value: {
|
186
|
-
application_transaction_counter: ::String,
|
187
|
-
card_expiry_date: ::String,
|
188
201
|
pan_sequence_number: ::String,
|
189
|
-
|
202
|
+
card_expiry_date: ::String,
|
203
|
+
service_code: ::String,
|
204
|
+
application_transaction_counter: ::String
|
190
205
|
}?
|
191
206
|
},
|
192
|
-
key_identifier: ::String,
|
193
|
-
primary_account_number: ::String,
|
194
207
|
?validation_data_length: ::Integer
|
195
208
|
) -> _GenerateCardValidationDataResponseSuccess
|
196
209
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateCardValidationDataResponseSuccess
|
@@ -203,147 +216,154 @@ module Aws
|
|
203
216
|
end
|
204
217
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#generate_mac-instance_method
|
205
218
|
def generate_mac: (
|
219
|
+
key_identifier: ::String,
|
220
|
+
message_data: ::String,
|
206
221
|
generation_attributes: {
|
207
222
|
algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512")?,
|
208
|
-
dukpt_cmac: {
|
209
|
-
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
210
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
211
|
-
key_serial_number: ::String
|
212
|
-
}?,
|
213
|
-
dukpt_iso_9797_algorithm_1: {
|
214
|
-
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
215
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
216
|
-
key_serial_number: ::String
|
217
|
-
}?,
|
218
|
-
dukpt_iso_9797_algorithm_3: {
|
219
|
-
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
220
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
221
|
-
key_serial_number: ::String
|
222
|
-
}?,
|
223
223
|
emv_mac: {
|
224
224
|
major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
|
225
|
-
pan_sequence_number: ::String,
|
226
225
|
primary_account_number: ::String,
|
226
|
+
pan_sequence_number: ::String,
|
227
227
|
session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"),
|
228
228
|
session_key_derivation_value: {
|
229
229
|
application_cryptogram: ::String?,
|
230
230
|
application_transaction_counter: ::String?
|
231
231
|
}
|
232
|
+
}?,
|
233
|
+
dukpt_iso_9797_algorithm_1: {
|
234
|
+
key_serial_number: ::String,
|
235
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
236
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
237
|
+
}?,
|
238
|
+
dukpt_iso_9797_algorithm_3: {
|
239
|
+
key_serial_number: ::String,
|
240
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
241
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
242
|
+
}?,
|
243
|
+
dukpt_cmac: {
|
244
|
+
key_serial_number: ::String,
|
245
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
246
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
232
247
|
}?
|
233
248
|
},
|
234
|
-
|
235
|
-
?mac_length: ::Integer,
|
236
|
-
message_data: ::String
|
249
|
+
?mac_length: ::Integer
|
237
250
|
) -> _GenerateMacResponseSuccess
|
238
251
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateMacResponseSuccess
|
239
252
|
|
240
253
|
interface _GeneratePinDataResponseSuccess
|
241
254
|
include ::Seahorse::Client::_ResponseSuccess[Types::GeneratePinDataOutput]
|
242
|
-
def encrypted_pin_block: () -> ::String
|
243
|
-
def encryption_key_arn: () -> ::String
|
244
|
-
def encryption_key_check_value: () -> ::String
|
245
255
|
def generation_key_arn: () -> ::String
|
246
256
|
def generation_key_check_value: () -> ::String
|
257
|
+
def encryption_key_arn: () -> ::String
|
258
|
+
def encryption_key_check_value: () -> ::String
|
259
|
+
def encrypted_pin_block: () -> ::String
|
247
260
|
def pin_data: () -> Types::PinData
|
248
261
|
end
|
249
262
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#generate_pin_data-instance_method
|
250
263
|
def generate_pin_data: (
|
264
|
+
generation_key_identifier: ::String,
|
251
265
|
encryption_key_identifier: ::String,
|
252
266
|
generation_attributes: {
|
253
|
-
|
254
|
-
|
255
|
-
pin_validation_data: ::String,
|
256
|
-
pin_validation_data_pad_character: ::String
|
267
|
+
visa_pin: {
|
268
|
+
pin_verification_key_index: ::Integer
|
257
269
|
}?,
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
pin_validation_data: ::String,
|
262
|
-
pin_validation_data_pad_character: ::String
|
270
|
+
visa_pin_verification_value: {
|
271
|
+
encrypted_pin_block: ::String,
|
272
|
+
pin_verification_key_index: ::Integer
|
263
273
|
}?,
|
264
274
|
ibm_3624_pin_offset: {
|
265
|
-
decimalization_table: ::String,
|
266
275
|
encrypted_pin_block: ::String,
|
267
|
-
|
268
|
-
pin_validation_data_pad_character: ::String
|
276
|
+
decimalization_table: ::String,
|
277
|
+
pin_validation_data_pad_character: ::String,
|
278
|
+
pin_validation_data: ::String
|
269
279
|
}?,
|
270
|
-
|
280
|
+
ibm_3624_natural_pin: {
|
271
281
|
decimalization_table: ::String,
|
272
|
-
|
273
|
-
|
282
|
+
pin_validation_data_pad_character: ::String,
|
283
|
+
pin_validation_data: ::String
|
274
284
|
}?,
|
275
|
-
|
276
|
-
|
285
|
+
ibm_3624_random_pin: {
|
286
|
+
decimalization_table: ::String,
|
287
|
+
pin_validation_data_pad_character: ::String,
|
288
|
+
pin_validation_data: ::String
|
277
289
|
}?,
|
278
|
-
|
279
|
-
|
280
|
-
|
290
|
+
ibm_3624_pin_from_offset: {
|
291
|
+
decimalization_table: ::String,
|
292
|
+
pin_validation_data_pad_character: ::String,
|
293
|
+
pin_validation_data: ::String,
|
294
|
+
pin_offset: ::String
|
281
295
|
}?
|
282
296
|
},
|
283
|
-
generation_key_identifier: ::String,
|
284
|
-
pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3"),
|
285
297
|
?pin_data_length: ::Integer,
|
286
|
-
primary_account_number: ::String
|
298
|
+
primary_account_number: ::String,
|
299
|
+
pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3")
|
287
300
|
) -> _GeneratePinDataResponseSuccess
|
288
301
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GeneratePinDataResponseSuccess
|
289
302
|
|
290
303
|
interface _ReEncryptDataResponseSuccess
|
291
304
|
include ::Seahorse::Client::_ResponseSuccess[Types::ReEncryptDataOutput]
|
292
|
-
def cipher_text: () -> ::String
|
293
305
|
def key_arn: () -> ::String
|
294
306
|
def key_check_value: () -> ::String
|
307
|
+
def cipher_text: () -> ::String
|
295
308
|
end
|
296
309
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#re_encrypt_data-instance_method
|
297
310
|
def re_encrypt_data: (
|
311
|
+
incoming_key_identifier: ::String,
|
312
|
+
outgoing_key_identifier: ::String,
|
298
313
|
cipher_text: ::String,
|
299
314
|
incoming_encryption_attributes: {
|
300
|
-
dukpt: {
|
301
|
-
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
302
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
|
303
|
-
initialization_vector: ::String?,
|
304
|
-
key_serial_number: ::String,
|
305
|
-
mode: ("ECB" | "CBC")?
|
306
|
-
}?,
|
307
315
|
symmetric: {
|
308
|
-
initialization_vector: ::String?,
|
309
316
|
mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
|
317
|
+
initialization_vector: ::String?,
|
310
318
|
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
311
|
-
}
|
312
|
-
},
|
313
|
-
incoming_key_identifier: ::String,
|
314
|
-
outgoing_encryption_attributes: {
|
319
|
+
}?,
|
315
320
|
dukpt: {
|
321
|
+
key_serial_number: ::String,
|
322
|
+
mode: ("ECB" | "CBC")?,
|
316
323
|
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
317
324
|
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
|
318
|
-
initialization_vector: ::String
|
319
|
-
|
320
|
-
|
321
|
-
|
325
|
+
initialization_vector: ::String?
|
326
|
+
}?
|
327
|
+
},
|
328
|
+
outgoing_encryption_attributes: {
|
322
329
|
symmetric: {
|
323
|
-
initialization_vector: ::String?,
|
324
330
|
mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
|
331
|
+
initialization_vector: ::String?,
|
325
332
|
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
333
|
+
}?,
|
334
|
+
dukpt: {
|
335
|
+
key_serial_number: ::String,
|
336
|
+
mode: ("ECB" | "CBC")?,
|
337
|
+
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
338
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
|
339
|
+
initialization_vector: ::String?
|
326
340
|
}?
|
327
341
|
},
|
328
|
-
|
342
|
+
?incoming_wrapped_key: {
|
343
|
+
wrapped_key_material: {
|
344
|
+
tr_31_key_block: ::String?
|
345
|
+
},
|
346
|
+
key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
|
347
|
+
},
|
348
|
+
?outgoing_wrapped_key: {
|
349
|
+
wrapped_key_material: {
|
350
|
+
tr_31_key_block: ::String?
|
351
|
+
},
|
352
|
+
key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
|
353
|
+
}
|
329
354
|
) -> _ReEncryptDataResponseSuccess
|
330
355
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReEncryptDataResponseSuccess
|
331
356
|
|
332
357
|
interface _TranslatePinDataResponseSuccess
|
333
358
|
include ::Seahorse::Client::_ResponseSuccess[Types::TranslatePinDataOutput]
|
359
|
+
def pin_block: () -> ::String
|
334
360
|
def key_arn: () -> ::String
|
335
361
|
def key_check_value: () -> ::String
|
336
|
-
def pin_block: () -> ::String
|
337
362
|
end
|
338
363
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#translate_pin_data-instance_method
|
339
364
|
def translate_pin_data: (
|
340
|
-
encrypted_pin_block: ::String,
|
341
|
-
?incoming_dukpt_attributes: {
|
342
|
-
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
343
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
|
344
|
-
key_serial_number: ::String
|
345
|
-
},
|
346
365
|
incoming_key_identifier: ::String,
|
366
|
+
outgoing_key_identifier: ::String,
|
347
367
|
incoming_translation_attributes: {
|
348
368
|
iso_format_0: {
|
349
369
|
primary_account_number: ::String
|
@@ -357,12 +377,6 @@ module Aws
|
|
357
377
|
primary_account_number: ::String
|
358
378
|
}?
|
359
379
|
},
|
360
|
-
?outgoing_dukpt_attributes: {
|
361
|
-
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
362
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
|
363
|
-
key_serial_number: ::String
|
364
|
-
},
|
365
|
-
outgoing_key_identifier: ::String,
|
366
380
|
outgoing_translation_attributes: {
|
367
381
|
iso_format_0: {
|
368
382
|
primary_account_number: ::String
|
@@ -375,57 +389,80 @@ module Aws
|
|
375
389
|
iso_format_4: {
|
376
390
|
primary_account_number: ::String
|
377
391
|
}?
|
392
|
+
},
|
393
|
+
encrypted_pin_block: ::String,
|
394
|
+
?incoming_dukpt_attributes: {
|
395
|
+
key_serial_number: ::String,
|
396
|
+
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
397
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?
|
398
|
+
},
|
399
|
+
?outgoing_dukpt_attributes: {
|
400
|
+
key_serial_number: ::String,
|
401
|
+
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
402
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?
|
403
|
+
},
|
404
|
+
?incoming_wrapped_key: {
|
405
|
+
wrapped_key_material: {
|
406
|
+
tr_31_key_block: ::String?
|
407
|
+
},
|
408
|
+
key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
|
409
|
+
},
|
410
|
+
?outgoing_wrapped_key: {
|
411
|
+
wrapped_key_material: {
|
412
|
+
tr_31_key_block: ::String?
|
413
|
+
},
|
414
|
+
key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
|
378
415
|
}
|
379
416
|
) -> _TranslatePinDataResponseSuccess
|
380
417
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TranslatePinDataResponseSuccess
|
381
418
|
|
382
419
|
interface _VerifyAuthRequestCryptogramResponseSuccess
|
383
420
|
include ::Seahorse::Client::_ResponseSuccess[Types::VerifyAuthRequestCryptogramOutput]
|
384
|
-
def auth_response_value: () -> ::String
|
385
421
|
def key_arn: () -> ::String
|
386
422
|
def key_check_value: () -> ::String
|
423
|
+
def auth_response_value: () -> ::String
|
387
424
|
end
|
388
425
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#verify_auth_request_cryptogram-instance_method
|
389
426
|
def verify_auth_request_cryptogram: (
|
390
|
-
auth_request_cryptogram: ::String,
|
391
|
-
?auth_response_attributes: {
|
392
|
-
arpc_method_1: {
|
393
|
-
auth_response_code: ::String
|
394
|
-
}?,
|
395
|
-
arpc_method_2: {
|
396
|
-
card_status_update: ::String,
|
397
|
-
proprietary_authentication_data: ::String?
|
398
|
-
}?
|
399
|
-
},
|
400
427
|
key_identifier: ::String,
|
428
|
+
transaction_data: ::String,
|
429
|
+
auth_request_cryptogram: ::String,
|
401
430
|
major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
|
402
431
|
session_key_derivation_attributes: {
|
403
|
-
amex: {
|
404
|
-
pan_sequence_number: ::String,
|
405
|
-
primary_account_number: ::String
|
406
|
-
}?,
|
407
|
-
emv_2000: {
|
408
|
-
application_transaction_counter: ::String,
|
409
|
-
pan_sequence_number: ::String,
|
410
|
-
primary_account_number: ::String
|
411
|
-
}?,
|
412
432
|
emv_common: {
|
413
|
-
|
433
|
+
primary_account_number: ::String,
|
414
434
|
pan_sequence_number: ::String,
|
415
|
-
|
435
|
+
application_transaction_counter: ::String
|
416
436
|
}?,
|
417
437
|
mastercard: {
|
438
|
+
primary_account_number: ::String,
|
439
|
+
pan_sequence_number: ::String,
|
418
440
|
application_transaction_counter: ::String,
|
441
|
+
unpredictable_number: ::String
|
442
|
+
}?,
|
443
|
+
emv_2000: {
|
444
|
+
primary_account_number: ::String,
|
419
445
|
pan_sequence_number: ::String,
|
446
|
+
application_transaction_counter: ::String
|
447
|
+
}?,
|
448
|
+
amex: {
|
420
449
|
primary_account_number: ::String,
|
421
|
-
|
450
|
+
pan_sequence_number: ::String
|
422
451
|
}?,
|
423
452
|
visa: {
|
424
|
-
|
425
|
-
|
453
|
+
primary_account_number: ::String,
|
454
|
+
pan_sequence_number: ::String
|
426
455
|
}?
|
427
456
|
},
|
428
|
-
|
457
|
+
?auth_response_attributes: {
|
458
|
+
arpc_method_1: {
|
459
|
+
auth_response_code: ::String
|
460
|
+
}?,
|
461
|
+
arpc_method_2: {
|
462
|
+
card_status_update: ::String,
|
463
|
+
proprietary_authentication_data: ::String?
|
464
|
+
}?
|
465
|
+
}
|
429
466
|
) -> _VerifyAuthRequestCryptogramResponseSuccess
|
430
467
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyAuthRequestCryptogramResponseSuccess
|
431
468
|
|
@@ -438,7 +475,6 @@ module Aws
|
|
438
475
|
def verify_card_validation_data: (
|
439
476
|
key_identifier: ::String,
|
440
477
|
primary_account_number: ::String,
|
441
|
-
validation_data: ::String,
|
442
478
|
verification_attributes: {
|
443
479
|
amex_card_security_code_version_1: {
|
444
480
|
card_expiry_date: ::String
|
@@ -447,11 +483,6 @@ module Aws
|
|
447
483
|
card_expiry_date: ::String,
|
448
484
|
service_code: ::String
|
449
485
|
}?,
|
450
|
-
card_holder_verification_value: {
|
451
|
-
application_transaction_counter: ::String,
|
452
|
-
pan_sequence_number: ::String,
|
453
|
-
unpredictable_number: ::String
|
454
|
-
}?,
|
455
486
|
card_verification_value_1: {
|
456
487
|
card_expiry_date: ::String,
|
457
488
|
service_code: ::String
|
@@ -459,24 +490,30 @@ module Aws
|
|
459
490
|
card_verification_value_2: {
|
460
491
|
card_expiry_date: ::String
|
461
492
|
}?,
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
493
|
+
card_holder_verification_value: {
|
494
|
+
unpredictable_number: ::String,
|
495
|
+
pan_sequence_number: ::String,
|
496
|
+
application_transaction_counter: ::String
|
466
497
|
}?,
|
467
498
|
dynamic_card_verification_code: {
|
468
|
-
|
499
|
+
unpredictable_number: ::String,
|
469
500
|
pan_sequence_number: ::String,
|
470
|
-
|
471
|
-
|
501
|
+
application_transaction_counter: ::String,
|
502
|
+
track_data: ::String
|
472
503
|
}?,
|
473
504
|
dynamic_card_verification_value: {
|
474
|
-
application_transaction_counter: ::String,
|
475
|
-
card_expiry_date: ::String,
|
476
505
|
pan_sequence_number: ::String,
|
477
|
-
|
506
|
+
card_expiry_date: ::String,
|
507
|
+
service_code: ::String,
|
508
|
+
application_transaction_counter: ::String
|
509
|
+
}?,
|
510
|
+
discover_dynamic_card_verification_code: {
|
511
|
+
card_expiry_date: ::String,
|
512
|
+
unpredictable_number: ::String,
|
513
|
+
application_transaction_counter: ::String
|
478
514
|
}?
|
479
|
-
}
|
515
|
+
},
|
516
|
+
validation_data: ::String
|
480
517
|
) -> _VerifyCardValidationDataResponseSuccess
|
481
518
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyCardValidationDataResponseSuccess
|
482
519
|
|
@@ -488,71 +525,71 @@ module Aws
|
|
488
525
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#verify_mac-instance_method
|
489
526
|
def verify_mac: (
|
490
527
|
key_identifier: ::String,
|
491
|
-
mac: ::String,
|
492
|
-
?mac_length: ::Integer,
|
493
528
|
message_data: ::String,
|
529
|
+
mac: ::String,
|
494
530
|
verification_attributes: {
|
495
531
|
algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512")?,
|
496
|
-
dukpt_cmac: {
|
497
|
-
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
498
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
499
|
-
key_serial_number: ::String
|
500
|
-
}?,
|
501
|
-
dukpt_iso_9797_algorithm_1: {
|
502
|
-
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
503
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
504
|
-
key_serial_number: ::String
|
505
|
-
}?,
|
506
|
-
dukpt_iso_9797_algorithm_3: {
|
507
|
-
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
508
|
-
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
509
|
-
key_serial_number: ::String
|
510
|
-
}?,
|
511
532
|
emv_mac: {
|
512
533
|
major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
|
513
|
-
pan_sequence_number: ::String,
|
514
534
|
primary_account_number: ::String,
|
535
|
+
pan_sequence_number: ::String,
|
515
536
|
session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"),
|
516
537
|
session_key_derivation_value: {
|
517
538
|
application_cryptogram: ::String?,
|
518
539
|
application_transaction_counter: ::String?
|
519
540
|
}
|
541
|
+
}?,
|
542
|
+
dukpt_iso_9797_algorithm_1: {
|
543
|
+
key_serial_number: ::String,
|
544
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
545
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
546
|
+
}?,
|
547
|
+
dukpt_iso_9797_algorithm_3: {
|
548
|
+
key_serial_number: ::String,
|
549
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
550
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
551
|
+
}?,
|
552
|
+
dukpt_cmac: {
|
553
|
+
key_serial_number: ::String,
|
554
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
555
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
520
556
|
}?
|
521
|
-
}
|
557
|
+
},
|
558
|
+
?mac_length: ::Integer
|
522
559
|
) -> _VerifyMacResponseSuccess
|
523
560
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyMacResponseSuccess
|
524
561
|
|
525
562
|
interface _VerifyPinDataResponseSuccess
|
526
563
|
include ::Seahorse::Client::_ResponseSuccess[Types::VerifyPinDataOutput]
|
527
|
-
def encryption_key_arn: () -> ::String
|
528
|
-
def encryption_key_check_value: () -> ::String
|
529
564
|
def verification_key_arn: () -> ::String
|
530
565
|
def verification_key_check_value: () -> ::String
|
566
|
+
def encryption_key_arn: () -> ::String
|
567
|
+
def encryption_key_check_value: () -> ::String
|
531
568
|
end
|
532
569
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#verify_pin_data-instance_method
|
533
570
|
def verify_pin_data: (
|
534
|
-
|
535
|
-
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256"),
|
536
|
-
key_serial_number: ::String
|
537
|
-
},
|
538
|
-
encrypted_pin_block: ::String,
|
571
|
+
verification_key_identifier: ::String,
|
539
572
|
encryption_key_identifier: ::String,
|
540
|
-
pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3"),
|
541
|
-
?pin_data_length: ::Integer,
|
542
|
-
primary_account_number: ::String,
|
543
573
|
verification_attributes: {
|
544
|
-
ibm_3624_pin: {
|
545
|
-
decimalization_table: ::String,
|
546
|
-
pin_offset: ::String,
|
547
|
-
pin_validation_data: ::String,
|
548
|
-
pin_validation_data_pad_character: ::String
|
549
|
-
}?,
|
550
574
|
visa_pin: {
|
551
575
|
pin_verification_key_index: ::Integer,
|
552
576
|
verification_value: ::String
|
577
|
+
}?,
|
578
|
+
ibm_3624_pin: {
|
579
|
+
decimalization_table: ::String,
|
580
|
+
pin_validation_data_pad_character: ::String,
|
581
|
+
pin_validation_data: ::String,
|
582
|
+
pin_offset: ::String
|
553
583
|
}?
|
554
584
|
},
|
555
|
-
|
585
|
+
encrypted_pin_block: ::String,
|
586
|
+
primary_account_number: ::String,
|
587
|
+
pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3"),
|
588
|
+
?pin_data_length: ::Integer,
|
589
|
+
?dukpt_attributes: {
|
590
|
+
key_serial_number: ::String,
|
591
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")
|
592
|
+
}
|
556
593
|
) -> _VerifyPinDataResponseSuccess
|
557
594
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyPinDataResponseSuccess
|
558
595
|
end
|