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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptographydata/client.rb +22 -7
- data/lib/aws-sdk-paymentcryptographydata/client_api.rb +2 -0
- data/lib/aws-sdk-paymentcryptographydata/types.rb +10 -2
- data/lib/aws-sdk-paymentcryptographydata.rb +1 -1
- data/sig/params.rbs +3 -0
- data/sig/types.rbs +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e8d9bf699d3d983264f559a4fdd32065960c4c93ebedfc65d83f7f4fa429fb25
|
|
4
|
+
data.tar.gz: df731daf82dc95029eb4e47cb26e661f17419b7cfb58bfb310b271dc59c07781
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
1
|
+
1.59.0
|
|
@@ -1576,7 +1576,8 @@ module Aws::PaymentCryptographyData
|
|
|
1576
1576
|
req.send_request(options)
|
|
1577
1577
|
end
|
|
1578
1578
|
|
|
1579
|
-
# Re-
|
|
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
|
-
#
|
|
1599
|
-
#
|
|
1600
|
-
#
|
|
1601
|
-
# `
|
|
1602
|
-
#
|
|
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.
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
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
|