aws-sdk-paymentcryptographydata 1.58.0 → 1.59.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: 4f598567673b163e084c4f33fd0814ae7b88b09ff2547b4610c82e3fb909023a
4
- data.tar.gz: 1180ac03b41b566213bcd84d1f055f81cf93188a2709fe98e283dcffde9dcfaa
3
+ metadata.gz: e8d9bf699d3d983264f559a4fdd32065960c4c93ebedfc65d83f7f4fa429fb25
4
+ data.tar.gz: df731daf82dc95029eb4e47cb26e661f17419b7cfb58bfb310b271dc59c07781
5
5
  SHA512:
6
- metadata.gz: 67ec1ce873c694db407e5ec0eea1a71cb7b94bca4471c3797bf764622f1c7d93596d2803d86ff0b933fcc70f5f4396cc5f570b48a2ebf7892d355daea8853063
7
- data.tar.gz: 9b936b05faae0de6363d201f1305b6a16a746221bcc893a92b9bc3ada49f969be4b8313a5f27c43499e961fe7e8a50a99bd4a32b00660a10ada99c6ec5848f8a
6
+ metadata.gz: a5c7e88aee2b36e8b69e79305dd6d4161a80ee82a9baa0e351dc2009f8de1f762222b1cacee46589713e707a63212e52f22ecf5c12836b47b7d037e65aa6bad5
7
+ data.tar.gz: b8828d6c53c961bd15be4a2aa647afd5c7874d01e17e28a6d5f861440aab73ce5ba539936b4d331cb42878733b17427380b76026b170fad68a1d3543612f8398
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2026-09-23)
5
+ ------------------
6
+
7
+ * Feature - Adds asymmetric key support to ReEncryptData for re-encrypting data between RSA and symmetric data encryption keys.
8
+
4
9
  1.58.0 (2026-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.59.0
@@ -1576,7 +1576,8 @@ module Aws::PaymentCryptographyData
1576
1576
  req.send_request(options)
1577
1577
  end
1578
1578
 
1579
- # Re-encrypt ciphertext using DUKPT or Symmetric data encryption keys.
1579
+ # Re-encrypts ciphertext using DUKPT, symmetric, or asymmetric data
1580
+ # encryption keys.
1580
1581
  #
1581
1582
  # You can either generate an encryption key within Amazon Web Services
1582
1583
  # Payment Cryptography by calling [CreateKey][1] or import your own
@@ -1595,11 +1596,19 @@ module Aws::PaymentCryptographyData
1595
1596
  # information, see [Using Dynamic Keys][3] in the *Amazon Web Services
1596
1597
  # Payment Cryptography User Guide*.
1597
1598
  #
1598
- # For symmetric and DUKPT encryption, Amazon Web Services Payment
1599
- # Cryptography supports `TDES` and `AES` algorithms. To encrypt using
1600
- # DUKPT, a DUKPT key must already exist within your account with
1601
- # `KeyModesOfUse` set to `DeriveKey` or a new DUKPT can be generated by
1602
- # calling [CreateKey][1].
1599
+ # Amazon Web Services Payment Cryptography supports the following
1600
+ # encryption key schemes:
1601
+ #
1602
+ # * **DUKPT**: `TDES` and `AES` algorithms. To encrypt using DUKPT, a
1603
+ # DUKPT key must already exist within your account with
1604
+ # `KeyModesOfUse` set to `DeriveKey` or a new DUKPT can be generated
1605
+ # by calling [CreateKey][1].
1606
+ #
1607
+ # * **Symmetric**: `TDES` and `AES` algorithms.
1608
+ #
1609
+ # * **Asymmetric**: `RSA`. You can use an `RSA` key on either the
1610
+ # incoming or the outgoing side, paired with a symmetric key on the
1611
+ # other side.
1603
1612
  #
1604
1613
  # For information about valid keys for this operation, see
1605
1614
  # [Understanding key attributes][4] and [Key types for specific data
@@ -1679,6 +1688,9 @@ module Aws::PaymentCryptographyData
1679
1688
  # initialization_vector: "InitializationVectorType",
1680
1689
  # padding_type: "PKCS1", # accepts PKCS1, OAEP_SHA1, OAEP_SHA256, OAEP_SHA512
1681
1690
  # },
1691
+ # asymmetric: {
1692
+ # padding_type: "PKCS1", # accepts PKCS1, OAEP_SHA1, OAEP_SHA256, OAEP_SHA512
1693
+ # },
1682
1694
  # dukpt: {
1683
1695
  # key_serial_number: "HexLength16Or20Or24", # required
1684
1696
  # mode: "ECB", # accepts ECB, CBC
@@ -1693,6 +1705,9 @@ module Aws::PaymentCryptographyData
1693
1705
  # initialization_vector: "InitializationVectorType",
1694
1706
  # padding_type: "PKCS1", # accepts PKCS1, OAEP_SHA1, OAEP_SHA256, OAEP_SHA512
1695
1707
  # },
1708
+ # asymmetric: {
1709
+ # padding_type: "PKCS1", # accepts PKCS1, OAEP_SHA1, OAEP_SHA256, OAEP_SHA512
1710
+ # },
1696
1711
  # dukpt: {
1697
1712
  # key_serial_number: "HexLength16Or20Or24", # required
1698
1713
  # mode: "ECB", # accepts ECB, CBC
@@ -2596,7 +2611,7 @@ module Aws::PaymentCryptographyData
2596
2611
  tracer: tracer
2597
2612
  )
