aws-sdk-paymentcryptography 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::PaymentCryptography
13
+ module Waiters
14
+ end
15
+ end
@@ -16,6 +16,7 @@ require_relative 'aws-sdk-paymentcryptography/client_api'
16
16
  require_relative 'aws-sdk-paymentcryptography/plugins/endpoints.rb'
17
17
  require_relative 'aws-sdk-paymentcryptography/client'
18
18
  require_relative 'aws-sdk-paymentcryptography/errors'
19
+ require_relative 'aws-sdk-paymentcryptography/waiters'
19
20
  require_relative 'aws-sdk-paymentcryptography/resource'
20
21
  require_relative 'aws-sdk-paymentcryptography/endpoint_parameters'
21
22
  require_relative 'aws-sdk-paymentcryptography/endpoint_provider'
@@ -52,6 +53,6 @@ require_relative 'aws-sdk-paymentcryptography/customizations'
52
53
  # @!group service
53
54
  module Aws::PaymentCryptography
54
55
 
55
- GEM_VERSION = '1.11.0'
56
+ GEM_VERSION = '1.12.0'
56
57
 
57
58
  end
data/sig/client.rbs CHANGED
@@ -90,25 +90,25 @@ module Aws
90
90
  end
91
91
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#create_key-instance_method
92
92
  def create_key: (
93
- ?enabled: bool,
94
- exportable: bool,
95
93
  key_attributes: {
96
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
94
+ key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY"),
97
95
  key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY"),
96
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
98
97
  key_modes_of_use: {
99
- decrypt: bool?,
100
- derive_key: bool?,
101
98
  encrypt: bool?,
99
+ decrypt: bool?,
100
+ wrap: bool?,
101
+ unwrap: bool?,
102
102
  generate: bool?,
103
- no_restrictions: bool?,
104
103
  sign: bool?,
105
- unwrap: bool?,
106
104
  verify: bool?,
107
- wrap: bool?
108
- },
109
- key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY")
105
+ derive_key: bool?,
106
+ no_restrictions: bool?
107
+ }
110
108
  },
111
109
  ?key_check_value_algorithm: ("CMAC" | "ANSI_X9_24"),
