aws-sdk-paymentcryptographydata 1.4.0 → 1.5.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptographydata/client.rb +5 -5
- data/lib/aws-sdk-paymentcryptographydata/client_api.rb +8 -6
- data/lib/aws-sdk-paymentcryptographydata/types.rb +3 -3
- data/lib/aws-sdk-paymentcryptographydata.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecc5c6ce4a451a38224c13fa28661a8c23996e1445c77573c830a66fd5a87632
|
4
|
+
data.tar.gz: a21467f6d02eafd44ac1c7c7aa0c45e2c1fa7b23f789c168d584d6ca1d3a9586
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30348df4f31a2d8ad7a872f5098916b387ad9890afff0328e535050dcf7f42a4ae28304e38c32e42147f7a997baac6ee84b4e8b8926003b1738e60edd8794699
|
7
|
+
data.tar.gz: 27c7f60ad6f641cfde034b84c09e5d040685899f65fb47adb7ee666c6ec74045d388351980d4b6a86f7f5fed7fdaef0b6aa71d2f51caf30bfba5ae5c5ef848c4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.5.0 (2023-08-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Make KeyCheckValue field optional when using asymmetric keys as Key Check Values typically only apply to symmetric keys
|
8
|
+
|
4
9
|
1.4.0 (2023-07-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -789,7 +789,7 @@ module Aws::PaymentCryptographyData
|
|
789
789
|
# },
|
790
790
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
791
791
|
# mac_length: 1,
|
792
|
-
# message_data: "
|
792
|
+
# message_data: "HexEvenLengthBetween2And4096", # required
|
793
793
|
# })
|
794
794
|
#
|
795
795
|
# @example Response structure
|
@@ -1147,7 +1147,7 @@ module Aws::PaymentCryptographyData
|
|
1147
1147
|
# @example Request syntax with placeholder values
|
1148
1148
|
#
|
1149
1149
|
# resp = client.translate_pin_data({
|
1150
|
-
# encrypted_pin_block: "
|
1150
|
+
# encrypted_pin_block: "HexEvenLengthBetween16And32", # required
|
1151
1151
|
# incoming_dukpt_attributes: {
|
1152
1152
|
# dukpt_key_derivation_type: "TDES_2KEY", # accepts TDES_2KEY, TDES_3KEY, AES_128, AES_192, AES_256
|
1153
1153
|
# dukpt_key_variant: "BIDIRECTIONAL", # accepts BIDIRECTIONAL, REQUEST, RESPONSE
|
@@ -1513,9 +1513,9 @@ module Aws::PaymentCryptographyData
|
|
1513
1513
|
#
|
1514
1514
|
# resp = client.verify_mac({
|
1515
1515
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
1516
|
-
# mac: "
|
1516
|
+
# mac: "HexEvenLengthBetween4And128", # required
|
1517
1517
|
# mac_length: 1,
|
1518
|
-
# message_data: "
|
1518
|
+
# message_data: "HexEvenLengthBetween2And4096", # required
|
1519
1519
|
# verification_attributes: { # required
|
1520
1520
|
# algorithm: "ISO9797_ALGORITHM1", # accepts ISO9797_ALGORITHM1, ISO9797_ALGORITHM3, CMAC, HMAC_SHA224, HMAC_SHA256, HMAC_SHA384, HMAC_SHA512
|
1521
1521
|
# dukpt_cmac: {
|
@@ -1691,7 +1691,7 @@ module Aws::PaymentCryptographyData
|
|
1691
1691
|
params: params,
|
1692
1692
|
config: config)
|
1693
1693
|
context[:gem_name] = 'aws-sdk-paymentcryptographydata'
|
1694
|
-
context[:gem_version] = '1.
|
1694
|
+
context[:gem_version] = '1.5.0'
|
1695
1695
|
Seahorse::Client::Request.new(handlers, context)
|
1696
1696
|
end
|
1697
1697
|
|
@@ -46,8 +46,11 @@ module Aws::PaymentCryptographyData
|
|
46
46
|
GenerateMacOutput = Shapes::StructureShape.new(name: 'GenerateMacOutput')
|
47
47
|
GeneratePinDataInput = Shapes::StructureShape.new(name: 'GeneratePinDataInput')
|
48
48
|
GeneratePinDataOutput = Shapes::StructureShape.new(name: 'GeneratePinDataOutput')
|
49
|
+
HexEvenLengthBetween16And32 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And32')
|
49
50
|
HexEvenLengthBetween16And4064 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And4064')
|
50
51
|
HexEvenLengthBetween16And4096 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And4096')
|
52
|
+
HexEvenLengthBetween2And4096 = Shapes::StringShape.new(name: 'HexEvenLengthBetween2And4096')
|
53
|
+
HexEvenLengthBetween4And128 = Shapes::StringShape.new(name: 'HexEvenLengthBetween4And128')
|
51
54
|
HexLength16Or32 = Shapes::StringShape.new(name: 'HexLength16Or32')
|
52
55
|
HexLengthBetween10And24 = Shapes::StringShape.new(name: 'HexLengthBetween10And24')
|
53
56
|
HexLengthBetween16And32 = Shapes::StringShape.new(name: 'HexLengthBetween16And32')
|
@@ -55,7 +58,6 @@ module Aws::PaymentCryptographyData
|
|
55
58
|
HexLengthBetween2And1024 = Shapes::StringShape.new(name: 'HexLengthBetween2And1024')
|
56
59
|
HexLengthBetween2And160 = Shapes::StringShape.new(name: 'HexLengthBetween2And160')
|
57
60
|
HexLengthBetween2And4 = Shapes::StringShape.new(name: 'HexLengthBetween2And4')
|
58
|
-
HexLengthBetween2And4096 = Shapes::StringShape.new(name: 'HexLengthBetween2And4096')
|
59
61
|
HexLengthBetween2And8 = Shapes::StringShape.new(name: 'HexLengthBetween2And8')
|
60
62
|
HexLengthBetween4And128 = Shapes::StringShape.new(name: 'HexLengthBetween4And128')
|
61
63
|
HexLengthEquals1 = Shapes::StringShape.new(name: 'HexLengthEquals1')
|
@@ -258,7 +260,7 @@ module Aws::PaymentCryptographyData
|
|
258
260
|
|
259
261
|
EncryptDataOutput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
|
260
262
|
EncryptDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
|
261
|
-
EncryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue,
|
263
|
+
EncryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, location_name: "KeyCheckValue"))
|
262
264
|
EncryptDataOutput.struct_class = Types::EncryptDataOutput
|
263
265
|
|
264
266
|
EncryptionDecryptionAttributes.add_member(:asymmetric, Shapes::ShapeRef.new(shape: AsymmetricEncryptionAttributes, location_name: "Asymmetric"))
|
@@ -285,7 +287,7 @@ module Aws::PaymentCryptographyData
|
|
285
287
|
GenerateMacInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "GenerationAttributes"))
|
286
288
|
GenerateMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
287
289
|
GenerateMacInput.add_member(:mac_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And16, location_name: "MacLength"))
|
288
|
-
GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape:
|
290
|
+
GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexEvenLengthBetween2And4096, required: true, location_name: "MessageData"))
|
289
291
|
GenerateMacInput.struct_class = Types::GenerateMacInput
|
290
292
|
|
291
293
|
GenerateMacOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
|
@@ -475,7 +477,7 @@ module Aws::PaymentCryptographyData
|
|
475
477
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
476
478
|
ThrottlingException.struct_class = Types::ThrottlingException
|
477
479
|
|
478
|
-
TranslatePinDataInput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape:
|
480
|
+
TranslatePinDataInput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
|
479
481
|
TranslatePinDataInput.add_member(:incoming_dukpt_attributes, Shapes::ShapeRef.new(shape: DukptDerivationAttributes, location_name: "IncomingDukptAttributes"))
|
480
482
|
TranslatePinDataInput.add_member(:incoming_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "IncomingKeyIdentifier"))
|
481
483
|
TranslatePinDataInput.add_member(:incoming_translation_attributes, Shapes::ShapeRef.new(shape: TranslationIsoFormats, required: true, location_name: "IncomingTranslationAttributes"))
|
@@ -544,9 +546,9 @@ module Aws::PaymentCryptographyData
|
|
544
546
|
VerifyCardValidationDataOutput.struct_class = Types::VerifyCardValidationDataOutput
|
545
547
|
|
546
548
|
VerifyMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
547
|
-
VerifyMacInput.add_member(:mac, Shapes::ShapeRef.new(shape:
|
549
|
+
VerifyMacInput.add_member(:mac, Shapes::ShapeRef.new(shape: HexEvenLengthBetween4And128, required: true, location_name: "Mac"))
|
548
550
|
VerifyMacInput.add_member(:mac_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And16, location_name: "MacLength"))
|
549
|
-
VerifyMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape:
|
551
|
+
VerifyMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexEvenLengthBetween2And4096, required: true, location_name: "MessageData"))
|
550
552
|
VerifyMacInput.add_member(:verification_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "VerificationAttributes"))
|
551
553
|
VerifyMacInput.struct_class = Types::VerifyMacInput
|
552
554
|
|
@@ -770,7 +770,7 @@ module Aws::PaymentCryptographyData
|
|
770
770
|
:key_identifier,
|
771
771
|
:mac_length,
|
772
772
|
:message_data)
|
773
|
-
SENSITIVE = []
|
773
|
+
SENSITIVE = [:message_data]
|
774
774
|
include Aws::Structure
|
775
775
|
end
|
776
776
|
|
@@ -1723,7 +1723,7 @@ module Aws::PaymentCryptographyData
|
|
1723
1723
|
:outgoing_dukpt_attributes,
|
1724
1724
|
:outgoing_key_identifier,
|
1725
1725
|
:outgoing_translation_attributes)
|
1726
|
-
SENSITIVE = []
|
1726
|
+
SENSITIVE = [:encrypted_pin_block]
|
1727
1727
|
include Aws::Structure
|
1728
1728
|
end
|
1729
1729
|
|
@@ -2043,7 +2043,7 @@ module Aws::PaymentCryptographyData
|
|
2043
2043
|
:mac_length,
|
2044
2044
|
:message_data,
|
2045
2045
|
:verification_attributes)
|
2046
|
-
SENSITIVE = []
|
2046
|
+
SENSITIVE = [:mac, :message_data]
|
2047
2047
|
include Aws::Structure
|
2048
2048
|
end
|
2049
2049
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-paymentcryptographydata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|