2598
2613
  context[:gem_name] = 'aws-sdk-paymentcryptographydata'
2599
- context[:gem_version] = '1.58.0'
2614
+ context[:gem_version] = '1.59.0'
2600
2615
  Seahorse::Client::Request.new(handlers, context)
2601
2616
  end
2602
2617
 
@@ -635,9 +635,11 @@ module Aws::PaymentCryptographyData
635
635
  ReEncryptDataOutput.struct_class = Types::ReEncryptDataOutput
636
636
 
637
637
  ReEncryptionAttributes.add_member(:symmetric, Shapes::ShapeRef.new(shape: SymmetricEncryptionAttributes, location_name: "Symmetric"))
638
+ ReEncryptionAttributes.add_member(:asymmetric, Shapes::ShapeRef.new(shape: AsymmetricEncryptionAttributes, location_name: "Asymmetric"))
638
639
  ReEncryptionAttributes.add_member(:dukpt, Shapes::ShapeRef.new(shape: DukptEncryptionAttributes, location_name: "Dukpt"))
639
640
  ReEncryptionAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
640
641
  ReEncryptionAttributes.add_member_subclass(:symmetric, Types::ReEncryptionAttributes::Symmetric)
642
+ ReEncryptionAttributes.add_member_subclass(:asymmetric, Types::ReEncryptionAttributes::Asymmetric)
641
643
  ReEncryptionAttributes.add_member_subclass(:dukpt, Types::ReEncryptionAttributes::Dukpt)
642
644
  ReEncryptionAttributes.add_member_subclass(:unknown, Types::ReEncryptionAttributes::Unknown)
643
645
  ReEncryptionAttributes.struct_class = Types::ReEncryptionAttributes
@@ -2222,17 +2222,24 @@ module Aws::PaymentCryptographyData
2222
2222
  # @note ReEncryptionAttributes is a union - when making an API calls you must set exactly one of the members.
2223
2223
  #
2224
2224
  # @!attribute [rw] symmetric
2225
- # Parameters that are required to encrypt data using symmetric keys.
2225
+ # Specifies the parameters required to encrypt data using symmetric
2226
+ # keys.
2226
2227
  # @return [Types::SymmetricEncryptionAttributes]
2227
2228
  #
2229
+ # @!attribute [rw] asymmetric
2230
+ # Specifies the parameters required to encrypt data using an
2231
+ # asymmetric key pair. You must specify a `PaddingType`.
2232
+ # @return [Types::AsymmetricEncryptionAttributes]
2233
+ #
2228
2234
  # @!attribute [rw] dukpt
2229
- # Parameters that are required to encrypt plaintext data using DUKPT.
2235
+ # Specifies the parameters required to encrypt data using DUKPT.
2230
2236
  # @return [Types::DukptEncryptionAttributes]
2231
2237
  #
2232
2238
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/ReEncryptionAttributes AWS API Documentation
2233
2239
  #
2234
2240
  class ReEncryptionAttributes < Struct.new(
2235
2241
  :symmetric,
2242
+ :asymmetric,
2236
2243
  :dukpt,
2237
2244
  :unknown)
2238
2245
  SENSITIVE = []
@@ -2240,6 +2247,7 @@ module Aws::PaymentCryptographyData
2240
2247
  include Aws::Structure::Union
2241
2248
 
2242
2249
  class Symmetric < ReEncryptionAttributes; end
2250
+ class Asymmetric < ReEncryptionAttributes; end
2243
2251
  class Dukpt < ReEncryptionAttributes; end
2244
2252
  class Unknown < ReEncryptionAttributes; end
2245
2253
  end
@@ -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.58.0'
58
+ GEM_VERSION = '1.59.0'
59
59
 
60
60
  end
61
61
 
data/sig/params.rbs CHANGED
@@ -124,6 +124,9 @@ module Aws
124
124
  initialization_vector: ::String?,
125
125
  padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
126
126
  }?,
127
+ asymmetric: {
128
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
129
+ }?,
127
130
  dukpt: {
128
131
  key_serial_number: ::String,
129
132
  mode: ("ECB" | "CBC")?,
data/sig/types.rbs CHANGED
@@ -656,12 +656,15 @@ module Aws::PaymentCryptographyData
656
656
 
657
657
  class ReEncryptionAttributes
658
658
  attr_accessor symmetric: Types::SymmetricEncryptionAttributes
659
+ attr_accessor asymmetric: Types::AsymmetricEncryptionAttributes
659
660
  attr_accessor dukpt: Types::DukptEncryptionAttributes
660
661
  attr_accessor unknown: untyped
661
662
  SENSITIVE: []
662
663
 
663
664
  class Symmetric < ReEncryptionAttributes
664
665
  end
666
+ class Asymmetric < ReEncryptionAttributes
667
+ end
665
668
  class Dukpt < ReEncryptionAttributes
666
669
  end
667
670
  class Unknown < ReEncryptionAttributes
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.58.0
4
+ version: 1.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services