aws-sdk-paymentcryptographydata 1.50.0 → 1.51.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bda6c696e547a759cbea554f0e969420fee0bf203531337d9f9b4123018d3023
4
- data.tar.gz: 6a6b073920627c1d15c5d61d2a0db55924dba117a63fc75f8fc0e0dc1b76a81a
3
+ metadata.gz: 9b5ca3b60e7009e66b9fdb8fa4eb4d6cc16d310eeb2f751d5c1294085f1e2e20
4
+ data.tar.gz: d031aaae33a5c63de7d587477bf7cc05399ac50ee7d38035eeb1830f6a0ed6ce
5
5
  SHA512:
6
- metadata.gz: e4a16be933d3601c4ccbb20f21cd5cbddb9289b07462a9ddccd44eab8d8eb867422e50e3eef1b174d2392612a3abce73c307e64ec3a701aaefee5972bddb7c3c
7
- data.tar.gz: daab6ca44008a0bcfee8c37b551173e1b3296f4ae3a759f81ce0b9184b56307a65067dde594b8649ec54feb310ed97d2486afe42f4c46fbb6ee9ddde055f286a
6
+ metadata.gz: 83fda313d8421f1e0804310bb52be95edf4c7c5d815f3320cfdbc18baee75ba7b64c68f836b9fef6325cf825b04bf3f13b805f444bc5739fd6732b9028d8a15e
7
+ data.tar.gz: 6ef23734a0072ddbcf6f28e419b50e87022817c72ea7775e26763a52335878e47bec7ffc1d90685b34d6e43f3f22ba2199f25047690bd71ca87c66081602a899
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2026-05-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.50.0 (2026-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -2435,7 +2435,7 @@ module Aws::PaymentCryptographyData
2435
2435
  tracer: tracer
2436
2436
  )
2437
2437
  context[:gem_name] = 'aws-sdk-paymentcryptographydata'
2438
- context[:gem_version] = '1.50.0'
2438
+ context[:gem_version] = '1.51.0'
2439
2439
  Seahorse::Client::Request.new(handlers, context)
2440
2440
  end
2441
2441
 
@@ -55,7 +55,7 @@ module Aws::PaymentCryptographyData
55
55
  autoload :EndpointProvider, 'aws-sdk-paymentcryptographydata/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-paymentcryptographydata/endpoints'
57
57
 
58
- GEM_VERSION = '1.50.0'
58
+ GEM_VERSION = '1.51.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -88,45 +88,8 @@ module Aws
88
88
  def decrypt_data: (
89
89
  key_identifier: ::String,
90
90
  cipher_text: ::String,
91
- decryption_attributes: {
92
- symmetric: {
93
- mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
94
- initialization_vector: ::String?,
95
- padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
96
- }?,
97
- asymmetric: {
98
- padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
99
- }?,
100
- dukpt: {
101
- key_serial_number: ::String,
102
- mode: ("ECB" | "CBC")?,
103
- dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
104
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
105
- initialization_vector: ::String?
106
- }?,
107
- emv: {
108
- major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
109
- primary_account_number: ::String,
110
- pan_sequence_number: ::String,
111
- session_derivation_data: ::String,
112
- mode: ("ECB" | "CBC")?,
113
- initialization_vector: ::String?
114
- }?
115
- },
116
- ?wrapped_key: {
117
- wrapped_key_material: {
118
- tr_31_key_block: ::String?,
119
- diffie_hellman_symmetric_key: {
120
- certificate_authority_public_key_identifier: ::String,
121
- public_key_certificate: ::String,
122
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
123
- key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
124
- key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
125
- shared_information: ::String
126
- }?
127
- },
128
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
129
- }
91
+ decryption_attributes: Params::encryption_decryption_attributes,
92
+ ?wrapped_key: Params::wrapped_key
130
93
  ) -> _DecryptDataResponseSuccess
131
94
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DecryptDataResponseSuccess
132
95
 
