aws-sdk-paymentcryptographydata 1.50.0 → 1.52.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptographydata/client.rb +213 -60
- data/lib/aws-sdk-paymentcryptographydata/client_api.rb +32 -4
- data/lib/aws-sdk-paymentcryptographydata/types.rb +74 -4
- data/lib/aws-sdk-paymentcryptographydata.rb +1 -1
- data/sig/client.rbs +34 -305
- data/sig/params.rbs +150 -0
- data/sig/types.rbs +16 -0
- metadata +2 -1
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
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 session_key_derivation = {
|
|
59
|
+
emv_common: {
|
|
60
|
+
primary_account_number: ::String,
|
|
61
|
+
pan_sequence_number: ::String,
|
|
62
|
+
application_transaction_counter: ::String
|
|
63
|
+
}?,
|
|
64
|
+
mastercard: {
|
|
65
|
+
primary_account_number: ::String,
|
|
66
|
+
pan_sequence_number: ::String,
|
|
67
|
+
application_transaction_counter: ::String,
|
|
68
|
+
unpredictable_number: ::String
|
|
69
|
+
}?,
|
|
70
|
+
emv_2000: {
|
|
71
|
+
primary_account_number: ::String,
|
|
72
|
+
pan_sequence_number: ::String,
|
|
73
|
+
application_transaction_counter: ::String
|
|
74
|
+
}?,
|
|
75
|
+
amex: {
|
|
76
|
+
primary_account_number: ::String,
|
|
77
|
+
pan_sequence_number: ::String
|
|
78
|
+
}?,
|
|
79
|
+
visa: {
|
|
80
|
+
primary_account_number: ::String,
|
|
81
|
+
pan_sequence_number: ::String
|
|
82
|
+
}?
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
type mac_algorithm_emv = {
|
|
86
|
+
major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
|
|
87
|
+
primary_account_number: ::String,
|
|
88
|
+
pan_sequence_number: ::String,
|
|
89
|
+
session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"),
|
|
90
|
+
session_key_derivation_value: {
|
|
91
|
+
application_cryptogram: ::String?,
|
|
92
|
+
application_transaction_counter: ::String?
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
type mac_attributes = {
|
|
97
|
+
algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "AS2805_4_1")?,
|
|
98
|
+
emv_mac: Params::mac_algorithm_emv?,
|
|
99
|
+
dukpt_iso_9797_algorithm_1: {
|
|
100
|
+
key_serial_number: ::String,
|
|
101
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
|
102
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
|
103
|
+
}?,
|
|
104
|
+
dukpt_iso_9797_algorithm_3: {
|
|
105
|
+
key_serial_number: ::String,
|
|
106
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
|
107
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
|
108
|
+
}?,
|
|
109
|
+
dukpt_cmac: {
|
|
110
|
+
key_serial_number: ::String,
|
|
111
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
|
|
112
|
+
dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?
|
|
113
|
+
}?
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
type re_encryption_attributes = {
|
|
117
|
+
symmetric: {
|
|
118
|
+
mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
|
|
119
|
+
initialization_vector: ::String?,
|
|
120
|
+
padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
|
|
121
|
+
}?,
|
|
122
|
+
dukpt: {
|
|
123
|
+
key_serial_number: ::String,
|
|
124
|
+
mode: ("ECB" | "CBC")?,
|
|
125
|
+
dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
|
|
126
|
+
dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
|
|
127
|
+
initialization_vector: ::String?
|
|
128
|
+
}?
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
type translation_iso_formats = {
|
|
132
|
+
iso_format_0: {
|
|
133
|
+
primary_account_number: ::String
|
|
134
|
+
}?,
|
|
135
|
+
iso_format_1: {
|
|
136
|
+
}?,
|
|
137
|
+
iso_format_3: {
|
|
138
|
+
primary_account_number: ::String
|
|
139
|
+
}?,
|
|
140
|
+
iso_format_4: {
|
|
141
|
+
primary_account_number: ::String
|
|
142
|
+
}?,
|
|
143
|
+
as_2805_format_0: {
|
|
144
|
+
primary_account_number: ::String
|
|
145
|
+
}?
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
end
|
data/sig/types.rbs
CHANGED
|
@@ -352,6 +352,21 @@ module Aws::PaymentCryptographyData
|
|
|
352
352
|
SENSITIVE: [:random_key_send, :random_key_receive]
|
|
353
353
|
end
|
|
354
354
|
|
|
355
|
+
class GenerateAuthRequestCryptogramInput
|
|
356
|
+
attr_accessor key_identifier: ::String
|
|
357
|
+
attr_accessor transaction_data: ::String
|
|
358
|
+
attr_accessor major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B")
|
|
359
|
+
attr_accessor session_key_derivation_attributes: Types::SessionKeyDerivation
|
|
360
|
+
SENSITIVE: [:transaction_data]
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
class GenerateAuthRequestCryptogramOutput
|
|
364
|
+
attr_accessor key_arn: ::String
|
|
365
|
+
attr_accessor key_check_value: ::String
|
|
366
|
+
attr_accessor auth_request_cryptogram: ::String
|
|
367
|
+
SENSITIVE: [:auth_request_cryptogram]
|
|
368
|
+
end
|
|
369
|
+
|
|
355
370
|
class GenerateCardValidationDataInput
|
|
356
371
|
attr_accessor key_identifier: ::String
|
|
357
372
|
attr_accessor primary_account_number: ::String
|
|
@@ -495,6 +510,7 @@ module Aws::PaymentCryptographyData
|
|
|
495
510
|
|
|
496
511
|
class KekValidationRequest
|
|
497
512
|
attr_accessor derive_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224")
|
|
513
|
+
attr_accessor random_key_max_length: ("BYTES_8" | "BYTES_16" | "BYTES_24")
|
|
498
514
|
SENSITIVE: []
|
|
499
515
|
end
|
|
500
516
|
|
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.
|
|
4
|
+
version: 1.52.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
|