110
+ exportable: bool,
111
+ ?enabled: bool,
112
112
  ?tags: Array[
113
113
  {
114
114
  key: ::String,
@@ -133,8 +133,8 @@ module Aws
133
133
  end
134
134
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#delete_key-instance_method
135
135
  def delete_key: (
136
- ?delete_key_in_days: ::Integer,
137
- key_identifier: ::String
136
+ key_identifier: ::String,
137
+ ?delete_key_in_days: ::Integer
138
138
  ) -> _DeleteKeyResponseSuccess
139
139
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKeyResponseSuccess
140
140
 
@@ -144,29 +144,61 @@ module Aws
144
144
  end
145
145
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#export_key-instance_method
146
146
  def export_key: (
147
- ?export_attributes: {
148
- export_dukpt_initial_key: {
149
- key_serial_number: ::String
150
- }?,
151
- key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
152
- },
153
- export_key_identifier: ::String,
154
147
  key_material: {
155
- key_cryptogram: {
156
- certificate_authority_public_key_identifier: ::String,
157
- wrapping_key_certificate: ::String,
158
- wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")?
159
- }?,
160
148
  tr_31_key_block: {
161
- wrapping_key_identifier: ::String
149
+ wrapping_key_identifier: ::String,
150
+ key_block_headers: {
151
+ key_modes_of_use: {
152
+ encrypt: bool?,
153
+ decrypt: bool?,
154
+ wrap: bool?,
155
+ unwrap: bool?,
156
+ generate: bool?,
157
+ sign: bool?,
158
+ verify: bool?,
159
+ derive_key: bool?,
160
+ no_restrictions: bool?
161
+ }?,
162
+ key_exportability: ("EXPORTABLE" | "NON_EXPORTABLE" | "SENSITIVE")?,
163
+ key_version: ::String?,
164
+ optional_blocks: Hash[::String, ::String]?
165
+ }?
162
166
  }?,
163
167
  tr_34_key_block: {
164
168
  certificate_authority_public_key_identifier: ::String,
169
+ wrapping_key_certificate: ::String,
165
170
  export_token: ::String,
166
171
  key_block_format: ("X9_TR34_2012"),
167
172
  random_nonce: ::String?,
168
- wrapping_key_certificate: ::String
173
+ key_block_headers: {
174
+ key_modes_of_use: {
175
+ encrypt: bool?,
176
+ decrypt: bool?,
177
+ wrap: bool?,
178
+ unwrap: bool?,
179
+ generate: bool?,
180
+ sign: bool?,
181
+ verify: bool?,
182
+ derive_key: bool?,
183
+ no_restrictions: bool?
184
+ }?,
185
+ key_exportability: ("EXPORTABLE" | "NON_EXPORTABLE" | "SENSITIVE")?,
186
+ key_version: ::String?,
187
+ optional_blocks: Hash[::String, ::String]?
188
+ }?
189
+ }?,
190
+ key_cryptogram: {
191
+ certificate_authority_public_key_identifier: ::String,
192
+ wrapping_key_certificate: ::String,
193
+ wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")?
169
194
  }?
195
+ },
196
+ export_key_identifier: ::String,
197
+ ?export_attributes: {
198
+ export_dukpt_initial_key: {
199
+ key_serial_number: ::String
200
+ }?,
201
+ key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
170
202
  }
171
203
  ) -> _ExportKeyResponseSuccess
172
204
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportKeyResponseSuccess
@@ -193,11 +225,11 @@ module Aws
193
225
 
194
226
  interface _GetParametersForExportResponseSuccess
195
227
  include ::Seahorse::Client::_ResponseSuccess[Types::GetParametersForExportOutput]
196
- def export_token: () -> ::String
197
- def parameters_valid_until_timestamp: () -> ::Time
198
- def signing_key_algorithm: () -> ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
199
228
  def signing_key_certificate: () -> ::String
200
229
  def signing_key_certificate_chain: () -> ::String
230
+ def signing_key_algorithm: () -> ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
231
+ def export_token: () -> ::String
232
+ def parameters_valid_until_timestamp: () -> ::Time
201
233
  end
202
234
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_parameters_for_export-instance_method
203
235
  def get_parameters_for_export: (
@@ -208,11 +240,11 @@ module Aws
208
240
 
209
241
  interface _GetParametersForImportResponseSuccess
210
242
  include ::Seahorse::Client::_ResponseSuccess[Types::GetParametersForImportOutput]
211
- def import_token: () -> ::String
212
- def parameters_valid_until_timestamp: () -> ::Time
213
- def wrapping_key_algorithm: () -> ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
214
243
  def wrapping_key_certificate: () -> ::String
215
244
  def wrapping_key_certificate_chain: () -> ::String
245
+ def wrapping_key_algorithm: () -> ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
246
+ def import_token: () -> ::String
247
+ def parameters_valid_until_timestamp: () -> ::Time
216
248
  end
217
249
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_parameters_for_import-instance_method
218
250
  def get_parameters_for_import: (
@@ -238,83 +270,83 @@ module Aws
238
270
  end
239
271
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#import_key-instance_method
240
272
  def import_key: (
241
- ?enabled: bool,
242
- ?key_check_value_algorithm: ("CMAC" | "ANSI_X9_24"),
243
273
  key_material: {
244
- key_cryptogram: {
245
- exportable: bool,
246
- import_token: ::String,
274
+ root_certificate_public_key: {
247
275
  key_attributes: {
248
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
276
+ key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY"),
249
277
  key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY"),
278
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
250
279
  key_modes_of_use: {
251
- decrypt: bool?,
252
- derive_key: bool?,
253
280
  encrypt: bool?,
281
+ decrypt: bool?,
282
+ wrap: bool?,
283
+ unwrap: bool?,
254
284
  generate: bool?,
255
- no_restrictions: bool?,
256
285
  sign: bool?,
257
- unwrap: bool?,
258
286
  verify: bool?,
259
- wrap: bool?
260
- },
261
- key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY")
287
+ derive_key: bool?,
288
+ no_restrictions: bool?
289
+ }
262
290
  },
263
- wrapped_key_cryptogram: ::String,
264
- wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")?
291
+ public_key_certificate: ::String
265
292
  }?,
266
- root_certificate_public_key: {
293
+ trusted_certificate_public_key: {
267
294
  key_attributes: {
268
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
295
+ key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY"),
269
296
  key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY"),
297
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
270
298
  key_modes_of_use: {
271
- decrypt: bool?,
272
- derive_key: bool?,
273
299
  encrypt: bool?,
300
+ decrypt: bool?,
301
+ wrap: bool?,
302
+ unwrap: bool?,
274
303
  generate: bool?,
275
- no_restrictions: bool?,
276
304
  sign: bool?,
277
- unwrap: bool?,
278
305
  verify: bool?,
279
- wrap: bool?
280
- },
281
- key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY")
306
+ derive_key: bool?,
307
+ no_restrictions: bool?
308
+ }
282
309
  },
283
- public_key_certificate: ::String
310
+ public_key_certificate: ::String,
311
+ certificate_authority_public_key_identifier: ::String
284
312
  }?,
285
313
  tr_31_key_block: {
286
- wrapped_key_block: ::String,
287
- wrapping_key_identifier: ::String
314
+ wrapping_key_identifier: ::String,
315
+ wrapped_key_block: ::String
288
316
  }?,
289
317
  tr_34_key_block: {
290
318
  certificate_authority_public_key_identifier: ::String,
319
+ signing_key_certificate: ::String,
291
320
  import_token: ::String,
321
+ wrapped_key_block: ::String,
292
322
  key_block_format: ("X9_TR34_2012"),
293
- random_nonce: ::String?,
294
- signing_key_certificate: ::String,
295
- wrapped_key_block: ::String
323
+ random_nonce: ::String?
296
324
  }?,
297
- trusted_certificate_public_key: {
298
- certificate_authority_public_key_identifier: ::String,
325
+ key_cryptogram: {
299
326
  key_attributes: {
300
- key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
327
+ key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY"),
301
328
  key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY"),
329
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
302
330
  key_modes_of_use: {
303
- decrypt: bool?,
304
- derive_key: bool?,
305
331
  encrypt: bool?,
332
+ decrypt: bool?,
333
+ wrap: bool?,
334
+ unwrap: bool?,
306
335
  generate: bool?,
307
- no_restrictions: bool?,
308
336
  sign: bool?,
309
- unwrap: bool?,
310
337
  verify: bool?,
311
- wrap: bool?
312
- },
313
- key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY")
338
+ derive_key: bool?,
339
+ no_restrictions: bool?
340
+ }
314
341
  },
315
- public_key_certificate: ::String
342
+ exportable: bool,
343
+ wrapped_key_cryptogram: ::String,
344
+ import_token: ::String,
345
+ wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")?
316
346
  }?
317
347
  },
348
+ ?key_check_value_algorithm: ("CMAC" | "ANSI_X9_24"),
349
+ ?enabled: bool,
318
350
  ?tags: Array[
319
351
  {
320
352
  key: ::String,
@@ -331,8 +363,8 @@ module Aws
331
363
  end
332
364
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#list_aliases-instance_method
333
365
  def list_aliases: (
334
- ?max_results: ::Integer,
335
- ?next_token: ::String
366
+ ?next_token: ::String,
367
+ ?max_results: ::Integer
336
368
  ) -> _ListAliasesResponseSuccess
337
369
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAliasesResponseSuccess
338
370
 
@@ -344,21 +376,21 @@ module Aws
344
376
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#list_keys-instance_method
345
377
  def list_keys: (
346
378
  ?key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE"),
347
- ?max_results: ::Integer,
348
- ?next_token: ::String
379
+ ?next_token: ::String,
380
+ ?max_results: ::Integer
349
381
  ) -> _ListKeysResponseSuccess
350
382
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeysResponseSuccess
351
383
 
352
384
  interface _ListTagsForResourceResponseSuccess
353
385
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
354
- def next_token: () -> ::String
355
386
  def tags: () -> ::Array[Types::Tag]
387
+ def next_token: () -> ::String
356
388
  end
357
389
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#list_tags_for_resource-instance_method
358
390
  def list_tags_for_resource: (
359
- ?max_results: ::Integer,
391
+ resource_arn: ::String,
360
392
  ?next_token: ::String,
361
- resource_arn: ::String
393
+ ?max_results: ::Integer
362
394
  ) -> _ListTagsForResourceResponseSuccess
363
395
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
364
396