@@ -140,45 +103,8 @@ module Aws
140
103
  def encrypt_data: (
141
104
  key_identifier: ::String,
142
105
  plain_text: ::String,
143
- encryption_attributes: {
144
- symmetric: {
145
- mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
146
- initialization_vector: ::String?,
147
- padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
148
- }?,
149
- asymmetric: {
150
- padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
151
- }?,
152
- dukpt: {
153
- key_serial_number: ::String,
154
- mode: ("ECB" | "CBC")?,
155
- dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
156
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
157
- initialization_vector: ::String?
158
- }?,
159
- emv: {
160
- major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
161
- primary_account_number: ::String,
162
- pan_sequence_number: ::String,
163
- session_derivation_data: ::String,
164
- mode: ("ECB" | "CBC")?,
165
- initialization_vector: ::String?
166
- }?
167
- },
168
- ?wrapped_key: {
169
- wrapped_key_material: {
170
- tr_31_key_block: ::String?,
171
- diffie_hellman_symmetric_key: {
172
- certificate_authority_public_key_identifier: ::String,
173
- public_key_certificate: ::String,
174
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
175
- key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
176
- key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
177
- shared_information: ::String
178
- }?
179
- },
180
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
181
- }
106
+ encryption_attributes: Params::encryption_decryption_attributes,
107
+ ?wrapped_key: Params::wrapped_key
182
108
  ) -> _EncryptDataResponseSuccess
183
109
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EncryptDataResponseSuccess
184
110
 
@@ -261,34 +187,7 @@ module Aws
261
187
  def generate_mac: (
262
188
  key_identifier: ::String,
263
189
  message_data: ::String,
264
- generation_attributes: {
265
- algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "AS2805_4_1")?,
266
- emv_mac: {
267
- major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
268
- primary_account_number: ::String,
269
- pan_sequence_number: ::String,
270
- session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"),
271
- session_key_derivation_value: {
272
- application_cryptogram: ::String?,
273
- application_transaction_counter: ::String?
274
- }
275
- }?,
276
- dukpt_iso_9797_algorithm_1: {
277
- key_serial_number: ::String,
278
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
279
- dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
280
- }?,
281
- dukpt_iso_9797_algorithm_3: {
282
- key_serial_number: ::String,
283
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
284
- dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
285
- }?,
286
- dukpt_cmac: {
287
- key_serial_number: ::String,
288
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
289
- dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
290
- }?
291
- },
190
+ generation_attributes: Params::mac_attributes,
292
191
  ?mac_length: ::Integer
293
192
  ) -> _GenerateMacResponseSuccess
294
193
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateMacResponseSuccess
@@ -408,20 +307,7 @@ module Aws
408
307
  ?pin_data_length: ::Integer,
409
308
  ?primary_account_number: ::String,
410
309
  pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_1" | "ISO_FORMAT_3" | "ISO_FORMAT_4"),
411
- ?encryption_wrapped_key: {
412
- wrapped_key_material: {
413
- tr_31_key_block: ::String?,
414
- diffie_hellman_symmetric_key: {
415
- certificate_authority_public_key_identifier: ::String,
416
- public_key_certificate: ::String,
417
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
418
- key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
419
- key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
420
- shared_information: ::String
421
- }?
422
- },
423
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
424
- }
310
+ ?encryption_wrapped_key: Params::wrapped_key
425
311
  ) -> _GeneratePinDataResponseSuccess
426
312
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GeneratePinDataResponseSuccess
427
313
 
@@ -436,62 +322,10 @@ module Aws
436
322
  incoming_key_identifier: ::String,
437
323
  outgoing_key_identifier: ::String,
438
324
  cipher_text: ::String,
439
- incoming_encryption_attributes: {
440
- symmetric: {
441
- mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
442
- initialization_vector: ::String?,
443
- padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
444
- }?,
445
- dukpt: {
446
- key_serial_number: ::String,
447
- mode: ("ECB" | "CBC")?,
448
- dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
449
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
450
- initialization_vector: ::String?
451
- }?
452
- },
453
- outgoing_encryption_attributes: {
454
- symmetric: {
455
- mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
456
- initialization_vector: ::String?,
457
- padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
458
- }?,
459
- dukpt: {
460
- key_serial_number: ::String,
461
- mode: ("ECB" | "CBC")?,
462
- dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
463
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
464
- initialization_vector: ::String?
465
- }?
466
- },
467
- ?incoming_wrapped_key: {
468
- wrapped_key_material: {
469
- tr_31_key_block: ::String?,
470
- diffie_hellman_symmetric_key: {
471
- certificate_authority_public_key_identifier: ::String,
472
- public_key_certificate: ::String,
473
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
474
- key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
475
- key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
476
- shared_information: ::String
477
- }?
478
- },
479
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
480
- },
481
- ?outgoing_wrapped_key: {
482
- wrapped_key_material: {
483
- tr_31_key_block: ::String?,
484
- diffie_hellman_symmetric_key: {
485
- certificate_authority_public_key_identifier: ::String,
486
- public_key_certificate: ::String,
487
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
488
- key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
489
- key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
490
- shared_information: ::String
491
- }?
492
- },
493
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
494
- }
325
+ incoming_encryption_attributes: Params::re_encryption_attributes,
326
+ outgoing_encryption_attributes: Params::re_encryption_attributes,
327
+ ?incoming_wrapped_key: Params::wrapped_key,
328
+ ?outgoing_wrapped_key: Params::wrapped_key
495
329
  ) -> _ReEncryptDataResponseSuccess
496
330
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReEncryptDataResponseSuccess
497
331
 
@@ -534,38 +368,8 @@ module Aws
534
368
  def translate_pin_data: (
535
369
  incoming_key_identifier: ::String,
536
370
  outgoing_key_identifier: ::String,
537
- incoming_translation_attributes: {
538
- iso_format_0: {
539
- primary_account_number: ::String
540
- }?,
541
- iso_format_1: {
542
- }?,
543
- iso_format_3: {
544
- primary_account_number: ::String
545
- }?,
546
- iso_format_4: {
547
- primary_account_number: ::String
548
- }?,
549
- as_2805_format_0: {
550
- primary_account_number: ::String
551
- }?
552
- },
553
- outgoing_translation_attributes: {
554
- iso_format_0: {
555
- primary_account_number: ::String
556
- }?,
557
- iso_format_1: {
558
- }?,
559
- iso_format_3: {
560
- primary_account_number: ::String
561
- }?,
562
- iso_format_4: {
563
- primary_account_number: ::String
564
- }?,
565
- as_2805_format_0: {
566
- primary_account_number: ::String
567
- }?
568
- },
371
+ incoming_translation_attributes: Params::translation_iso_formats,
372
+ outgoing_translation_attributes: Params::translation_iso_formats,
569
373
  encrypted_pin_block: ::String,
570
374
  ?incoming_dukpt_attributes: {
571
375
  key_serial_number: ::String,
@@ -577,34 +381,8 @@ module Aws
577
381
  dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
578
382
  dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?
579
383
  },
580
- ?incoming_wrapped_key: {
581
- wrapped_key_material: {
582
- tr_31_key_block: ::String?,
583
- diffie_hellman_symmetric_key: {
584
- certificate_authority_public_key_identifier: ::String,
585
- public_key_certificate: ::String,
586
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
587
- key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
588
- key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
589
- shared_information: ::String
590
- }?
591
- },
592
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
593
- },
594
- ?outgoing_wrapped_key: {
595
- wrapped_key_material: {
596
- tr_31_key_block: ::String?,
597
- diffie_hellman_symmetric_key: {
598
- certificate_authority_public_key_identifier: ::String,
599
- public_key_certificate: ::String,
600
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
601
- key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
602
- key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
603
- shared_information: ::String
604
- }?
605
- },
606
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
607
- },
384
+ ?incoming_wrapped_key: Params::wrapped_key,
385
+ ?outgoing_wrapped_key: Params::wrapped_key,
608
386
  ?incoming_as_2805_attributes: {
609
387
  system_trace_audit_number: ::String,
610
388
  transaction_amount: ::String
@@ -723,34 +501,7 @@ module Aws
723
501
  key_identifier: ::String,
724
502
  message_data: ::String,
725
503
  mac: ::String,
726
- verification_attributes: {
727
- algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "AS2805_4_1")?,
728
- emv_mac: {
729
- major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
730
- primary_account_number: ::String,
731
- pan_sequence_number: ::String,
732
- session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"),
733
- session_key_derivation_value: {
734
- application_cryptogram: ::String?,
735
- application_transaction_counter: ::String?
736
- }
737
- }?,
738
- dukpt_iso_9797_algorithm_1: {
739
- key_serial_number: ::String,
740
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
741
- dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
742
- }?,
743
- dukpt_iso_9797_algorithm_3: {
744
- key_serial_number: ::String,
745
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
746
- dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
747
- }?,
748
- dukpt_cmac: {
749
- key_serial_number: ::String,
750
- dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
751
- dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
752
- }?
753
- },
504
+ verification_attributes: Params::mac_attributes,
754
505
  ?mac_length: ::Integer
755
506
  ) -> _VerifyMacResponseSuccess
756
507
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyMacResponseSuccess
@@ -786,20 +537,7 @@ module Aws
786
537
  key_serial_number: ::String,
787
538
  dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")
788
539
  },
789
- ?encryption_wrapped_key: {
790
- wrapped_key_material: {
791
- tr_31_key_block: ::String?,
792
- diffie_hellman_symmetric_key: {
793
- certificate_authority_public_key_identifier: ::String,
794
- public_key_certificate: ::String,
795
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
796
- key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
797
- key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
798
- shared_information: ::String
799
- }?
800
- },
801
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
802
- }
540
+ ?encryption_wrapped_key: Params::wrapped_key
803
541
  ) -> _VerifyPinDataResponseSuccess
804
542
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyPinDataResponseSuccess
805
543
  end
data/sig/params.rbs ADDED
@@ -0,0 +1,123 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PaymentCryptographyData
10
+ module Params
11
+ type emv_encryption_attributes = {
12
+ major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
13
+ primary_account_number: ::String,
14
+ pan_sequence_number: ::String,
15
+ session_derivation_data: ::String,
16
+ mode: ("ECB" | "CBC")?,
17
+ initialization_vector: ::String?
18
+ }
19
+
20
+ type encryption_decryption_attributes = {
21
+ symmetric: {
22
+ mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
23
+ initialization_vector: ::String?,
24
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
25
+ }?,
26
+ asymmetric: {
27
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
28
+ }?,
29
+ dukpt: {
30
+ key_serial_number: ::String,
31
+ mode: ("ECB" | "CBC")?,
32
+ dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
33
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
34
+ initialization_vector: ::String?
35
+ }?,
36
+ emv: Params::emv_encryption_attributes?
37
+ }
38
+
39
+ type ecdh_derivation_attributes = {
40
+ certificate_authority_public_key_identifier: ::String,
41
+ public_key_certificate: ::String,
42
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"),
43
+ key_derivation_function: ("NIST_SP800" | "ANSI_X963"),
44
+ key_derivation_hash_algorithm: ("SHA_256" | "SHA_384" | "SHA_512"),
45
+ shared_information: ::String
46
+ }
47
+
48
+ type wrapped_key_material = {
49
+ tr_31_key_block: ::String?,
50
+ diffie_hellman_symmetric_key: Params::ecdh_derivation_attributes?
51
+ }
52
+
53
+ type wrapped_key = {
54
+ wrapped_key_material: Params::wrapped_key_material,
55
+ key_check_value_algorithm: ("CMAC" | "ANSI_X9_24" | "HMAC" | "SHA_1")?
56
+ }
57
+
58
+ type mac_algorithm_emv = {
59
+ major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
60
+ primary_account_number: ::String,
61
+ pan_sequence_number: ::String,
62
+ session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"),
63
+ session_key_derivation_value: {
64
+ application_cryptogram: ::String?,
65
+ application_transaction_counter: ::String?
66
+ }
67
+ }
68
+
69
+ type mac_attributes = {
70
+ algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "AS2805_4_1")?,
71
+ emv_mac: Params::mac_algorithm_emv?,
72
+ dukpt_iso_9797_algorithm_1: {
73
+ key_serial_number: ::String,
74
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
75
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
76
+ }?,
77
+ dukpt_iso_9797_algorithm_3: {
78
+ key_serial_number: ::String,
79
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
80
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
81
+ }?,
82
+ dukpt_cmac: {
83
+ key_serial_number: ::String,
84
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
85
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
86
+ }?
87
+ }
88
+
89
+ type re_encryption_attributes = {
90
+ symmetric: {
91
+ mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
92
+ initialization_vector: ::String?,
93
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
94
+ }?,
95
+ dukpt: {
96
+ key_serial_number: ::String,
97
+ mode: ("ECB" | "CBC")?,
98
+ dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
99
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
100
+ initialization_vector: ::String?
101
+ }?
102
+ }
103
+
104
+ type translation_iso_formats = {
105
+ iso_format_0: {
106
+ primary_account_number: ::String
107
+ }?,
108
+ iso_format_1: {
109
+ }?,
110
+ iso_format_3: {
111
+ primary_account_number: ::String
112
+ }?,
113
+ iso_format_4: {
114
+ primary_account_number: ::String
115
+ }?,
116
+ as_2805_format_0: {
117
+ primary_account_number: ::String
118
+ }?
119
+ }
120
+
121
+ end
122
+ end
123
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-paymentcryptographydata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -68,6 +68,7 @@ files:
68
68
  - lib/aws-sdk-paymentcryptographydata/waiters.rb
69
69
  - sig/client.rbs
70
70
  - sig/errors.rbs
71
+ - sig/params.rbs
71
72
  - sig/resource.rbs
72
73
  - sig/types.rbs
73
74
  - sig/waiters.rbs