@aws-sdk/client-payment-cryptography-data 3.903.0 → 3.907.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.
- package/dist-cjs/index.js +1943 -2130
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2165 +1,1978 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
CardVerificationValue1FilterSensitiveLog: () => CardVerificationValue1FilterSensitiveLog,
|
|
33
|
-
CardVerificationValue2FilterSensitiveLog: () => CardVerificationValue2FilterSensitiveLog,
|
|
34
|
-
CryptogramAuthResponse: () => CryptogramAuthResponse,
|
|
35
|
-
CryptogramAuthResponseFilterSensitiveLog: () => CryptogramAuthResponseFilterSensitiveLog,
|
|
36
|
-
CryptogramVerificationArpcMethod2FilterSensitiveLog: () => CryptogramVerificationArpcMethod2FilterSensitiveLog,
|
|
37
|
-
CurrentPinAttributesFilterSensitiveLog: () => CurrentPinAttributesFilterSensitiveLog,
|
|
38
|
-
DecryptDataCommand: () => DecryptDataCommand,
|
|
39
|
-
DecryptDataInputFilterSensitiveLog: () => DecryptDataInputFilterSensitiveLog,
|
|
40
|
-
DecryptDataOutputFilterSensitiveLog: () => DecryptDataOutputFilterSensitiveLog,
|
|
41
|
-
DerivationMethodAttributes: () => DerivationMethodAttributes,
|
|
42
|
-
DerivationMethodAttributesFilterSensitiveLog: () => DerivationMethodAttributesFilterSensitiveLog,
|
|
43
|
-
DiffieHellmanDerivationData: () => DiffieHellmanDerivationData,
|
|
44
|
-
DiscoverDynamicCardVerificationCodeFilterSensitiveLog: () => DiscoverDynamicCardVerificationCodeFilterSensitiveLog,
|
|
45
|
-
DukptDerivationType: () => DukptDerivationType,
|
|
46
|
-
DukptEncryptionAttributesFilterSensitiveLog: () => DukptEncryptionAttributesFilterSensitiveLog,
|
|
47
|
-
DukptEncryptionMode: () => DukptEncryptionMode,
|
|
48
|
-
DukptKeyVariant: () => DukptKeyVariant,
|
|
49
|
-
DynamicCardVerificationCodeFilterSensitiveLog: () => DynamicCardVerificationCodeFilterSensitiveLog,
|
|
50
|
-
DynamicCardVerificationValueFilterSensitiveLog: () => DynamicCardVerificationValueFilterSensitiveLog,
|
|
51
|
-
Emv2000AttributesFilterSensitiveLog: () => Emv2000AttributesFilterSensitiveLog,
|
|
52
|
-
EmvCommonAttributesFilterSensitiveLog: () => EmvCommonAttributesFilterSensitiveLog,
|
|
53
|
-
EmvEncryptionAttributesFilterSensitiveLog: () => EmvEncryptionAttributesFilterSensitiveLog,
|
|
54
|
-
EmvEncryptionMode: () => EmvEncryptionMode,
|
|
55
|
-
EmvMajorKeyDerivationMode: () => EmvMajorKeyDerivationMode,
|
|
56
|
-
EncryptDataCommand: () => EncryptDataCommand,
|
|
57
|
-
EncryptDataInputFilterSensitiveLog: () => EncryptDataInputFilterSensitiveLog,
|
|
58
|
-
EncryptDataOutputFilterSensitiveLog: () => EncryptDataOutputFilterSensitiveLog,
|
|
59
|
-
EncryptionDecryptionAttributes: () => EncryptionDecryptionAttributes,
|
|
60
|
-
EncryptionDecryptionAttributesFilterSensitiveLog: () => EncryptionDecryptionAttributesFilterSensitiveLog,
|
|
61
|
-
EncryptionMode: () => EncryptionMode,
|
|
62
|
-
GenerateCardValidationDataCommand: () => GenerateCardValidationDataCommand,
|
|
63
|
-
GenerateCardValidationDataInputFilterSensitiveLog: () => GenerateCardValidationDataInputFilterSensitiveLog,
|
|
64
|
-
GenerateCardValidationDataOutputFilterSensitiveLog: () => GenerateCardValidationDataOutputFilterSensitiveLog,
|
|
65
|
-
GenerateMacCommand: () => GenerateMacCommand,
|
|
66
|
-
GenerateMacEmvPinChangeCommand: () => GenerateMacEmvPinChangeCommand,
|
|
67
|
-
GenerateMacEmvPinChangeInputFilterSensitiveLog: () => GenerateMacEmvPinChangeInputFilterSensitiveLog,
|
|
68
|
-
GenerateMacEmvPinChangeOutputFilterSensitiveLog: () => GenerateMacEmvPinChangeOutputFilterSensitiveLog,
|
|
69
|
-
GenerateMacInputFilterSensitiveLog: () => GenerateMacInputFilterSensitiveLog,
|
|
70
|
-
GenerateMacOutputFilterSensitiveLog: () => GenerateMacOutputFilterSensitiveLog,
|
|
71
|
-
GeneratePinDataCommand: () => GeneratePinDataCommand,
|
|
72
|
-
GeneratePinDataInputFilterSensitiveLog: () => GeneratePinDataInputFilterSensitiveLog,
|
|
73
|
-
GeneratePinDataOutputFilterSensitiveLog: () => GeneratePinDataOutputFilterSensitiveLog,
|
|
74
|
-
Ibm3624NaturalPinFilterSensitiveLog: () => Ibm3624NaturalPinFilterSensitiveLog,
|
|
75
|
-
Ibm3624PinFromOffsetFilterSensitiveLog: () => Ibm3624PinFromOffsetFilterSensitiveLog,
|
|
76
|
-
Ibm3624PinOffsetFilterSensitiveLog: () => Ibm3624PinOffsetFilterSensitiveLog,
|
|
77
|
-
Ibm3624PinVerificationFilterSensitiveLog: () => Ibm3624PinVerificationFilterSensitiveLog,
|
|
78
|
-
Ibm3624RandomPinFilterSensitiveLog: () => Ibm3624RandomPinFilterSensitiveLog,
|
|
79
|
-
IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog: () => IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog,
|
|
80
|
-
IncomingKeyMaterial: () => IncomingKeyMaterial,
|
|
81
|
-
IncomingKeyMaterialFilterSensitiveLog: () => IncomingKeyMaterialFilterSensitiveLog,
|
|
82
|
-
InternalServerException: () => InternalServerException,
|
|
83
|
-
KeyCheckValueAlgorithm: () => KeyCheckValueAlgorithm,
|
|
84
|
-
KeyDerivationFunction: () => KeyDerivationFunction,
|
|
85
|
-
KeyDerivationHashAlgorithm: () => KeyDerivationHashAlgorithm,
|
|
86
|
-
MacAlgorithm: () => MacAlgorithm,
|
|
87
|
-
MacAlgorithmEmvFilterSensitiveLog: () => MacAlgorithmEmvFilterSensitiveLog,
|
|
88
|
-
MacAttributes: () => MacAttributes,
|
|
89
|
-
MacAttributesFilterSensitiveLog: () => MacAttributesFilterSensitiveLog,
|
|
90
|
-
MajorKeyDerivationMode: () => MajorKeyDerivationMode,
|
|
91
|
-
MasterCardAttributesFilterSensitiveLog: () => MasterCardAttributesFilterSensitiveLog,
|
|
92
|
-
OutgoingKeyMaterial: () => OutgoingKeyMaterial,
|
|
93
|
-
PaddingType: () => PaddingType,
|
|
94
|
-
PaymentCryptographyData: () => PaymentCryptographyData,
|
|
95
|
-
PaymentCryptographyDataClient: () => PaymentCryptographyDataClient,
|
|
96
|
-
PaymentCryptographyDataServiceException: () => PaymentCryptographyDataServiceException,
|
|
97
|
-
PinBlockFormatForEmvPinChange: () => PinBlockFormatForEmvPinChange,
|
|
98
|
-
PinBlockFormatForPinData: () => PinBlockFormatForPinData,
|
|
99
|
-
PinBlockLengthPosition: () => PinBlockLengthPosition,
|
|
100
|
-
PinBlockPaddingType: () => PinBlockPaddingType,
|
|
101
|
-
PinData: () => PinData,
|
|
102
|
-
PinDataFilterSensitiveLog: () => PinDataFilterSensitiveLog,
|
|
103
|
-
PinGenerationAttributes: () => PinGenerationAttributes,
|
|
104
|
-
PinGenerationAttributesFilterSensitiveLog: () => PinGenerationAttributesFilterSensitiveLog,
|
|
105
|
-
PinVerificationAttributes: () => PinVerificationAttributes,
|
|
106
|
-
PinVerificationAttributesFilterSensitiveLog: () => PinVerificationAttributesFilterSensitiveLog,
|
|
107
|
-
ReEncryptDataCommand: () => ReEncryptDataCommand,
|
|
108
|
-
ReEncryptDataInputFilterSensitiveLog: () => ReEncryptDataInputFilterSensitiveLog,
|
|
109
|
-
ReEncryptDataOutputFilterSensitiveLog: () => ReEncryptDataOutputFilterSensitiveLog,
|
|
110
|
-
ReEncryptionAttributes: () => ReEncryptionAttributes,
|
|
111
|
-
ReEncryptionAttributesFilterSensitiveLog: () => ReEncryptionAttributesFilterSensitiveLog,
|
|
112
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
113
|
-
SessionKeyAmexFilterSensitiveLog: () => SessionKeyAmexFilterSensitiveLog,
|
|
114
|
-
SessionKeyDerivation: () => SessionKeyDerivation,
|
|
115
|
-
SessionKeyDerivationFilterSensitiveLog: () => SessionKeyDerivationFilterSensitiveLog,
|
|
116
|
-
SessionKeyDerivationMode: () => SessionKeyDerivationMode,
|
|
117
|
-
SessionKeyDerivationValue: () => SessionKeyDerivationValue,
|
|
118
|
-
SessionKeyDerivationValueFilterSensitiveLog: () => SessionKeyDerivationValueFilterSensitiveLog,
|
|
119
|
-
SessionKeyEmv2000FilterSensitiveLog: () => SessionKeyEmv2000FilterSensitiveLog,
|
|
120
|
-
SessionKeyEmvCommonFilterSensitiveLog: () => SessionKeyEmvCommonFilterSensitiveLog,
|
|
121
|
-
SessionKeyMastercardFilterSensitiveLog: () => SessionKeyMastercardFilterSensitiveLog,
|
|
122
|
-
SessionKeyVisaFilterSensitiveLog: () => SessionKeyVisaFilterSensitiveLog,
|
|
123
|
-
SymmetricEncryptionAttributesFilterSensitiveLog: () => SymmetricEncryptionAttributesFilterSensitiveLog,
|
|
124
|
-
SymmetricKeyAlgorithm: () => SymmetricKeyAlgorithm,
|
|
125
|
-
ThrottlingException: () => ThrottlingException,
|
|
126
|
-
TranslateKeyMaterialCommand: () => TranslateKeyMaterialCommand,
|
|
127
|
-
TranslateKeyMaterialInputFilterSensitiveLog: () => TranslateKeyMaterialInputFilterSensitiveLog,
|
|
128
|
-
TranslateKeyMaterialOutputFilterSensitiveLog: () => TranslateKeyMaterialOutputFilterSensitiveLog,
|
|
129
|
-
TranslatePinDataCommand: () => TranslatePinDataCommand,
|
|
130
|
-
TranslatePinDataInputFilterSensitiveLog: () => TranslatePinDataInputFilterSensitiveLog,
|
|
131
|
-
TranslatePinDataOutputFilterSensitiveLog: () => TranslatePinDataOutputFilterSensitiveLog,
|
|
132
|
-
TranslationIsoFormats: () => TranslationIsoFormats,
|
|
133
|
-
TranslationIsoFormatsFilterSensitiveLog: () => TranslationIsoFormatsFilterSensitiveLog,
|
|
134
|
-
TranslationPinDataIsoFormat034FilterSensitiveLog: () => TranslationPinDataIsoFormat034FilterSensitiveLog,
|
|
135
|
-
ValidationException: () => ValidationException,
|
|
136
|
-
VerificationFailedException: () => VerificationFailedException,
|
|
137
|
-
VerificationFailedReason: () => VerificationFailedReason,
|
|
138
|
-
VerifyAuthRequestCryptogramCommand: () => VerifyAuthRequestCryptogramCommand,
|
|
139
|
-
VerifyAuthRequestCryptogramInputFilterSensitiveLog: () => VerifyAuthRequestCryptogramInputFilterSensitiveLog,
|
|
140
|
-
VerifyAuthRequestCryptogramOutputFilterSensitiveLog: () => VerifyAuthRequestCryptogramOutputFilterSensitiveLog,
|
|
141
|
-
VerifyCardValidationDataCommand: () => VerifyCardValidationDataCommand,
|
|
142
|
-
VerifyCardValidationDataInputFilterSensitiveLog: () => VerifyCardValidationDataInputFilterSensitiveLog,
|
|
143
|
-
VerifyMacCommand: () => VerifyMacCommand,
|
|
144
|
-
VerifyMacInputFilterSensitiveLog: () => VerifyMacInputFilterSensitiveLog,
|
|
145
|
-
VerifyPinDataCommand: () => VerifyPinDataCommand,
|
|
146
|
-
VerifyPinDataInputFilterSensitiveLog: () => VerifyPinDataInputFilterSensitiveLog,
|
|
147
|
-
VisaAttributesFilterSensitiveLog: () => VisaAttributesFilterSensitiveLog,
|
|
148
|
-
VisaPinVerificationFilterSensitiveLog: () => VisaPinVerificationFilterSensitiveLog,
|
|
149
|
-
VisaPinVerificationValueFilterSensitiveLog: () => VisaPinVerificationValueFilterSensitiveLog,
|
|
150
|
-
WrappedKeyFilterSensitiveLog: () => WrappedKeyFilterSensitiveLog,
|
|
151
|
-
WrappedKeyMaterial: () => WrappedKeyMaterial,
|
|
152
|
-
WrappedKeyMaterialFilterSensitiveLog: () => WrappedKeyMaterialFilterSensitiveLog,
|
|
153
|
-
WrappedKeyMaterialFormat: () => WrappedKeyMaterialFormat,
|
|
154
|
-
WrappedWorkingKeyFilterSensitiveLog: () => WrappedWorkingKeyFilterSensitiveLog,
|
|
155
|
-
__Client: () => import_smithy_client.Client
|
|
156
|
-
});
|
|
157
|
-
module.exports = __toCommonJS(index_exports);
|
|
158
|
-
|
|
159
|
-
// src/PaymentCryptographyDataClient.ts
|
|
160
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
161
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
162
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
163
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
164
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
165
|
-
var import_core = require("@smithy/core");
|
|
166
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
167
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
168
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
169
|
-
|
|
170
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
171
|
-
|
|
172
|
-
// src/endpoint/EndpointParameters.ts
|
|
173
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
174
|
-
return Object.assign(options, {
|
|
175
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
176
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
177
|
-
defaultSigningName: "payment-cryptography"
|
|
178
|
-
});
|
|
179
|
-
}, "resolveClientEndpointParameters");
|
|
180
|
-
var commonParams = {
|
|
181
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
182
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
183
|
-
Region: { type: "builtInParams", name: "region" },
|
|
184
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "payment-cryptography",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
185
32
|
};
|
|
186
33
|
|
|
187
|
-
|
|
188
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
189
72
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
194
78
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
79
|
+
class PaymentCryptographyDataClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultPaymentCryptographyDataHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
223
107
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
229
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
230
|
-
credentials: config.credentials()
|
|
231
|
-
};
|
|
232
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
233
|
-
|
|
234
|
-
// src/runtimeExtensions.ts
|
|
235
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
236
|
-
const extensionConfiguration = Object.assign(
|
|
237
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
238
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
239
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
240
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
241
|
-
);
|
|
242
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
243
|
-
return Object.assign(
|
|
244
|
-
runtimeConfig,
|
|
245
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
246
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
247
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
248
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
249
|
-
);
|
|
250
|
-
}, "resolveRuntimeExtensions");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
251
112
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
277
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
278
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
279
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
280
|
-
this.middlewareStack.use(
|
|
281
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
282
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPaymentCryptographyDataHttpAuthSchemeParametersProvider,
|
|
283
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
284
|
-
"aws.auth#sigv4": config.credentials
|
|
285
|
-
}), "identityProviderConfigProvider")
|
|
286
|
-
})
|
|
287
|
-
);
|
|
288
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
289
|
-
}
|
|
290
|
-
/**
|
|
291
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
292
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
293
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
294
|
-
*/
|
|
295
|
-
destroy() {
|
|
296
|
-
super.destroy();
|
|
297
|
-
}
|
|
113
|
+
class PaymentCryptographyDataServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, PaymentCryptographyDataServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends PaymentCryptographyDataServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const MajorKeyDerivationMode = {
|
|
135
|
+
EMV_OPTION_A: "EMV_OPTION_A",
|
|
136
|
+
EMV_OPTION_B: "EMV_OPTION_B",
|
|
298
137
|
};
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
// src/models/models_0.ts
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
// src/models/PaymentCryptographyDataServiceException.ts
|
|
312
|
-
|
|
313
|
-
var PaymentCryptographyDataServiceException = class _PaymentCryptographyDataServiceException extends import_smithy_client.ServiceException {
|
|
314
|
-
static {
|
|
315
|
-
__name(this, "PaymentCryptographyDataServiceException");
|
|
316
|
-
}
|
|
317
|
-
/**
|
|
318
|
-
* @internal
|
|
319
|
-
*/
|
|
320
|
-
constructor(options) {
|
|
321
|
-
super(options);
|
|
322
|
-
Object.setPrototypeOf(this, _PaymentCryptographyDataServiceException.prototype);
|
|
323
|
-
}
|
|
138
|
+
const PaddingType = {
|
|
139
|
+
OAEP_SHA1: "OAEP_SHA1",
|
|
140
|
+
OAEP_SHA256: "OAEP_SHA256",
|
|
141
|
+
OAEP_SHA512: "OAEP_SHA512",
|
|
142
|
+
PKCS1: "PKCS1",
|
|
324
143
|
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
344
|
-
this.Message = opts.Message;
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
var MajorKeyDerivationMode = {
|
|
348
|
-
EMV_OPTION_A: "EMV_OPTION_A",
|
|
349
|
-
EMV_OPTION_B: "EMV_OPTION_B"
|
|
350
|
-
};
|
|
351
|
-
var PaddingType = {
|
|
352
|
-
OAEP_SHA1: "OAEP_SHA1",
|
|
353
|
-
OAEP_SHA256: "OAEP_SHA256",
|
|
354
|
-
OAEP_SHA512: "OAEP_SHA512",
|
|
355
|
-
PKCS1: "PKCS1"
|
|
356
|
-
};
|
|
357
|
-
var CardGenerationAttributes;
|
|
358
|
-
((CardGenerationAttributes3) => {
|
|
359
|
-
CardGenerationAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
360
|
-
if (value.AmexCardSecurityCodeVersion1 !== void 0)
|
|
361
|
-
return visitor.AmexCardSecurityCodeVersion1(value.AmexCardSecurityCodeVersion1);
|
|
362
|
-
if (value.AmexCardSecurityCodeVersion2 !== void 0)
|
|
363
|
-
return visitor.AmexCardSecurityCodeVersion2(value.AmexCardSecurityCodeVersion2);
|
|
364
|
-
if (value.CardVerificationValue1 !== void 0) return visitor.CardVerificationValue1(value.CardVerificationValue1);
|
|
365
|
-
if (value.CardVerificationValue2 !== void 0) return visitor.CardVerificationValue2(value.CardVerificationValue2);
|
|
366
|
-
if (value.CardHolderVerificationValue !== void 0)
|
|
367
|
-
return visitor.CardHolderVerificationValue(value.CardHolderVerificationValue);
|
|
368
|
-
if (value.DynamicCardVerificationCode !== void 0)
|
|
369
|
-
return visitor.DynamicCardVerificationCode(value.DynamicCardVerificationCode);
|
|
370
|
-
if (value.DynamicCardVerificationValue !== void 0)
|
|
371
|
-
return visitor.DynamicCardVerificationValue(value.DynamicCardVerificationValue);
|
|
372
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
373
|
-
}, "visit");
|
|
374
|
-
})(CardGenerationAttributes || (CardGenerationAttributes = {}));
|
|
375
|
-
var CardVerificationAttributes;
|
|
376
|
-
((CardVerificationAttributes3) => {
|
|
377
|
-
CardVerificationAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
378
|
-
if (value.AmexCardSecurityCodeVersion1 !== void 0)
|
|
379
|
-
return visitor.AmexCardSecurityCodeVersion1(value.AmexCardSecurityCodeVersion1);
|
|
380
|
-
if (value.AmexCardSecurityCodeVersion2 !== void 0)
|
|
381
|
-
return visitor.AmexCardSecurityCodeVersion2(value.AmexCardSecurityCodeVersion2);
|
|
382
|
-
if (value.CardVerificationValue1 !== void 0) return visitor.CardVerificationValue1(value.CardVerificationValue1);
|
|
383
|
-
if (value.CardVerificationValue2 !== void 0) return visitor.CardVerificationValue2(value.CardVerificationValue2);
|
|
384
|
-
if (value.CardHolderVerificationValue !== void 0)
|
|
385
|
-
return visitor.CardHolderVerificationValue(value.CardHolderVerificationValue);
|
|
386
|
-
if (value.DynamicCardVerificationCode !== void 0)
|
|
387
|
-
return visitor.DynamicCardVerificationCode(value.DynamicCardVerificationCode);
|
|
388
|
-
if (value.DynamicCardVerificationValue !== void 0)
|
|
389
|
-
return visitor.DynamicCardVerificationValue(value.DynamicCardVerificationValue);
|
|
390
|
-
if (value.DiscoverDynamicCardVerificationCode !== void 0)
|
|
391
|
-
return visitor.DiscoverDynamicCardVerificationCode(value.DiscoverDynamicCardVerificationCode);
|
|
392
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
393
|
-
}, "visit");
|
|
394
|
-
})(CardVerificationAttributes || (CardVerificationAttributes = {}));
|
|
395
|
-
var CryptogramAuthResponse;
|
|
396
|
-
((CryptogramAuthResponse3) => {
|
|
397
|
-
CryptogramAuthResponse3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
398
|
-
if (value.ArpcMethod1 !== void 0) return visitor.ArpcMethod1(value.ArpcMethod1);
|
|
399
|
-
if (value.ArpcMethod2 !== void 0) return visitor.ArpcMethod2(value.ArpcMethod2);
|
|
400
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
401
|
-
}, "visit");
|
|
402
|
-
})(CryptogramAuthResponse || (CryptogramAuthResponse = {}));
|
|
403
|
-
var DukptDerivationType = {
|
|
404
|
-
AES_128: "AES_128",
|
|
405
|
-
AES_192: "AES_192",
|
|
406
|
-
AES_256: "AES_256",
|
|
407
|
-
TDES_2KEY: "TDES_2KEY",
|
|
408
|
-
TDES_3KEY: "TDES_3KEY"
|
|
409
|
-
};
|
|
410
|
-
var DukptKeyVariant = {
|
|
411
|
-
BIDIRECTIONAL: "BIDIRECTIONAL",
|
|
412
|
-
REQUEST: "REQUEST",
|
|
413
|
-
RESPONSE: "RESPONSE"
|
|
414
|
-
};
|
|
415
|
-
var DukptEncryptionMode = {
|
|
416
|
-
CBC: "CBC",
|
|
417
|
-
ECB: "ECB"
|
|
418
|
-
};
|
|
419
|
-
var EmvMajorKeyDerivationMode = {
|
|
420
|
-
EMV_OPTION_A: "EMV_OPTION_A",
|
|
421
|
-
EMV_OPTION_B: "EMV_OPTION_B"
|
|
422
|
-
};
|
|
423
|
-
var EmvEncryptionMode = {
|
|
424
|
-
CBC: "CBC",
|
|
425
|
-
ECB: "ECB"
|
|
426
|
-
};
|
|
427
|
-
var EncryptionMode = {
|
|
428
|
-
CBC: "CBC",
|
|
429
|
-
CFB: "CFB",
|
|
430
|
-
CFB1: "CFB1",
|
|
431
|
-
CFB128: "CFB128",
|
|
432
|
-
CFB64: "CFB64",
|
|
433
|
-
CFB8: "CFB8",
|
|
434
|
-
ECB: "ECB",
|
|
435
|
-
OFB: "OFB"
|
|
436
|
-
};
|
|
437
|
-
var EncryptionDecryptionAttributes;
|
|
438
|
-
((EncryptionDecryptionAttributes3) => {
|
|
439
|
-
EncryptionDecryptionAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
440
|
-
if (value.Symmetric !== void 0) return visitor.Symmetric(value.Symmetric);
|
|
441
|
-
if (value.Asymmetric !== void 0) return visitor.Asymmetric(value.Asymmetric);
|
|
442
|
-
if (value.Dukpt !== void 0) return visitor.Dukpt(value.Dukpt);
|
|
443
|
-
if (value.Emv !== void 0) return visitor.Emv(value.Emv);
|
|
444
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
445
|
-
}, "visit");
|
|
446
|
-
})(EncryptionDecryptionAttributes || (EncryptionDecryptionAttributes = {}));
|
|
447
|
-
var KeyCheckValueAlgorithm = {
|
|
448
|
-
ANSI_X9_24: "ANSI_X9_24",
|
|
449
|
-
CMAC: "CMAC",
|
|
450
|
-
HMAC: "HMAC",
|
|
451
|
-
SHA_1: "SHA_1"
|
|
452
|
-
};
|
|
453
|
-
var SymmetricKeyAlgorithm = {
|
|
454
|
-
AES_128: "AES_128",
|
|
455
|
-
AES_192: "AES_192",
|
|
456
|
-
AES_256: "AES_256",
|
|
457
|
-
HMAC_SHA224: "HMAC_SHA224",
|
|
458
|
-
HMAC_SHA256: "HMAC_SHA256",
|
|
459
|
-
HMAC_SHA384: "HMAC_SHA384",
|
|
460
|
-
HMAC_SHA512: "HMAC_SHA512",
|
|
461
|
-
TDES_2KEY: "TDES_2KEY",
|
|
462
|
-
TDES_3KEY: "TDES_3KEY"
|
|
463
|
-
};
|
|
464
|
-
var KeyDerivationFunction = {
|
|
465
|
-
ANSI_X963: "ANSI_X963",
|
|
466
|
-
NIST_SP800: "NIST_SP800"
|
|
467
|
-
};
|
|
468
|
-
var KeyDerivationHashAlgorithm = {
|
|
469
|
-
SHA_256: "SHA_256",
|
|
470
|
-
SHA_384: "SHA_384",
|
|
471
|
-
SHA_512: "SHA_512"
|
|
472
|
-
};
|
|
473
|
-
var WrappedKeyMaterial;
|
|
474
|
-
((WrappedKeyMaterial3) => {
|
|
475
|
-
WrappedKeyMaterial3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
476
|
-
if (value.Tr31KeyBlock !== void 0) return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
|
|
477
|
-
if (value.DiffieHellmanSymmetricKey !== void 0)
|
|
478
|
-
return visitor.DiffieHellmanSymmetricKey(value.DiffieHellmanSymmetricKey);
|
|
479
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
480
|
-
}, "visit");
|
|
481
|
-
})(WrappedKeyMaterial || (WrappedKeyMaterial = {}));
|
|
482
|
-
var InternalServerException = class _InternalServerException extends PaymentCryptographyDataServiceException {
|
|
483
|
-
static {
|
|
484
|
-
__name(this, "InternalServerException");
|
|
485
|
-
}
|
|
486
|
-
name = "InternalServerException";
|
|
487
|
-
$fault = "server";
|
|
488
|
-
Message;
|
|
489
|
-
/**
|
|
490
|
-
* @internal
|
|
491
|
-
*/
|
|
492
|
-
constructor(opts) {
|
|
493
|
-
super({
|
|
494
|
-
name: "InternalServerException",
|
|
495
|
-
$fault: "server",
|
|
496
|
-
...opts
|
|
497
|
-
});
|
|
498
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
499
|
-
this.Message = opts.Message;
|
|
500
|
-
}
|
|
501
|
-
};
|
|
502
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends PaymentCryptographyDataServiceException {
|
|
503
|
-
static {
|
|
504
|
-
__name(this, "ResourceNotFoundException");
|
|
505
|
-
}
|
|
506
|
-
name = "ResourceNotFoundException";
|
|
507
|
-
$fault = "client";
|
|
508
|
-
/**
|
|
509
|
-
* <p>The resource that is missing.</p>
|
|
510
|
-
* @public
|
|
511
|
-
*/
|
|
512
|
-
ResourceId;
|
|
513
|
-
/**
|
|
514
|
-
* @internal
|
|
515
|
-
*/
|
|
516
|
-
constructor(opts) {
|
|
517
|
-
super({
|
|
518
|
-
name: "ResourceNotFoundException",
|
|
519
|
-
$fault: "client",
|
|
520
|
-
...opts
|
|
521
|
-
});
|
|
522
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
523
|
-
this.ResourceId = opts.ResourceId;
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
var ThrottlingException = class _ThrottlingException extends PaymentCryptographyDataServiceException {
|
|
527
|
-
static {
|
|
528
|
-
__name(this, "ThrottlingException");
|
|
529
|
-
}
|
|
530
|
-
name = "ThrottlingException";
|
|
531
|
-
$fault = "client";
|
|
532
|
-
Message;
|
|
533
|
-
/**
|
|
534
|
-
* @internal
|
|
535
|
-
*/
|
|
536
|
-
constructor(opts) {
|
|
537
|
-
super({
|
|
538
|
-
name: "ThrottlingException",
|
|
539
|
-
$fault: "client",
|
|
540
|
-
...opts
|
|
541
|
-
});
|
|
542
|
-
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
543
|
-
this.Message = opts.Message;
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
var ValidationException = class _ValidationException extends PaymentCryptographyDataServiceException {
|
|
547
|
-
static {
|
|
548
|
-
__name(this, "ValidationException");
|
|
549
|
-
}
|
|
550
|
-
name = "ValidationException";
|
|
551
|
-
$fault = "client";
|
|
552
|
-
/**
|
|
553
|
-
* <p>The request was denied due to an invalid request error.</p>
|
|
554
|
-
* @public
|
|
555
|
-
*/
|
|
556
|
-
fieldList;
|
|
557
|
-
/**
|
|
558
|
-
* @internal
|
|
559
|
-
*/
|
|
560
|
-
constructor(opts) {
|
|
561
|
-
super({
|
|
562
|
-
name: "ValidationException",
|
|
563
|
-
$fault: "client",
|
|
564
|
-
...opts
|
|
565
|
-
});
|
|
566
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
567
|
-
this.fieldList = opts.fieldList;
|
|
568
|
-
}
|
|
569
|
-
};
|
|
570
|
-
var PinBlockLengthPosition = {
|
|
571
|
-
FRONT_OF_PIN_BLOCK: "FRONT_OF_PIN_BLOCK",
|
|
572
|
-
NONE: "NONE"
|
|
573
|
-
};
|
|
574
|
-
var PinBlockPaddingType = {
|
|
575
|
-
ISO_IEC_7816_4: "ISO_IEC_7816_4",
|
|
576
|
-
NO_PADDING: "NO_PADDING"
|
|
577
|
-
};
|
|
578
|
-
var DerivationMethodAttributes;
|
|
579
|
-
((DerivationMethodAttributes3) => {
|
|
580
|
-
DerivationMethodAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
581
|
-
if (value.EmvCommon !== void 0) return visitor.EmvCommon(value.EmvCommon);
|
|
582
|
-
if (value.Amex !== void 0) return visitor.Amex(value.Amex);
|
|
583
|
-
if (value.Visa !== void 0) return visitor.Visa(value.Visa);
|
|
584
|
-
if (value.Emv2000 !== void 0) return visitor.Emv2000(value.Emv2000);
|
|
585
|
-
if (value.Mastercard !== void 0) return visitor.Mastercard(value.Mastercard);
|
|
586
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
587
|
-
}, "visit");
|
|
588
|
-
})(DerivationMethodAttributes || (DerivationMethodAttributes = {}));
|
|
589
|
-
var DiffieHellmanDerivationData;
|
|
590
|
-
((DiffieHellmanDerivationData3) => {
|
|
591
|
-
DiffieHellmanDerivationData3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
592
|
-
if (value.SharedInformation !== void 0) return visitor.SharedInformation(value.SharedInformation);
|
|
593
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
594
|
-
}, "visit");
|
|
595
|
-
})(DiffieHellmanDerivationData || (DiffieHellmanDerivationData = {}));
|
|
596
|
-
var MacAlgorithm = {
|
|
597
|
-
CMAC: "CMAC",
|
|
598
|
-
HMAC: "HMAC",
|
|
599
|
-
HMAC_SHA224: "HMAC_SHA224",
|
|
600
|
-
HMAC_SHA256: "HMAC_SHA256",
|
|
601
|
-
HMAC_SHA384: "HMAC_SHA384",
|
|
602
|
-
HMAC_SHA512: "HMAC_SHA512",
|
|
603
|
-
ISO9797_ALGORITHM1: "ISO9797_ALGORITHM1",
|
|
604
|
-
ISO9797_ALGORITHM3: "ISO9797_ALGORITHM3"
|
|
605
|
-
};
|
|
606
|
-
var SessionKeyDerivationMode = {
|
|
607
|
-
AMEX: "AMEX",
|
|
608
|
-
EMV2000: "EMV2000",
|
|
609
|
-
EMV_COMMON_SESSION_KEY: "EMV_COMMON_SESSION_KEY",
|
|
610
|
-
MASTERCARD_SESSION_KEY: "MASTERCARD_SESSION_KEY",
|
|
611
|
-
VISA: "VISA"
|
|
612
|
-
};
|
|
613
|
-
var SessionKeyDerivationValue;
|
|
614
|
-
((SessionKeyDerivationValue3) => {
|
|
615
|
-
SessionKeyDerivationValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
616
|
-
if (value.ApplicationCryptogram !== void 0) return visitor.ApplicationCryptogram(value.ApplicationCryptogram);
|
|
617
|
-
if (value.ApplicationTransactionCounter !== void 0)
|
|
618
|
-
return visitor.ApplicationTransactionCounter(value.ApplicationTransactionCounter);
|
|
619
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
620
|
-
}, "visit");
|
|
621
|
-
})(SessionKeyDerivationValue || (SessionKeyDerivationValue = {}));
|
|
622
|
-
var MacAttributes;
|
|
623
|
-
((MacAttributes3) => {
|
|
624
|
-
MacAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
625
|
-
if (value.Algorithm !== void 0) return visitor.Algorithm(value.Algorithm);
|
|
626
|
-
if (value.EmvMac !== void 0) return visitor.EmvMac(value.EmvMac);
|
|
627
|
-
if (value.DukptIso9797Algorithm1 !== void 0) return visitor.DukptIso9797Algorithm1(value.DukptIso9797Algorithm1);
|
|
628
|
-
if (value.DukptIso9797Algorithm3 !== void 0) return visitor.DukptIso9797Algorithm3(value.DukptIso9797Algorithm3);
|
|
629
|
-
if (value.DukptCmac !== void 0) return visitor.DukptCmac(value.DukptCmac);
|
|
630
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
631
|
-
}, "visit");
|
|
632
|
-
})(MacAttributes || (MacAttributes = {}));
|
|
633
|
-
var PinBlockFormatForEmvPinChange = {
|
|
634
|
-
ISO_FORMAT_0: "ISO_FORMAT_0",
|
|
635
|
-
ISO_FORMAT_1: "ISO_FORMAT_1",
|
|
636
|
-
ISO_FORMAT_3: "ISO_FORMAT_3"
|
|
637
|
-
};
|
|
638
|
-
var PinGenerationAttributes;
|
|
639
|
-
((PinGenerationAttributes3) => {
|
|
640
|
-
PinGenerationAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
641
|
-
if (value.VisaPin !== void 0) return visitor.VisaPin(value.VisaPin);
|
|
642
|
-
if (value.VisaPinVerificationValue !== void 0)
|
|
643
|
-
return visitor.VisaPinVerificationValue(value.VisaPinVerificationValue);
|
|
644
|
-
if (value.Ibm3624PinOffset !== void 0) return visitor.Ibm3624PinOffset(value.Ibm3624PinOffset);
|
|
645
|
-
if (value.Ibm3624NaturalPin !== void 0) return visitor.Ibm3624NaturalPin(value.Ibm3624NaturalPin);
|
|
646
|
-
if (value.Ibm3624RandomPin !== void 0) return visitor.Ibm3624RandomPin(value.Ibm3624RandomPin);
|
|
647
|
-
if (value.Ibm3624PinFromOffset !== void 0) return visitor.Ibm3624PinFromOffset(value.Ibm3624PinFromOffset);
|
|
648
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
649
|
-
}, "visit");
|
|
650
|
-
})(PinGenerationAttributes || (PinGenerationAttributes = {}));
|
|
651
|
-
var PinBlockFormatForPinData = {
|
|
652
|
-
ISO_FORMAT_0: "ISO_FORMAT_0",
|
|
653
|
-
ISO_FORMAT_1: "ISO_FORMAT_1",
|
|
654
|
-
ISO_FORMAT_3: "ISO_FORMAT_3",
|
|
655
|
-
ISO_FORMAT_4: "ISO_FORMAT_4"
|
|
656
|
-
};
|
|
657
|
-
var PinData;
|
|
658
|
-
((PinData2) => {
|
|
659
|
-
PinData2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
660
|
-
if (value.PinOffset !== void 0) return visitor.PinOffset(value.PinOffset);
|
|
661
|
-
if (value.VerificationValue !== void 0) return visitor.VerificationValue(value.VerificationValue);
|
|
662
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
663
|
-
}, "visit");
|
|
664
|
-
})(PinData || (PinData = {}));
|
|
665
|
-
var IncomingKeyMaterial;
|
|
666
|
-
((IncomingKeyMaterial3) => {
|
|
667
|
-
IncomingKeyMaterial3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
668
|
-
if (value.DiffieHellmanTr31KeyBlock !== void 0)
|
|
669
|
-
return visitor.DiffieHellmanTr31KeyBlock(value.DiffieHellmanTr31KeyBlock);
|
|
670
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
671
|
-
}, "visit");
|
|
672
|
-
})(IncomingKeyMaterial || (IncomingKeyMaterial = {}));
|
|
673
|
-
var OutgoingKeyMaterial;
|
|
674
|
-
((OutgoingKeyMaterial3) => {
|
|
675
|
-
OutgoingKeyMaterial3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
676
|
-
if (value.Tr31KeyBlock !== void 0) return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
|
|
677
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
678
|
-
}, "visit");
|
|
679
|
-
})(OutgoingKeyMaterial || (OutgoingKeyMaterial = {}));
|
|
680
|
-
var ReEncryptionAttributes;
|
|
681
|
-
((ReEncryptionAttributes3) => {
|
|
682
|
-
ReEncryptionAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
683
|
-
if (value.Symmetric !== void 0) return visitor.Symmetric(value.Symmetric);
|
|
684
|
-
if (value.Dukpt !== void 0) return visitor.Dukpt(value.Dukpt);
|
|
685
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
686
|
-
}, "visit");
|
|
687
|
-
})(ReEncryptionAttributes || (ReEncryptionAttributes = {}));
|
|
688
|
-
var WrappedKeyMaterialFormat = {
|
|
689
|
-
KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
|
|
690
|
-
TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
|
|
691
|
-
TR34_KEY_BLOCK: "TR34_KEY_BLOCK"
|
|
692
|
-
};
|
|
693
|
-
var TranslationIsoFormats;
|
|
694
|
-
((TranslationIsoFormats3) => {
|
|
695
|
-
TranslationIsoFormats3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
696
|
-
if (value.IsoFormat0 !== void 0) return visitor.IsoFormat0(value.IsoFormat0);
|
|
697
|
-
if (value.IsoFormat1 !== void 0) return visitor.IsoFormat1(value.IsoFormat1);
|
|
698
|
-
if (value.IsoFormat3 !== void 0) return visitor.IsoFormat3(value.IsoFormat3);
|
|
699
|
-
if (value.IsoFormat4 !== void 0) return visitor.IsoFormat4(value.IsoFormat4);
|
|
700
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
701
|
-
}, "visit");
|
|
702
|
-
})(TranslationIsoFormats || (TranslationIsoFormats = {}));
|
|
703
|
-
var VerificationFailedReason = {
|
|
704
|
-
INVALID_AUTH_REQUEST_CRYPTOGRAM: "INVALID_AUTH_REQUEST_CRYPTOGRAM",
|
|
705
|
-
INVALID_MAC: "INVALID_MAC",
|
|
706
|
-
INVALID_PIN: "INVALID_PIN",
|
|
707
|
-
INVALID_VALIDATION_DATA: "INVALID_VALIDATION_DATA"
|
|
708
|
-
};
|
|
709
|
-
var VerificationFailedException = class _VerificationFailedException extends PaymentCryptographyDataServiceException {
|
|
710
|
-
static {
|
|
711
|
-
__name(this, "VerificationFailedException");
|
|
712
|
-
}
|
|
713
|
-
name = "VerificationFailedException";
|
|
714
|
-
$fault = "client";
|
|
715
|
-
/**
|
|
716
|
-
* <p>The reason for the exception.</p>
|
|
717
|
-
* @public
|
|
718
|
-
*/
|
|
719
|
-
Reason;
|
|
720
|
-
Message;
|
|
721
|
-
/**
|
|
722
|
-
* @internal
|
|
723
|
-
*/
|
|
724
|
-
constructor(opts) {
|
|
725
|
-
super({
|
|
726
|
-
name: "VerificationFailedException",
|
|
727
|
-
$fault: "client",
|
|
728
|
-
...opts
|
|
729
|
-
});
|
|
730
|
-
Object.setPrototypeOf(this, _VerificationFailedException.prototype);
|
|
731
|
-
this.Reason = opts.Reason;
|
|
732
|
-
this.Message = opts.Message;
|
|
733
|
-
}
|
|
734
|
-
};
|
|
735
|
-
var SessionKeyDerivation;
|
|
736
|
-
((SessionKeyDerivation3) => {
|
|
737
|
-
SessionKeyDerivation3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
738
|
-
if (value.EmvCommon !== void 0) return visitor.EmvCommon(value.EmvCommon);
|
|
739
|
-
if (value.Mastercard !== void 0) return visitor.Mastercard(value.Mastercard);
|
|
740
|
-
if (value.Emv2000 !== void 0) return visitor.Emv2000(value.Emv2000);
|
|
741
|
-
if (value.Amex !== void 0) return visitor.Amex(value.Amex);
|
|
742
|
-
if (value.Visa !== void 0) return visitor.Visa(value.Visa);
|
|
743
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
744
|
-
}, "visit");
|
|
745
|
-
})(SessionKeyDerivation || (SessionKeyDerivation = {}));
|
|
746
|
-
var PinVerificationAttributes;
|
|
747
|
-
((PinVerificationAttributes3) => {
|
|
748
|
-
PinVerificationAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
749
|
-
if (value.VisaPin !== void 0) return visitor.VisaPin(value.VisaPin);
|
|
750
|
-
if (value.Ibm3624Pin !== void 0) return visitor.Ibm3624Pin(value.Ibm3624Pin);
|
|
751
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
752
|
-
}, "visit");
|
|
753
|
-
})(PinVerificationAttributes || (PinVerificationAttributes = {}));
|
|
754
|
-
var CurrentPinAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
755
|
-
...obj,
|
|
756
|
-
...obj.CurrentEncryptedPinBlock && { CurrentEncryptedPinBlock: import_smithy_client.SENSITIVE_STRING }
|
|
757
|
-
}), "CurrentPinAttributesFilterSensitiveLog");
|
|
758
|
-
var AmexAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
759
|
-
...obj,
|
|
760
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
761
|
-
...obj.CurrentPinAttributes && {
|
|
762
|
-
CurrentPinAttributes: CurrentPinAttributesFilterSensitiveLog(obj.CurrentPinAttributes)
|
|
763
|
-
}
|
|
764
|
-
}), "AmexAttributesFilterSensitiveLog");
|
|
765
|
-
var AmexCardSecurityCodeVersion1FilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
766
|
-
...obj,
|
|
767
|
-
...obj.CardExpiryDate && { CardExpiryDate: import_smithy_client.SENSITIVE_STRING }
|
|
768
|
-
}), "AmexCardSecurityCodeVersion1FilterSensitiveLog");
|
|
769
|
-
var AmexCardSecurityCodeVersion2FilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
770
|
-
...obj,
|
|
771
|
-
...obj.CardExpiryDate && { CardExpiryDate: import_smithy_client.SENSITIVE_STRING },
|
|
772
|
-
...obj.ServiceCode && { ServiceCode: import_smithy_client.SENSITIVE_STRING }
|
|
773
|
-
}), "AmexCardSecurityCodeVersion2FilterSensitiveLog");
|
|
774
|
-
var CardVerificationValue1FilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
775
|
-
...obj,
|
|
776
|
-
...obj.CardExpiryDate && { CardExpiryDate: import_smithy_client.SENSITIVE_STRING },
|
|
777
|
-
...obj.ServiceCode && { ServiceCode: import_smithy_client.SENSITIVE_STRING }
|
|
778
|
-
}), "CardVerificationValue1FilterSensitiveLog");
|
|
779
|
-
var CardVerificationValue2FilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
780
|
-
...obj,
|
|
781
|
-
...obj.CardExpiryDate && { CardExpiryDate: import_smithy_client.SENSITIVE_STRING }
|
|
782
|
-
}), "CardVerificationValue2FilterSensitiveLog");
|
|
783
|
-
var DynamicCardVerificationCodeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
784
|
-
...obj,
|
|
785
|
-
...obj.TrackData && { TrackData: import_smithy_client.SENSITIVE_STRING }
|
|
786
|
-
}), "DynamicCardVerificationCodeFilterSensitiveLog");
|
|
787
|
-
var DynamicCardVerificationValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
788
|
-
...obj,
|
|
789
|
-
...obj.CardExpiryDate && { CardExpiryDate: import_smithy_client.SENSITIVE_STRING },
|
|
790
|
-
...obj.ServiceCode && { ServiceCode: import_smithy_client.SENSITIVE_STRING }
|
|
791
|
-
}), "DynamicCardVerificationValueFilterSensitiveLog");
|
|
792
|
-
var CardGenerationAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
793
|
-
if (obj.AmexCardSecurityCodeVersion1 !== void 0)
|
|
794
|
-
return {
|
|
795
|
-
AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1FilterSensitiveLog(obj.AmexCardSecurityCodeVersion1)
|
|
144
|
+
exports.CardGenerationAttributes = void 0;
|
|
145
|
+
(function (CardGenerationAttributes) {
|
|
146
|
+
CardGenerationAttributes.visit = (value, visitor) => {
|
|
147
|
+
if (value.AmexCardSecurityCodeVersion1 !== undefined)
|
|
148
|
+
return visitor.AmexCardSecurityCodeVersion1(value.AmexCardSecurityCodeVersion1);
|
|
149
|
+
if (value.AmexCardSecurityCodeVersion2 !== undefined)
|
|
150
|
+
return visitor.AmexCardSecurityCodeVersion2(value.AmexCardSecurityCodeVersion2);
|
|
151
|
+
if (value.CardVerificationValue1 !== undefined)
|
|
152
|
+
return visitor.CardVerificationValue1(value.CardVerificationValue1);
|
|
153
|
+
if (value.CardVerificationValue2 !== undefined)
|
|
154
|
+
return visitor.CardVerificationValue2(value.CardVerificationValue2);
|
|
155
|
+
if (value.CardHolderVerificationValue !== undefined)
|
|
156
|
+
return visitor.CardHolderVerificationValue(value.CardHolderVerificationValue);
|
|
157
|
+
if (value.DynamicCardVerificationCode !== undefined)
|
|
158
|
+
return visitor.DynamicCardVerificationCode(value.DynamicCardVerificationCode);
|
|
159
|
+
if (value.DynamicCardVerificationValue !== undefined)
|
|
160
|
+
return visitor.DynamicCardVerificationValue(value.DynamicCardVerificationValue);
|
|
161
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
796
162
|
};
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
163
|
+
})(exports.CardGenerationAttributes || (exports.CardGenerationAttributes = {}));
|
|
164
|
+
exports.CardVerificationAttributes = void 0;
|
|
165
|
+
(function (CardVerificationAttributes) {
|
|
166
|
+
CardVerificationAttributes.visit = (value, visitor) => {
|
|
167
|
+
if (value.AmexCardSecurityCodeVersion1 !== undefined)
|
|
168
|
+
return visitor.AmexCardSecurityCodeVersion1(value.AmexCardSecurityCodeVersion1);
|
|
169
|
+
if (value.AmexCardSecurityCodeVersion2 !== undefined)
|
|
170
|
+
return visitor.AmexCardSecurityCodeVersion2(value.AmexCardSecurityCodeVersion2);
|
|
171
|
+
if (value.CardVerificationValue1 !== undefined)
|
|
172
|
+
return visitor.CardVerificationValue1(value.CardVerificationValue1);
|
|
173
|
+
if (value.CardVerificationValue2 !== undefined)
|
|
174
|
+
return visitor.CardVerificationValue2(value.CardVerificationValue2);
|
|
175
|
+
if (value.CardHolderVerificationValue !== undefined)
|
|
176
|
+
return visitor.CardHolderVerificationValue(value.CardHolderVerificationValue);
|
|
177
|
+
if (value.DynamicCardVerificationCode !== undefined)
|
|
178
|
+
return visitor.DynamicCardVerificationCode(value.DynamicCardVerificationCode);
|
|
179
|
+
if (value.DynamicCardVerificationValue !== undefined)
|
|
180
|
+
return visitor.DynamicCardVerificationValue(value.DynamicCardVerificationValue);
|
|
181
|
+
if (value.DiscoverDynamicCardVerificationCode !== undefined)
|
|
182
|
+
return visitor.DiscoverDynamicCardVerificationCode(value.DiscoverDynamicCardVerificationCode);
|
|
183
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
800
184
|
};
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
185
|
+
})(exports.CardVerificationAttributes || (exports.CardVerificationAttributes = {}));
|
|
186
|
+
exports.CryptogramAuthResponse = void 0;
|
|
187
|
+
(function (CryptogramAuthResponse) {
|
|
188
|
+
CryptogramAuthResponse.visit = (value, visitor) => {
|
|
189
|
+
if (value.ArpcMethod1 !== undefined)
|
|
190
|
+
return visitor.ArpcMethod1(value.ArpcMethod1);
|
|
191
|
+
if (value.ArpcMethod2 !== undefined)
|
|
192
|
+
return visitor.ArpcMethod2(value.ArpcMethod2);
|
|
193
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
810
194
|
};
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
195
|
+
})(exports.CryptogramAuthResponse || (exports.CryptogramAuthResponse = {}));
|
|
196
|
+
const DukptDerivationType = {
|
|
197
|
+
AES_128: "AES_128",
|
|
198
|
+
AES_192: "AES_192",
|
|
199
|
+
AES_256: "AES_256",
|
|
200
|
+
TDES_2KEY: "TDES_2KEY",
|
|
201
|
+
TDES_3KEY: "TDES_3KEY",
|
|
202
|
+
};
|
|
203
|
+
const DukptKeyVariant = {
|
|
204
|
+
BIDIRECTIONAL: "BIDIRECTIONAL",
|
|
205
|
+
REQUEST: "REQUEST",
|
|
206
|
+
RESPONSE: "RESPONSE",
|
|
207
|
+
};
|
|
208
|
+
const DukptEncryptionMode = {
|
|
209
|
+
CBC: "CBC",
|
|
210
|
+
ECB: "ECB",
|
|
211
|
+
};
|
|
212
|
+
const EmvMajorKeyDerivationMode = {
|
|
213
|
+
EMV_OPTION_A: "EMV_OPTION_A",
|
|
214
|
+
EMV_OPTION_B: "EMV_OPTION_B",
|
|
215
|
+
};
|
|
216
|
+
const EmvEncryptionMode = {
|
|
217
|
+
CBC: "CBC",
|
|
218
|
+
ECB: "ECB",
|
|
219
|
+
};
|
|
220
|
+
const EncryptionMode = {
|
|
221
|
+
CBC: "CBC",
|
|
222
|
+
CFB: "CFB",
|
|
223
|
+
CFB1: "CFB1",
|
|
224
|
+
CFB128: "CFB128",
|
|
225
|
+
CFB64: "CFB64",
|
|
226
|
+
CFB8: "CFB8",
|
|
227
|
+
ECB: "ECB",
|
|
228
|
+
OFB: "OFB",
|
|
229
|
+
};
|
|
230
|
+
exports.EncryptionDecryptionAttributes = void 0;
|
|
231
|
+
(function (EncryptionDecryptionAttributes) {
|
|
232
|
+
EncryptionDecryptionAttributes.visit = (value, visitor) => {
|
|
233
|
+
if (value.Symmetric !== undefined)
|
|
234
|
+
return visitor.Symmetric(value.Symmetric);
|
|
235
|
+
if (value.Asymmetric !== undefined)
|
|
236
|
+
return visitor.Asymmetric(value.Asymmetric);
|
|
237
|
+
if (value.Dukpt !== undefined)
|
|
238
|
+
return visitor.Dukpt(value.Dukpt);
|
|
239
|
+
if (value.Emv !== undefined)
|
|
240
|
+
return visitor.Emv(value.Emv);
|
|
241
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
814
242
|
};
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
243
|
+
})(exports.EncryptionDecryptionAttributes || (exports.EncryptionDecryptionAttributes = {}));
|
|
244
|
+
const KeyCheckValueAlgorithm = {
|
|
245
|
+
ANSI_X9_24: "ANSI_X9_24",
|
|
246
|
+
CMAC: "CMAC",
|
|
247
|
+
HMAC: "HMAC",
|
|
248
|
+
SHA_1: "SHA_1",
|
|
249
|
+
};
|
|
250
|
+
const SymmetricKeyAlgorithm = {
|
|
251
|
+
AES_128: "AES_128",
|
|
252
|
+
AES_192: "AES_192",
|
|
253
|
+
AES_256: "AES_256",
|
|
254
|
+
HMAC_SHA224: "HMAC_SHA224",
|
|
255
|
+
HMAC_SHA256: "HMAC_SHA256",
|
|
256
|
+
HMAC_SHA384: "HMAC_SHA384",
|
|
257
|
+
HMAC_SHA512: "HMAC_SHA512",
|
|
258
|
+
TDES_2KEY: "TDES_2KEY",
|
|
259
|
+
TDES_3KEY: "TDES_3KEY",
|
|
260
|
+
};
|
|
261
|
+
const KeyDerivationFunction = {
|
|
262
|
+
ANSI_X963: "ANSI_X963",
|
|
263
|
+
NIST_SP800: "NIST_SP800",
|
|
264
|
+
};
|
|
265
|
+
const KeyDerivationHashAlgorithm = {
|
|
266
|
+
SHA_256: "SHA_256",
|
|
267
|
+
SHA_384: "SHA_384",
|
|
268
|
+
SHA_512: "SHA_512",
|
|
269
|
+
};
|
|
270
|
+
exports.WrappedKeyMaterial = void 0;
|
|
271
|
+
(function (WrappedKeyMaterial) {
|
|
272
|
+
WrappedKeyMaterial.visit = (value, visitor) => {
|
|
273
|
+
if (value.Tr31KeyBlock !== undefined)
|
|
274
|
+
return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
|
|
275
|
+
if (value.DiffieHellmanSymmetricKey !== undefined)
|
|
276
|
+
return visitor.DiffieHellmanSymmetricKey(value.DiffieHellmanSymmetricKey);
|
|
277
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
825
278
|
};
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
279
|
+
})(exports.WrappedKeyMaterial || (exports.WrappedKeyMaterial = {}));
|
|
280
|
+
class InternalServerException extends PaymentCryptographyDataServiceException {
|
|
281
|
+
name = "InternalServerException";
|
|
282
|
+
$fault = "server";
|
|
283
|
+
Message;
|
|
284
|
+
constructor(opts) {
|
|
285
|
+
super({
|
|
286
|
+
name: "InternalServerException",
|
|
287
|
+
$fault: "server",
|
|
288
|
+
...opts,
|
|
289
|
+
});
|
|
290
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
291
|
+
this.Message = opts.Message;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
class ResourceNotFoundException extends PaymentCryptographyDataServiceException {
|
|
295
|
+
name = "ResourceNotFoundException";
|
|
296
|
+
$fault = "client";
|
|
297
|
+
ResourceId;
|
|
298
|
+
constructor(opts) {
|
|
299
|
+
super({
|
|
300
|
+
name: "ResourceNotFoundException",
|
|
301
|
+
$fault: "client",
|
|
302
|
+
...opts,
|
|
303
|
+
});
|
|
304
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
305
|
+
this.ResourceId = opts.ResourceId;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
class ThrottlingException extends PaymentCryptographyDataServiceException {
|
|
309
|
+
name = "ThrottlingException";
|
|
310
|
+
$fault = "client";
|
|
311
|
+
Message;
|
|
312
|
+
constructor(opts) {
|
|
313
|
+
super({
|
|
314
|
+
name: "ThrottlingException",
|
|
315
|
+
$fault: "client",
|
|
316
|
+
...opts,
|
|
317
|
+
});
|
|
318
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
319
|
+
this.Message = opts.Message;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
class ValidationException extends PaymentCryptographyDataServiceException {
|
|
323
|
+
name = "ValidationException";
|
|
324
|
+
$fault = "client";
|
|
325
|
+
fieldList;
|
|
326
|
+
constructor(opts) {
|
|
327
|
+
super({
|
|
328
|
+
name: "ValidationException",
|
|
329
|
+
$fault: "client",
|
|
330
|
+
...opts,
|
|
331
|
+
});
|
|
332
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
333
|
+
this.fieldList = opts.fieldList;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
const PinBlockLengthPosition = {
|
|
337
|
+
FRONT_OF_PIN_BLOCK: "FRONT_OF_PIN_BLOCK",
|
|
338
|
+
NONE: "NONE",
|
|
339
|
+
};
|
|
340
|
+
const PinBlockPaddingType = {
|
|
341
|
+
ISO_IEC_7816_4: "ISO_IEC_7816_4",
|
|
342
|
+
NO_PADDING: "NO_PADDING",
|
|
343
|
+
};
|
|
344
|
+
exports.DerivationMethodAttributes = void 0;
|
|
345
|
+
(function (DerivationMethodAttributes) {
|
|
346
|
+
DerivationMethodAttributes.visit = (value, visitor) => {
|
|
347
|
+
if (value.EmvCommon !== undefined)
|
|
348
|
+
return visitor.EmvCommon(value.EmvCommon);
|
|
349
|
+
if (value.Amex !== undefined)
|
|
350
|
+
return visitor.Amex(value.Amex);
|
|
351
|
+
if (value.Visa !== undefined)
|
|
352
|
+
return visitor.Visa(value.Visa);
|
|
353
|
+
if (value.Emv2000 !== undefined)
|
|
354
|
+
return visitor.Emv2000(value.Emv2000);
|
|
355
|
+
if (value.Mastercard !== undefined)
|
|
356
|
+
return visitor.Mastercard(value.Mastercard);
|
|
357
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
829
358
|
};
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
return {
|
|
838
|
-
DynamicCardVerificationCode: DynamicCardVerificationCodeFilterSensitiveLog(obj.DynamicCardVerificationCode)
|
|
359
|
+
})(exports.DerivationMethodAttributes || (exports.DerivationMethodAttributes = {}));
|
|
360
|
+
exports.DiffieHellmanDerivationData = void 0;
|
|
361
|
+
(function (DiffieHellmanDerivationData) {
|
|
362
|
+
DiffieHellmanDerivationData.visit = (value, visitor) => {
|
|
363
|
+
if (value.SharedInformation !== undefined)
|
|
364
|
+
return visitor.SharedInformation(value.SharedInformation);
|
|
365
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
839
366
|
};
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
367
|
+
})(exports.DiffieHellmanDerivationData || (exports.DiffieHellmanDerivationData = {}));
|
|
368
|
+
const MacAlgorithm = {
|
|
369
|
+
CMAC: "CMAC",
|
|
370
|
+
HMAC: "HMAC",
|
|
371
|
+
HMAC_SHA224: "HMAC_SHA224",
|
|
372
|
+
HMAC_SHA256: "HMAC_SHA256",
|
|
373
|
+
HMAC_SHA384: "HMAC_SHA384",
|
|
374
|
+
HMAC_SHA512: "HMAC_SHA512",
|
|
375
|
+
ISO9797_ALGORITHM1: "ISO9797_ALGORITHM1",
|
|
376
|
+
ISO9797_ALGORITHM3: "ISO9797_ALGORITHM3",
|
|
377
|
+
};
|
|
378
|
+
const SessionKeyDerivationMode = {
|
|
379
|
+
AMEX: "AMEX",
|
|
380
|
+
EMV2000: "EMV2000",
|
|
381
|
+
EMV_COMMON_SESSION_KEY: "EMV_COMMON_SESSION_KEY",
|
|
382
|
+
MASTERCARD_SESSION_KEY: "MASTERCARD_SESSION_KEY",
|
|
383
|
+
VISA: "VISA",
|
|
384
|
+
};
|
|
385
|
+
exports.SessionKeyDerivationValue = void 0;
|
|
386
|
+
(function (SessionKeyDerivationValue) {
|
|
387
|
+
SessionKeyDerivationValue.visit = (value, visitor) => {
|
|
388
|
+
if (value.ApplicationCryptogram !== undefined)
|
|
389
|
+
return visitor.ApplicationCryptogram(value.ApplicationCryptogram);
|
|
390
|
+
if (value.ApplicationTransactionCounter !== undefined)
|
|
391
|
+
return visitor.ApplicationTransactionCounter(value.ApplicationTransactionCounter);
|
|
392
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
843
393
|
};
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
394
|
+
})(exports.SessionKeyDerivationValue || (exports.SessionKeyDerivationValue = {}));
|
|
395
|
+
exports.MacAttributes = void 0;
|
|
396
|
+
(function (MacAttributes) {
|
|
397
|
+
MacAttributes.visit = (value, visitor) => {
|
|
398
|
+
if (value.Algorithm !== undefined)
|
|
399
|
+
return visitor.Algorithm(value.Algorithm);
|
|
400
|
+
if (value.EmvMac !== undefined)
|
|
401
|
+
return visitor.EmvMac(value.EmvMac);
|
|
402
|
+
if (value.DukptIso9797Algorithm1 !== undefined)
|
|
403
|
+
return visitor.DukptIso9797Algorithm1(value.DukptIso9797Algorithm1);
|
|
404
|
+
if (value.DukptIso9797Algorithm3 !== undefined)
|
|
405
|
+
return visitor.DukptIso9797Algorithm3(value.DukptIso9797Algorithm3);
|
|
406
|
+
if (value.DukptCmac !== undefined)
|
|
407
|
+
return visitor.DukptCmac(value.DukptCmac);
|
|
408
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
849
409
|
};
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
var SymmetricEncryptionAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
873
|
-
...obj,
|
|
874
|
-
...obj.InitializationVector && { InitializationVector: import_smithy_client.SENSITIVE_STRING }
|
|
875
|
-
}), "SymmetricEncryptionAttributesFilterSensitiveLog");
|
|
876
|
-
var EncryptionDecryptionAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
877
|
-
if (obj.Symmetric !== void 0) return { Symmetric: SymmetricEncryptionAttributesFilterSensitiveLog(obj.Symmetric) };
|
|
878
|
-
if (obj.Asymmetric !== void 0) return { Asymmetric: obj.Asymmetric };
|
|
879
|
-
if (obj.Dukpt !== void 0) return { Dukpt: DukptEncryptionAttributesFilterSensitiveLog(obj.Dukpt) };
|
|
880
|
-
if (obj.Emv !== void 0) return { Emv: EmvEncryptionAttributesFilterSensitiveLog(obj.Emv) };
|
|
881
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
882
|
-
}, "EncryptionDecryptionAttributesFilterSensitiveLog");
|
|
883
|
-
var WrappedKeyMaterialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
884
|
-
if (obj.Tr31KeyBlock !== void 0) return { Tr31KeyBlock: import_smithy_client.SENSITIVE_STRING };
|
|
885
|
-
if (obj.DiffieHellmanSymmetricKey !== void 0) return { DiffieHellmanSymmetricKey: obj.DiffieHellmanSymmetricKey };
|
|
886
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
887
|
-
}, "WrappedKeyMaterialFilterSensitiveLog");
|
|
888
|
-
var WrappedKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
889
|
-
...obj,
|
|
890
|
-
...obj.WrappedKeyMaterial && { WrappedKeyMaterial: WrappedKeyMaterialFilterSensitiveLog(obj.WrappedKeyMaterial) }
|
|
891
|
-
}), "WrappedKeyFilterSensitiveLog");
|
|
892
|
-
var DecryptDataInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
893
|
-
...obj,
|
|
894
|
-
...obj.CipherText && { CipherText: import_smithy_client.SENSITIVE_STRING },
|
|
895
|
-
...obj.DecryptionAttributes && {
|
|
896
|
-
DecryptionAttributes: EncryptionDecryptionAttributesFilterSensitiveLog(obj.DecryptionAttributes)
|
|
897
|
-
},
|
|
898
|
-
...obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }
|
|
899
|
-
}), "DecryptDataInputFilterSensitiveLog");
|
|
900
|
-
var DecryptDataOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
901
|
-
...obj,
|
|
902
|
-
...obj.PlainText && { PlainText: import_smithy_client.SENSITIVE_STRING }
|
|
903
|
-
}), "DecryptDataOutputFilterSensitiveLog");
|
|
904
|
-
var Emv2000AttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
905
|
-
...obj,
|
|
906
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING }
|
|
907
|
-
}), "Emv2000AttributesFilterSensitiveLog");
|
|
908
|
-
var EmvCommonAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
909
|
-
...obj,
|
|
910
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
911
|
-
...obj.ApplicationCryptogram && { ApplicationCryptogram: import_smithy_client.SENSITIVE_STRING }
|
|
912
|
-
}), "EmvCommonAttributesFilterSensitiveLog");
|
|
913
|
-
var MasterCardAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
914
|
-
...obj,
|
|
915
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
916
|
-
...obj.ApplicationCryptogram && { ApplicationCryptogram: import_smithy_client.SENSITIVE_STRING }
|
|
917
|
-
}), "MasterCardAttributesFilterSensitiveLog");
|
|
918
|
-
var VisaAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
919
|
-
...obj,
|
|
920
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
921
|
-
...obj.CurrentPinAttributes && {
|
|
922
|
-
CurrentPinAttributes: CurrentPinAttributesFilterSensitiveLog(obj.CurrentPinAttributes)
|
|
923
|
-
}
|
|
924
|
-
}), "VisaAttributesFilterSensitiveLog");
|
|
925
|
-
var DerivationMethodAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
926
|
-
if (obj.EmvCommon !== void 0) return { EmvCommon: EmvCommonAttributesFilterSensitiveLog(obj.EmvCommon) };
|
|
927
|
-
if (obj.Amex !== void 0) return { Amex: AmexAttributesFilterSensitiveLog(obj.Amex) };
|
|
928
|
-
if (obj.Visa !== void 0) return { Visa: VisaAttributesFilterSensitiveLog(obj.Visa) };
|
|
929
|
-
if (obj.Emv2000 !== void 0) return { Emv2000: Emv2000AttributesFilterSensitiveLog(obj.Emv2000) };
|
|
930
|
-
if (obj.Mastercard !== void 0) return { Mastercard: MasterCardAttributesFilterSensitiveLog(obj.Mastercard) };
|
|
931
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
932
|
-
}, "DerivationMethodAttributesFilterSensitiveLog");
|
|
933
|
-
var EncryptDataInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
934
|
-
...obj,
|
|
935
|
-
...obj.PlainText && { PlainText: import_smithy_client.SENSITIVE_STRING },
|
|
936
|
-
...obj.EncryptionAttributes && {
|
|
937
|
-
EncryptionAttributes: EncryptionDecryptionAttributesFilterSensitiveLog(obj.EncryptionAttributes)
|
|
938
|
-
},
|
|
939
|
-
...obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }
|
|
940
|
-
}), "EncryptDataInputFilterSensitiveLog");
|
|
941
|
-
var EncryptDataOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
942
|
-
...obj,
|
|
943
|
-
...obj.CipherText && { CipherText: import_smithy_client.SENSITIVE_STRING }
|
|
944
|
-
}), "EncryptDataOutputFilterSensitiveLog");
|
|
945
|
-
var GenerateCardValidationDataInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
946
|
-
...obj,
|
|
947
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
948
|
-
...obj.GenerationAttributes && {
|
|
949
|
-
GenerationAttributes: CardGenerationAttributesFilterSensitiveLog(obj.GenerationAttributes)
|
|
950
|
-
}
|
|
951
|
-
}), "GenerateCardValidationDataInputFilterSensitiveLog");
|
|
952
|
-
var GenerateCardValidationDataOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
953
|
-
...obj,
|
|
954
|
-
...obj.ValidationData && { ValidationData: import_smithy_client.SENSITIVE_STRING }
|
|
955
|
-
}), "GenerateCardValidationDataOutputFilterSensitiveLog");
|
|
956
|
-
var SessionKeyDerivationValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
957
|
-
if (obj.ApplicationCryptogram !== void 0) return { ApplicationCryptogram: import_smithy_client.SENSITIVE_STRING };
|
|
958
|
-
if (obj.ApplicationTransactionCounter !== void 0)
|
|
959
|
-
return { ApplicationTransactionCounter: obj.ApplicationTransactionCounter };
|
|
960
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
961
|
-
}, "SessionKeyDerivationValueFilterSensitiveLog");
|
|
962
|
-
var MacAlgorithmEmvFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
963
|
-
...obj,
|
|
964
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
965
|
-
...obj.SessionKeyDerivationValue && {
|
|
966
|
-
SessionKeyDerivationValue: SessionKeyDerivationValueFilterSensitiveLog(obj.SessionKeyDerivationValue)
|
|
967
|
-
}
|
|
968
|
-
}), "MacAlgorithmEmvFilterSensitiveLog");
|
|
969
|
-
var MacAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
970
|
-
if (obj.Algorithm !== void 0) return { Algorithm: obj.Algorithm };
|
|
971
|
-
if (obj.EmvMac !== void 0) return { EmvMac: MacAlgorithmEmvFilterSensitiveLog(obj.EmvMac) };
|
|
972
|
-
if (obj.DukptIso9797Algorithm1 !== void 0) return { DukptIso9797Algorithm1: obj.DukptIso9797Algorithm1 };
|
|
973
|
-
if (obj.DukptIso9797Algorithm3 !== void 0) return { DukptIso9797Algorithm3: obj.DukptIso9797Algorithm3 };
|
|
974
|
-
if (obj.DukptCmac !== void 0) return { DukptCmac: obj.DukptCmac };
|
|
975
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
976
|
-
}, "MacAttributesFilterSensitiveLog");
|
|
977
|
-
var GenerateMacInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
978
|
-
...obj,
|
|
979
|
-
...obj.MessageData && { MessageData: import_smithy_client.SENSITIVE_STRING },
|
|
980
|
-
...obj.GenerationAttributes && { GenerationAttributes: MacAttributesFilterSensitiveLog(obj.GenerationAttributes) }
|
|
981
|
-
}), "GenerateMacInputFilterSensitiveLog");
|
|
982
|
-
var GenerateMacOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
983
|
-
...obj,
|
|
984
|
-
...obj.Mac && { Mac: import_smithy_client.SENSITIVE_STRING }
|
|
985
|
-
}), "GenerateMacOutputFilterSensitiveLog");
|
|
986
|
-
var GenerateMacEmvPinChangeInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
987
|
-
...obj,
|
|
988
|
-
...obj.NewEncryptedPinBlock && { NewEncryptedPinBlock: import_smithy_client.SENSITIVE_STRING },
|
|
989
|
-
...obj.MessageData && { MessageData: import_smithy_client.SENSITIVE_STRING },
|
|
990
|
-
...obj.DerivationMethodAttributes && {
|
|
991
|
-
DerivationMethodAttributes: DerivationMethodAttributesFilterSensitiveLog(obj.DerivationMethodAttributes)
|
|
992
|
-
}
|
|
993
|
-
}), "GenerateMacEmvPinChangeInputFilterSensitiveLog");
|
|
994
|
-
var GenerateMacEmvPinChangeOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
995
|
-
...obj,
|
|
996
|
-
...obj.Mac && { Mac: import_smithy_client.SENSITIVE_STRING },
|
|
997
|
-
...obj.EncryptedPinBlock && { EncryptedPinBlock: import_smithy_client.SENSITIVE_STRING }
|
|
998
|
-
}), "GenerateMacEmvPinChangeOutputFilterSensitiveLog");
|
|
999
|
-
var Ibm3624NaturalPinFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1000
|
-
...obj,
|
|
1001
|
-
...obj.DecimalizationTable && { DecimalizationTable: import_smithy_client.SENSITIVE_STRING },
|
|
1002
|
-
...obj.PinValidationData && { PinValidationData: import_smithy_client.SENSITIVE_STRING }
|
|
1003
|
-
}), "Ibm3624NaturalPinFilterSensitiveLog");
|
|
1004
|
-
var Ibm3624PinFromOffsetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1005
|
-
...obj,
|
|
1006
|
-
...obj.DecimalizationTable && { DecimalizationTable: import_smithy_client.SENSITIVE_STRING },
|
|
1007
|
-
...obj.PinValidationData && { PinValidationData: import_smithy_client.SENSITIVE_STRING },
|
|
1008
|
-
...obj.PinOffset && { PinOffset: import_smithy_client.SENSITIVE_STRING }
|
|
1009
|
-
}), "Ibm3624PinFromOffsetFilterSensitiveLog");
|
|
1010
|
-
var Ibm3624PinOffsetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1011
|
-
...obj,
|
|
1012
|
-
...obj.EncryptedPinBlock && { EncryptedPinBlock: import_smithy_client.SENSITIVE_STRING },
|
|
1013
|
-
...obj.DecimalizationTable && { DecimalizationTable: import_smithy_client.SENSITIVE_STRING },
|
|
1014
|
-
...obj.PinValidationData && { PinValidationData: import_smithy_client.SENSITIVE_STRING }
|
|
1015
|
-
}), "Ibm3624PinOffsetFilterSensitiveLog");
|
|
1016
|
-
var Ibm3624RandomPinFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1017
|
-
...obj,
|
|
1018
|
-
...obj.DecimalizationTable && { DecimalizationTable: import_smithy_client.SENSITIVE_STRING },
|
|
1019
|
-
...obj.PinValidationData && { PinValidationData: import_smithy_client.SENSITIVE_STRING }
|
|
1020
|
-
}), "Ibm3624RandomPinFilterSensitiveLog");
|
|
1021
|
-
var VisaPinVerificationValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1022
|
-
...obj,
|
|
1023
|
-
...obj.EncryptedPinBlock && { EncryptedPinBlock: import_smithy_client.SENSITIVE_STRING }
|
|
1024
|
-
}), "VisaPinVerificationValueFilterSensitiveLog");
|
|
1025
|
-
var PinGenerationAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1026
|
-
if (obj.VisaPin !== void 0) return { VisaPin: obj.VisaPin };
|
|
1027
|
-
if (obj.VisaPinVerificationValue !== void 0)
|
|
1028
|
-
return { VisaPinVerificationValue: VisaPinVerificationValueFilterSensitiveLog(obj.VisaPinVerificationValue) };
|
|
1029
|
-
if (obj.Ibm3624PinOffset !== void 0)
|
|
1030
|
-
return { Ibm3624PinOffset: Ibm3624PinOffsetFilterSensitiveLog(obj.Ibm3624PinOffset) };
|
|
1031
|
-
if (obj.Ibm3624NaturalPin !== void 0)
|
|
1032
|
-
return { Ibm3624NaturalPin: Ibm3624NaturalPinFilterSensitiveLog(obj.Ibm3624NaturalPin) };
|
|
1033
|
-
if (obj.Ibm3624RandomPin !== void 0)
|
|
1034
|
-
return { Ibm3624RandomPin: Ibm3624RandomPinFilterSensitiveLog(obj.Ibm3624RandomPin) };
|
|
1035
|
-
if (obj.Ibm3624PinFromOffset !== void 0)
|
|
1036
|
-
return { Ibm3624PinFromOffset: Ibm3624PinFromOffsetFilterSensitiveLog(obj.Ibm3624PinFromOffset) };
|
|
1037
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1038
|
-
}, "PinGenerationAttributesFilterSensitiveLog");
|
|
1039
|
-
var GeneratePinDataInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1040
|
-
...obj,
|
|
1041
|
-
...obj.GenerationAttributes && {
|
|
1042
|
-
GenerationAttributes: PinGenerationAttributesFilterSensitiveLog(obj.GenerationAttributes)
|
|
1043
|
-
},
|
|
1044
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
1045
|
-
...obj.EncryptionWrappedKey && { EncryptionWrappedKey: WrappedKeyFilterSensitiveLog(obj.EncryptionWrappedKey) }
|
|
1046
|
-
}), "GeneratePinDataInputFilterSensitiveLog");
|
|
1047
|
-
var PinDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1048
|
-
if (obj.PinOffset !== void 0) return { PinOffset: import_smithy_client.SENSITIVE_STRING };
|
|
1049
|
-
if (obj.VerificationValue !== void 0) return { VerificationValue: import_smithy_client.SENSITIVE_STRING };
|
|
1050
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1051
|
-
}, "PinDataFilterSensitiveLog");
|
|
1052
|
-
var GeneratePinDataOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1053
|
-
...obj,
|
|
1054
|
-
...obj.EncryptedPinBlock && { EncryptedPinBlock: import_smithy_client.SENSITIVE_STRING },
|
|
1055
|
-
...obj.PinData && { PinData: PinDataFilterSensitiveLog(obj.PinData) }
|
|
1056
|
-
}), "GeneratePinDataOutputFilterSensitiveLog");
|
|
1057
|
-
var Ibm3624PinVerificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1058
|
-
...obj,
|
|
1059
|
-
...obj.DecimalizationTable && { DecimalizationTable: import_smithy_client.SENSITIVE_STRING },
|
|
1060
|
-
...obj.PinValidationData && { PinValidationData: import_smithy_client.SENSITIVE_STRING },
|
|
1061
|
-
...obj.PinOffset && { PinOffset: import_smithy_client.SENSITIVE_STRING }
|
|
1062
|
-
}), "Ibm3624PinVerificationFilterSensitiveLog");
|
|
1063
|
-
var IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1064
|
-
...obj,
|
|
1065
|
-
...obj.DerivationData && { DerivationData: obj.DerivationData },
|
|
1066
|
-
...obj.WrappedKeyBlock && { WrappedKeyBlock: import_smithy_client.SENSITIVE_STRING }
|
|
1067
|
-
}), "IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog");
|
|
1068
|
-
var IncomingKeyMaterialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1069
|
-
if (obj.DiffieHellmanTr31KeyBlock !== void 0)
|
|
1070
|
-
return {
|
|
1071
|
-
DiffieHellmanTr31KeyBlock: IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog(obj.DiffieHellmanTr31KeyBlock)
|
|
410
|
+
})(exports.MacAttributes || (exports.MacAttributes = {}));
|
|
411
|
+
const PinBlockFormatForEmvPinChange = {
|
|
412
|
+
ISO_FORMAT_0: "ISO_FORMAT_0",
|
|
413
|
+
ISO_FORMAT_1: "ISO_FORMAT_1",
|
|
414
|
+
ISO_FORMAT_3: "ISO_FORMAT_3",
|
|
415
|
+
};
|
|
416
|
+
exports.PinGenerationAttributes = void 0;
|
|
417
|
+
(function (PinGenerationAttributes) {
|
|
418
|
+
PinGenerationAttributes.visit = (value, visitor) => {
|
|
419
|
+
if (value.VisaPin !== undefined)
|
|
420
|
+
return visitor.VisaPin(value.VisaPin);
|
|
421
|
+
if (value.VisaPinVerificationValue !== undefined)
|
|
422
|
+
return visitor.VisaPinVerificationValue(value.VisaPinVerificationValue);
|
|
423
|
+
if (value.Ibm3624PinOffset !== undefined)
|
|
424
|
+
return visitor.Ibm3624PinOffset(value.Ibm3624PinOffset);
|
|
425
|
+
if (value.Ibm3624NaturalPin !== undefined)
|
|
426
|
+
return visitor.Ibm3624NaturalPin(value.Ibm3624NaturalPin);
|
|
427
|
+
if (value.Ibm3624RandomPin !== undefined)
|
|
428
|
+
return visitor.Ibm3624RandomPin(value.Ibm3624RandomPin);
|
|
429
|
+
if (value.Ibm3624PinFromOffset !== undefined)
|
|
430
|
+
return visitor.Ibm3624PinFromOffset(value.Ibm3624PinFromOffset);
|
|
431
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1072
432
|
};
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
}, "ReEncryptionAttributesFilterSensitiveLog");
|
|
1080
|
-
var ReEncryptDataInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1081
|
-
...obj,
|
|
1082
|
-
...obj.CipherText && { CipherText: import_smithy_client.SENSITIVE_STRING },
|
|
1083
|
-
...obj.IncomingEncryptionAttributes && {
|
|
1084
|
-
IncomingEncryptionAttributes: ReEncryptionAttributesFilterSensitiveLog(obj.IncomingEncryptionAttributes)
|
|
1085
|
-
},
|
|
1086
|
-
...obj.OutgoingEncryptionAttributes && {
|
|
1087
|
-
OutgoingEncryptionAttributes: ReEncryptionAttributesFilterSensitiveLog(obj.OutgoingEncryptionAttributes)
|
|
1088
|
-
},
|
|
1089
|
-
...obj.IncomingWrappedKey && { IncomingWrappedKey: WrappedKeyFilterSensitiveLog(obj.IncomingWrappedKey) },
|
|
1090
|
-
...obj.OutgoingWrappedKey && { OutgoingWrappedKey: WrappedKeyFilterSensitiveLog(obj.OutgoingWrappedKey) }
|
|
1091
|
-
}), "ReEncryptDataInputFilterSensitiveLog");
|
|
1092
|
-
var ReEncryptDataOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1093
|
-
...obj,
|
|
1094
|
-
...obj.CipherText && { CipherText: import_smithy_client.SENSITIVE_STRING }
|
|
1095
|
-
}), "ReEncryptDataOutputFilterSensitiveLog");
|
|
1096
|
-
var TranslateKeyMaterialInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1097
|
-
...obj,
|
|
1098
|
-
...obj.IncomingKeyMaterial && {
|
|
1099
|
-
IncomingKeyMaterial: IncomingKeyMaterialFilterSensitiveLog(obj.IncomingKeyMaterial)
|
|
1100
|
-
},
|
|
1101
|
-
...obj.OutgoingKeyMaterial && { OutgoingKeyMaterial: obj.OutgoingKeyMaterial }
|
|
1102
|
-
}), "TranslateKeyMaterialInputFilterSensitiveLog");
|
|
1103
|
-
var WrappedWorkingKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1104
|
-
...obj,
|
|
1105
|
-
...obj.WrappedKeyMaterial && { WrappedKeyMaterial: import_smithy_client.SENSITIVE_STRING }
|
|
1106
|
-
}), "WrappedWorkingKeyFilterSensitiveLog");
|
|
1107
|
-
var TranslateKeyMaterialOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1108
|
-
...obj,
|
|
1109
|
-
...obj.WrappedKey && { WrappedKey: WrappedWorkingKeyFilterSensitiveLog(obj.WrappedKey) }
|
|
1110
|
-
}), "TranslateKeyMaterialOutputFilterSensitiveLog");
|
|
1111
|
-
var TranslationPinDataIsoFormat034FilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1112
|
-
...obj,
|
|
1113
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING }
|
|
1114
|
-
}), "TranslationPinDataIsoFormat034FilterSensitiveLog");
|
|
1115
|
-
var TranslationIsoFormatsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1116
|
-
if (obj.IsoFormat0 !== void 0)
|
|
1117
|
-
return { IsoFormat0: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat0) };
|
|
1118
|
-
if (obj.IsoFormat1 !== void 0) return { IsoFormat1: obj.IsoFormat1 };
|
|
1119
|
-
if (obj.IsoFormat3 !== void 0)
|
|
1120
|
-
return { IsoFormat3: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat3) };
|
|
1121
|
-
if (obj.IsoFormat4 !== void 0)
|
|
1122
|
-
return { IsoFormat4: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat4) };
|
|
1123
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1124
|
-
}, "TranslationIsoFormatsFilterSensitiveLog");
|
|
1125
|
-
var TranslatePinDataInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1126
|
-
...obj,
|
|
1127
|
-
...obj.IncomingTranslationAttributes && {
|
|
1128
|
-
IncomingTranslationAttributes: TranslationIsoFormatsFilterSensitiveLog(obj.IncomingTranslationAttributes)
|
|
1129
|
-
},
|
|
1130
|
-
...obj.OutgoingTranslationAttributes && {
|
|
1131
|
-
OutgoingTranslationAttributes: TranslationIsoFormatsFilterSensitiveLog(obj.OutgoingTranslationAttributes)
|
|
1132
|
-
},
|
|
1133
|
-
...obj.EncryptedPinBlock && { EncryptedPinBlock: import_smithy_client.SENSITIVE_STRING },
|
|
1134
|
-
...obj.IncomingWrappedKey && { IncomingWrappedKey: WrappedKeyFilterSensitiveLog(obj.IncomingWrappedKey) },
|
|
1135
|
-
...obj.OutgoingWrappedKey && { OutgoingWrappedKey: WrappedKeyFilterSensitiveLog(obj.OutgoingWrappedKey) }
|
|
1136
|
-
}), "TranslatePinDataInputFilterSensitiveLog");
|
|
1137
|
-
var TranslatePinDataOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1138
|
-
...obj,
|
|
1139
|
-
...obj.PinBlock && { PinBlock: import_smithy_client.SENSITIVE_STRING }
|
|
1140
|
-
}), "TranslatePinDataOutputFilterSensitiveLog");
|
|
1141
|
-
var SessionKeyAmexFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1142
|
-
...obj,
|
|
1143
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING }
|
|
1144
|
-
}), "SessionKeyAmexFilterSensitiveLog");
|
|
1145
|
-
var SessionKeyEmv2000FilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1146
|
-
...obj,
|
|
1147
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING }
|
|
1148
|
-
}), "SessionKeyEmv2000FilterSensitiveLog");
|
|
1149
|
-
var SessionKeyEmvCommonFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1150
|
-
...obj,
|
|
1151
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING }
|
|
1152
|
-
}), "SessionKeyEmvCommonFilterSensitiveLog");
|
|
1153
|
-
var SessionKeyMastercardFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1154
|
-
...obj,
|
|
1155
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING }
|
|
1156
|
-
}), "SessionKeyMastercardFilterSensitiveLog");
|
|
1157
|
-
var SessionKeyVisaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1158
|
-
...obj,
|
|
1159
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING }
|
|
1160
|
-
}), "SessionKeyVisaFilterSensitiveLog");
|
|
1161
|
-
var SessionKeyDerivationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1162
|
-
if (obj.EmvCommon !== void 0) return { EmvCommon: SessionKeyEmvCommonFilterSensitiveLog(obj.EmvCommon) };
|
|
1163
|
-
if (obj.Mastercard !== void 0) return { Mastercard: SessionKeyMastercardFilterSensitiveLog(obj.Mastercard) };
|
|
1164
|
-
if (obj.Emv2000 !== void 0) return { Emv2000: SessionKeyEmv2000FilterSensitiveLog(obj.Emv2000) };
|
|
1165
|
-
if (obj.Amex !== void 0) return { Amex: SessionKeyAmexFilterSensitiveLog(obj.Amex) };
|
|
1166
|
-
if (obj.Visa !== void 0) return { Visa: SessionKeyVisaFilterSensitiveLog(obj.Visa) };
|
|
1167
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1168
|
-
}, "SessionKeyDerivationFilterSensitiveLog");
|
|
1169
|
-
var VerifyAuthRequestCryptogramInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1170
|
-
...obj,
|
|
1171
|
-
...obj.TransactionData && { TransactionData: import_smithy_client.SENSITIVE_STRING },
|
|
1172
|
-
...obj.AuthRequestCryptogram && { AuthRequestCryptogram: import_smithy_client.SENSITIVE_STRING },
|
|
1173
|
-
...obj.SessionKeyDerivationAttributes && {
|
|
1174
|
-
SessionKeyDerivationAttributes: SessionKeyDerivationFilterSensitiveLog(obj.SessionKeyDerivationAttributes)
|
|
1175
|
-
},
|
|
1176
|
-
...obj.AuthResponseAttributes && {
|
|
1177
|
-
AuthResponseAttributes: CryptogramAuthResponseFilterSensitiveLog(obj.AuthResponseAttributes)
|
|
1178
|
-
}
|
|
1179
|
-
}), "VerifyAuthRequestCryptogramInputFilterSensitiveLog");
|
|
1180
|
-
var VerifyAuthRequestCryptogramOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1181
|
-
...obj,
|
|
1182
|
-
...obj.AuthResponseValue && { AuthResponseValue: import_smithy_client.SENSITIVE_STRING }
|
|
1183
|
-
}), "VerifyAuthRequestCryptogramOutputFilterSensitiveLog");
|
|
1184
|
-
var VerifyCardValidationDataInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1185
|
-
...obj,
|
|
1186
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
1187
|
-
...obj.VerificationAttributes && {
|
|
1188
|
-
VerificationAttributes: CardVerificationAttributesFilterSensitiveLog(obj.VerificationAttributes)
|
|
1189
|
-
},
|
|
1190
|
-
...obj.ValidationData && { ValidationData: import_smithy_client.SENSITIVE_STRING }
|
|
1191
|
-
}), "VerifyCardValidationDataInputFilterSensitiveLog");
|
|
1192
|
-
var VerifyMacInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1193
|
-
...obj,
|
|
1194
|
-
...obj.MessageData && { MessageData: import_smithy_client.SENSITIVE_STRING },
|
|
1195
|
-
...obj.Mac && { Mac: import_smithy_client.SENSITIVE_STRING },
|
|
1196
|
-
...obj.VerificationAttributes && {
|
|
1197
|
-
VerificationAttributes: MacAttributesFilterSensitiveLog(obj.VerificationAttributes)
|
|
1198
|
-
}
|
|
1199
|
-
}), "VerifyMacInputFilterSensitiveLog");
|
|
1200
|
-
var VisaPinVerificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1201
|
-
...obj,
|
|
1202
|
-
...obj.VerificationValue && { VerificationValue: import_smithy_client.SENSITIVE_STRING }
|
|
1203
|
-
}), "VisaPinVerificationFilterSensitiveLog");
|
|
1204
|
-
var PinVerificationAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1205
|
-
if (obj.VisaPin !== void 0) return { VisaPin: VisaPinVerificationFilterSensitiveLog(obj.VisaPin) };
|
|
1206
|
-
if (obj.Ibm3624Pin !== void 0) return { Ibm3624Pin: Ibm3624PinVerificationFilterSensitiveLog(obj.Ibm3624Pin) };
|
|
1207
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1208
|
-
}, "PinVerificationAttributesFilterSensitiveLog");
|
|
1209
|
-
var VerifyPinDataInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1210
|
-
...obj,
|
|
1211
|
-
...obj.VerificationAttributes && {
|
|
1212
|
-
VerificationAttributes: PinVerificationAttributesFilterSensitiveLog(obj.VerificationAttributes)
|
|
1213
|
-
},
|
|
1214
|
-
...obj.EncryptedPinBlock && { EncryptedPinBlock: import_smithy_client.SENSITIVE_STRING },
|
|
1215
|
-
...obj.PrimaryAccountNumber && { PrimaryAccountNumber: import_smithy_client.SENSITIVE_STRING },
|
|
1216
|
-
...obj.EncryptionWrappedKey && { EncryptionWrappedKey: WrappedKeyFilterSensitiveLog(obj.EncryptionWrappedKey) }
|
|
1217
|
-
}), "VerifyPinDataInputFilterSensitiveLog");
|
|
1218
|
-
|
|
1219
|
-
// src/protocols/Aws_restJson1.ts
|
|
1220
|
-
var import_core2 = require("@aws-sdk/core");
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
var se_DecryptDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1224
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1225
|
-
const headers = {
|
|
1226
|
-
"content-type": "application/json"
|
|
1227
|
-
};
|
|
1228
|
-
b.bp("/keys/{KeyIdentifier}/decrypt");
|
|
1229
|
-
b.p("KeyIdentifier", () => input.KeyIdentifier, "{KeyIdentifier}", false);
|
|
1230
|
-
let body;
|
|
1231
|
-
body = JSON.stringify(
|
|
1232
|
-
(0, import_smithy_client.take)(input, {
|
|
1233
|
-
CipherText: [],
|
|
1234
|
-
DecryptionAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DecryptionAttributes"),
|
|
1235
|
-
WrappedKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "WrappedKey")
|
|
1236
|
-
})
|
|
1237
|
-
);
|
|
1238
|
-
b.m("POST").h(headers).b(body);
|
|
1239
|
-
return b.build();
|
|
1240
|
-
}, "se_DecryptDataCommand");
|
|
1241
|
-
var se_EncryptDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1242
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1243
|
-
const headers = {
|
|
1244
|
-
"content-type": "application/json"
|
|
1245
|
-
};
|
|
1246
|
-
b.bp("/keys/{KeyIdentifier}/encrypt");
|
|
1247
|
-
b.p("KeyIdentifier", () => input.KeyIdentifier, "{KeyIdentifier}", false);
|
|
1248
|
-
let body;
|
|
1249
|
-
body = JSON.stringify(
|
|
1250
|
-
(0, import_smithy_client.take)(input, {
|
|
1251
|
-
EncryptionAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EncryptionAttributes"),
|
|
1252
|
-
PlainText: [],
|
|
1253
|
-
WrappedKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "WrappedKey")
|
|
1254
|
-
})
|
|
1255
|
-
);
|
|
1256
|
-
b.m("POST").h(headers).b(body);
|
|
1257
|
-
return b.build();
|
|
1258
|
-
}, "se_EncryptDataCommand");
|
|
1259
|
-
var se_GenerateCardValidationDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1260
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1261
|
-
const headers = {
|
|
1262
|
-
"content-type": "application/json"
|
|
1263
|
-
};
|
|
1264
|
-
b.bp("/cardvalidationdata/generate");
|
|
1265
|
-
let body;
|
|
1266
|
-
body = JSON.stringify(
|
|
1267
|
-
(0, import_smithy_client.take)(input, {
|
|
1268
|
-
GenerationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GenerationAttributes"),
|
|
1269
|
-
KeyIdentifier: [],
|
|
1270
|
-
PrimaryAccountNumber: [],
|
|
1271
|
-
ValidationDataLength: []
|
|
1272
|
-
})
|
|
1273
|
-
);
|
|
1274
|
-
b.m("POST").h(headers).b(body);
|
|
1275
|
-
return b.build();
|
|
1276
|
-
}, "se_GenerateCardValidationDataCommand");
|
|
1277
|
-
var se_GenerateMacCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1278
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1279
|
-
const headers = {
|
|
1280
|
-
"content-type": "application/json"
|
|
1281
|
-
};
|
|
1282
|
-
b.bp("/mac/generate");
|
|
1283
|
-
let body;
|
|
1284
|
-
body = JSON.stringify(
|
|
1285
|
-
(0, import_smithy_client.take)(input, {
|
|
1286
|
-
GenerationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GenerationAttributes"),
|
|
1287
|
-
KeyIdentifier: [],
|
|
1288
|
-
MacLength: [],
|
|
1289
|
-
MessageData: []
|
|
1290
|
-
})
|
|
1291
|
-
);
|
|
1292
|
-
b.m("POST").h(headers).b(body);
|
|
1293
|
-
return b.build();
|
|
1294
|
-
}, "se_GenerateMacCommand");
|
|
1295
|
-
var se_GenerateMacEmvPinChangeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1296
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1297
|
-
const headers = {
|
|
1298
|
-
"content-type": "application/json"
|
|
1299
|
-
};
|
|
1300
|
-
b.bp("/macemvpinchange/generate");
|
|
1301
|
-
let body;
|
|
1302
|
-
body = JSON.stringify(
|
|
1303
|
-
(0, import_smithy_client.take)(input, {
|
|
1304
|
-
DerivationMethodAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DerivationMethodAttributes"),
|
|
1305
|
-
MessageData: [],
|
|
1306
|
-
NewEncryptedPinBlock: [],
|
|
1307
|
-
NewPinPekIdentifier: [],
|
|
1308
|
-
PinBlockFormat: [],
|
|
1309
|
-
SecureMessagingConfidentialityKeyIdentifier: [],
|
|
1310
|
-
SecureMessagingIntegrityKeyIdentifier: []
|
|
1311
|
-
})
|
|
1312
|
-
);
|
|
1313
|
-
b.m("POST").h(headers).b(body);
|
|
1314
|
-
return b.build();
|
|
1315
|
-
}, "se_GenerateMacEmvPinChangeCommand");
|
|
1316
|
-
var se_GeneratePinDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1317
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1318
|
-
const headers = {
|
|
1319
|
-
"content-type": "application/json"
|
|
1320
|
-
};
|
|
1321
|
-
b.bp("/pindata/generate");
|
|
1322
|
-
let body;
|
|
1323
|
-
body = JSON.stringify(
|
|
1324
|
-
(0, import_smithy_client.take)(input, {
|
|
1325
|
-
EncryptionKeyIdentifier: [],
|
|
1326
|
-
EncryptionWrappedKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EncryptionWrappedKey"),
|
|
1327
|
-
GenerationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GenerationAttributes"),
|
|
1328
|
-
GenerationKeyIdentifier: [],
|
|
1329
|
-
PinBlockFormat: [],
|
|
1330
|
-
PinDataLength: [],
|
|
1331
|
-
PrimaryAccountNumber: []
|
|
1332
|
-
})
|
|
1333
|
-
);
|
|
1334
|
-
b.m("POST").h(headers).b(body);
|
|
1335
|
-
return b.build();
|
|
1336
|
-
}, "se_GeneratePinDataCommand");
|
|
1337
|
-
var se_ReEncryptDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1338
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1339
|
-
const headers = {
|
|
1340
|
-
"content-type": "application/json"
|
|
1341
|
-
};
|
|
1342
|
-
b.bp("/keys/{IncomingKeyIdentifier}/reencrypt");
|
|
1343
|
-
b.p("IncomingKeyIdentifier", () => input.IncomingKeyIdentifier, "{IncomingKeyIdentifier}", false);
|
|
1344
|
-
let body;
|
|
1345
|
-
body = JSON.stringify(
|
|
1346
|
-
(0, import_smithy_client.take)(input, {
|
|
1347
|
-
CipherText: [],
|
|
1348
|
-
IncomingEncryptionAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncomingEncryptionAttributes"),
|
|
1349
|
-
IncomingWrappedKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncomingWrappedKey"),
|
|
1350
|
-
OutgoingEncryptionAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutgoingEncryptionAttributes"),
|
|
1351
|
-
OutgoingKeyIdentifier: [],
|
|
1352
|
-
OutgoingWrappedKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutgoingWrappedKey")
|
|
1353
|
-
})
|
|
1354
|
-
);
|
|
1355
|
-
b.m("POST").h(headers).b(body);
|
|
1356
|
-
return b.build();
|
|
1357
|
-
}, "se_ReEncryptDataCommand");
|
|
1358
|
-
var se_TranslateKeyMaterialCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1359
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1360
|
-
const headers = {
|
|
1361
|
-
"content-type": "application/json"
|
|
1362
|
-
};
|
|
1363
|
-
b.bp("/keymaterial/translate");
|
|
1364
|
-
let body;
|
|
1365
|
-
body = JSON.stringify(
|
|
1366
|
-
(0, import_smithy_client.take)(input, {
|
|
1367
|
-
IncomingKeyMaterial: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncomingKeyMaterial"),
|
|
1368
|
-
KeyCheckValueAlgorithm: [],
|
|
1369
|
-
OutgoingKeyMaterial: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutgoingKeyMaterial")
|
|
1370
|
-
})
|
|
1371
|
-
);
|
|
1372
|
-
b.m("POST").h(headers).b(body);
|
|
1373
|
-
return b.build();
|
|
1374
|
-
}, "se_TranslateKeyMaterialCommand");
|
|
1375
|
-
var se_TranslatePinDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1376
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1377
|
-
const headers = {
|
|
1378
|
-
"content-type": "application/json"
|
|
1379
|
-
};
|
|
1380
|
-
b.bp("/pindata/translate");
|
|
1381
|
-
let body;
|
|
1382
|
-
body = JSON.stringify(
|
|
1383
|
-
(0, import_smithy_client.take)(input, {
|
|
1384
|
-
EncryptedPinBlock: [],
|
|
1385
|
-
IncomingDukptAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncomingDukptAttributes"),
|
|
1386
|
-
IncomingKeyIdentifier: [],
|
|
1387
|
-
IncomingTranslationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncomingTranslationAttributes"),
|
|
1388
|
-
IncomingWrappedKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncomingWrappedKey"),
|
|
1389
|
-
OutgoingDukptAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutgoingDukptAttributes"),
|
|
1390
|
-
OutgoingKeyIdentifier: [],
|
|
1391
|
-
OutgoingTranslationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutgoingTranslationAttributes"),
|
|
1392
|
-
OutgoingWrappedKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutgoingWrappedKey")
|
|
1393
|
-
})
|
|
1394
|
-
);
|
|
1395
|
-
b.m("POST").h(headers).b(body);
|
|
1396
|
-
return b.build();
|
|
1397
|
-
}, "se_TranslatePinDataCommand");
|
|
1398
|
-
var se_VerifyAuthRequestCryptogramCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1399
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1400
|
-
const headers = {
|
|
1401
|
-
"content-type": "application/json"
|
|
1402
|
-
};
|
|
1403
|
-
b.bp("/cryptogram/verify");
|
|
1404
|
-
let body;
|
|
1405
|
-
body = JSON.stringify(
|
|
1406
|
-
(0, import_smithy_client.take)(input, {
|
|
1407
|
-
AuthRequestCryptogram: [],
|
|
1408
|
-
AuthResponseAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AuthResponseAttributes"),
|
|
1409
|
-
KeyIdentifier: [],
|
|
1410
|
-
MajorKeyDerivationMode: [],
|
|
1411
|
-
SessionKeyDerivationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SessionKeyDerivationAttributes"),
|
|
1412
|
-
TransactionData: []
|
|
1413
|
-
})
|
|
1414
|
-
);
|
|
1415
|
-
b.m("POST").h(headers).b(body);
|
|
1416
|
-
return b.build();
|
|
1417
|
-
}, "se_VerifyAuthRequestCryptogramCommand");
|
|
1418
|
-
var se_VerifyCardValidationDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1419
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1420
|
-
const headers = {
|
|
1421
|
-
"content-type": "application/json"
|
|
1422
|
-
};
|
|
1423
|
-
b.bp("/cardvalidationdata/verify");
|
|
1424
|
-
let body;
|
|
1425
|
-
body = JSON.stringify(
|
|
1426
|
-
(0, import_smithy_client.take)(input, {
|
|
1427
|
-
KeyIdentifier: [],
|
|
1428
|
-
PrimaryAccountNumber: [],
|
|
1429
|
-
ValidationData: [],
|
|
1430
|
-
VerificationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VerificationAttributes")
|
|
1431
|
-
})
|
|
1432
|
-
);
|
|
1433
|
-
b.m("POST").h(headers).b(body);
|
|
1434
|
-
return b.build();
|
|
1435
|
-
}, "se_VerifyCardValidationDataCommand");
|
|
1436
|
-
var se_VerifyMacCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1437
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1438
|
-
const headers = {
|
|
1439
|
-
"content-type": "application/json"
|
|
1440
|
-
};
|
|
1441
|
-
b.bp("/mac/verify");
|
|
1442
|
-
let body;
|
|
1443
|
-
body = JSON.stringify(
|
|
1444
|
-
(0, import_smithy_client.take)(input, {
|
|
1445
|
-
KeyIdentifier: [],
|
|
1446
|
-
Mac: [],
|
|
1447
|
-
MacLength: [],
|
|
1448
|
-
MessageData: [],
|
|
1449
|
-
VerificationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VerificationAttributes")
|
|
1450
|
-
})
|
|
1451
|
-
);
|
|
1452
|
-
b.m("POST").h(headers).b(body);
|
|
1453
|
-
return b.build();
|
|
1454
|
-
}, "se_VerifyMacCommand");
|
|
1455
|
-
var se_VerifyPinDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1456
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1457
|
-
const headers = {
|
|
1458
|
-
"content-type": "application/json"
|
|
1459
|
-
};
|
|
1460
|
-
b.bp("/pindata/verify");
|
|
1461
|
-
let body;
|
|
1462
|
-
body = JSON.stringify(
|
|
1463
|
-
(0, import_smithy_client.take)(input, {
|
|
1464
|
-
DukptAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DukptAttributes"),
|
|
1465
|
-
EncryptedPinBlock: [],
|
|
1466
|
-
EncryptionKeyIdentifier: [],
|
|
1467
|
-
EncryptionWrappedKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EncryptionWrappedKey"),
|
|
1468
|
-
PinBlockFormat: [],
|
|
1469
|
-
PinDataLength: [],
|
|
1470
|
-
PrimaryAccountNumber: [],
|
|
1471
|
-
VerificationAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VerificationAttributes"),
|
|
1472
|
-
VerificationKeyIdentifier: []
|
|
1473
|
-
})
|
|
1474
|
-
);
|
|
1475
|
-
b.m("POST").h(headers).b(body);
|
|
1476
|
-
return b.build();
|
|
1477
|
-
}, "se_VerifyPinDataCommand");
|
|
1478
|
-
var de_DecryptDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1479
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1480
|
-
return de_CommandError(output, context);
|
|
1481
|
-
}
|
|
1482
|
-
const contents = (0, import_smithy_client.map)({
|
|
1483
|
-
$metadata: deserializeMetadata(output)
|
|
1484
|
-
});
|
|
1485
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1486
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1487
|
-
KeyArn: import_smithy_client.expectString,
|
|
1488
|
-
KeyCheckValue: import_smithy_client.expectString,
|
|
1489
|
-
PlainText: import_smithy_client.expectString
|
|
1490
|
-
});
|
|
1491
|
-
Object.assign(contents, doc);
|
|
1492
|
-
return contents;
|
|
1493
|
-
}, "de_DecryptDataCommand");
|
|
1494
|
-
var de_EncryptDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1495
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1496
|
-
return de_CommandError(output, context);
|
|
1497
|
-
}
|
|
1498
|
-
const contents = (0, import_smithy_client.map)({
|
|
1499
|
-
$metadata: deserializeMetadata(output)
|
|
1500
|
-
});
|
|
1501
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1502
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1503
|
-
CipherText: import_smithy_client.expectString,
|
|
1504
|
-
KeyArn: import_smithy_client.expectString,
|
|
1505
|
-
KeyCheckValue: import_smithy_client.expectString
|
|
1506
|
-
});
|
|
1507
|
-
Object.assign(contents, doc);
|
|
1508
|
-
return contents;
|
|
1509
|
-
}, "de_EncryptDataCommand");
|
|
1510
|
-
var de_GenerateCardValidationDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1511
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1512
|
-
return de_CommandError(output, context);
|
|
1513
|
-
}
|
|
1514
|
-
const contents = (0, import_smithy_client.map)({
|
|
1515
|
-
$metadata: deserializeMetadata(output)
|
|
1516
|
-
});
|
|
1517
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1518
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1519
|
-
KeyArn: import_smithy_client.expectString,
|
|
1520
|
-
KeyCheckValue: import_smithy_client.expectString,
|
|
1521
|
-
ValidationData: import_smithy_client.expectString
|
|
1522
|
-
});
|
|
1523
|
-
Object.assign(contents, doc);
|
|
1524
|
-
return contents;
|
|
1525
|
-
}, "de_GenerateCardValidationDataCommand");
|
|
1526
|
-
var de_GenerateMacCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1527
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1528
|
-
return de_CommandError(output, context);
|
|
1529
|
-
}
|
|
1530
|
-
const contents = (0, import_smithy_client.map)({
|
|
1531
|
-
$metadata: deserializeMetadata(output)
|
|
1532
|
-
});
|
|
1533
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1534
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1535
|
-
KeyArn: import_smithy_client.expectString,
|
|
1536
|
-
KeyCheckValue: import_smithy_client.expectString,
|
|
1537
|
-
Mac: import_smithy_client.expectString
|
|
1538
|
-
});
|
|
1539
|
-
Object.assign(contents, doc);
|
|
1540
|
-
return contents;
|
|
1541
|
-
}, "de_GenerateMacCommand");
|
|
1542
|
-
var de_GenerateMacEmvPinChangeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1543
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1544
|
-
return de_CommandError(output, context);
|
|
1545
|
-
}
|
|
1546
|
-
const contents = (0, import_smithy_client.map)({
|
|
1547
|
-
$metadata: deserializeMetadata(output)
|
|
1548
|
-
});
|
|
1549
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1550
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1551
|
-
EncryptedPinBlock: import_smithy_client.expectString,
|
|
1552
|
-
Mac: import_smithy_client.expectString,
|
|
1553
|
-
NewPinPekArn: import_smithy_client.expectString,
|
|
1554
|
-
NewPinPekKeyCheckValue: import_smithy_client.expectString,
|
|
1555
|
-
SecureMessagingConfidentialityKeyArn: import_smithy_client.expectString,
|
|
1556
|
-
SecureMessagingConfidentialityKeyCheckValue: import_smithy_client.expectString,
|
|
1557
|
-
SecureMessagingIntegrityKeyArn: import_smithy_client.expectString,
|
|
1558
|
-
SecureMessagingIntegrityKeyCheckValue: import_smithy_client.expectString,
|
|
1559
|
-
VisaAmexDerivationOutputs: import_smithy_client._json
|
|
1560
|
-
});
|
|
1561
|
-
Object.assign(contents, doc);
|
|
1562
|
-
return contents;
|
|
1563
|
-
}, "de_GenerateMacEmvPinChangeCommand");
|
|
1564
|
-
var de_GeneratePinDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1565
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1566
|
-
return de_CommandError(output, context);
|
|
1567
|
-
}
|
|
1568
|
-
const contents = (0, import_smithy_client.map)({
|
|
1569
|
-
$metadata: deserializeMetadata(output)
|
|
1570
|
-
});
|
|
1571
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1572
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1573
|
-
EncryptedPinBlock: import_smithy_client.expectString,
|
|
1574
|
-
EncryptionKeyArn: import_smithy_client.expectString,
|
|
1575
|
-
EncryptionKeyCheckValue: import_smithy_client.expectString,
|
|
1576
|
-
GenerationKeyArn: import_smithy_client.expectString,
|
|
1577
|
-
GenerationKeyCheckValue: import_smithy_client.expectString,
|
|
1578
|
-
PinData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "PinData")
|
|
1579
|
-
});
|
|
1580
|
-
Object.assign(contents, doc);
|
|
1581
|
-
return contents;
|
|
1582
|
-
}, "de_GeneratePinDataCommand");
|
|
1583
|
-
var de_ReEncryptDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1584
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1585
|
-
return de_CommandError(output, context);
|
|
1586
|
-
}
|
|
1587
|
-
const contents = (0, import_smithy_client.map)({
|
|
1588
|
-
$metadata: deserializeMetadata(output)
|
|
1589
|
-
});
|
|
1590
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1591
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1592
|
-
CipherText: import_smithy_client.expectString,
|
|
1593
|
-
KeyArn: import_smithy_client.expectString,
|
|
1594
|
-
KeyCheckValue: import_smithy_client.expectString
|
|
1595
|
-
});
|
|
1596
|
-
Object.assign(contents, doc);
|
|
1597
|
-
return contents;
|
|
1598
|
-
}, "de_ReEncryptDataCommand");
|
|
1599
|
-
var de_TranslateKeyMaterialCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1600
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1601
|
-
return de_CommandError(output, context);
|
|
1602
|
-
}
|
|
1603
|
-
const contents = (0, import_smithy_client.map)({
|
|
1604
|
-
$metadata: deserializeMetadata(output)
|
|
1605
|
-
});
|
|
1606
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1607
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1608
|
-
WrappedKey: import_smithy_client._json
|
|
1609
|
-
});
|
|
1610
|
-
Object.assign(contents, doc);
|
|
1611
|
-
return contents;
|
|
1612
|
-
}, "de_TranslateKeyMaterialCommand");
|
|
1613
|
-
var de_TranslatePinDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1614
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1615
|
-
return de_CommandError(output, context);
|
|
1616
|
-
}
|
|
1617
|
-
const contents = (0, import_smithy_client.map)({
|
|
1618
|
-
$metadata: deserializeMetadata(output)
|
|
1619
|
-
});
|
|
1620
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1621
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1622
|
-
KeyArn: import_smithy_client.expectString,
|
|
1623
|
-
KeyCheckValue: import_smithy_client.expectString,
|
|
1624
|
-
PinBlock: import_smithy_client.expectString
|
|
1625
|
-
});
|
|
1626
|
-
Object.assign(contents, doc);
|
|
1627
|
-
return contents;
|
|
1628
|
-
}, "de_TranslatePinDataCommand");
|
|
1629
|
-
var de_VerifyAuthRequestCryptogramCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1630
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1631
|
-
return de_CommandError(output, context);
|
|
1632
|
-
}
|
|
1633
|
-
const contents = (0, import_smithy_client.map)({
|
|
1634
|
-
$metadata: deserializeMetadata(output)
|
|
1635
|
-
});
|
|
1636
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1637
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1638
|
-
AuthResponseValue: import_smithy_client.expectString,
|
|
1639
|
-
KeyArn: import_smithy_client.expectString,
|
|
1640
|
-
KeyCheckValue: import_smithy_client.expectString
|
|
1641
|
-
});
|
|
1642
|
-
Object.assign(contents, doc);
|
|
1643
|
-
return contents;
|
|
1644
|
-
}, "de_VerifyAuthRequestCryptogramCommand");
|
|
1645
|
-
var de_VerifyCardValidationDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1646
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1647
|
-
return de_CommandError(output, context);
|
|
1648
|
-
}
|
|
1649
|
-
const contents = (0, import_smithy_client.map)({
|
|
1650
|
-
$metadata: deserializeMetadata(output)
|
|
1651
|
-
});
|
|
1652
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1653
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1654
|
-
KeyArn: import_smithy_client.expectString,
|
|
1655
|
-
KeyCheckValue: import_smithy_client.expectString
|
|
1656
|
-
});
|
|
1657
|
-
Object.assign(contents, doc);
|
|
1658
|
-
return contents;
|
|
1659
|
-
}, "de_VerifyCardValidationDataCommand");
|
|
1660
|
-
var de_VerifyMacCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1661
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1662
|
-
return de_CommandError(output, context);
|
|
1663
|
-
}
|
|
1664
|
-
const contents = (0, import_smithy_client.map)({
|
|
1665
|
-
$metadata: deserializeMetadata(output)
|
|
1666
|
-
});
|
|
1667
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1668
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1669
|
-
KeyArn: import_smithy_client.expectString,
|
|
1670
|
-
KeyCheckValue: import_smithy_client.expectString
|
|
1671
|
-
});
|
|
1672
|
-
Object.assign(contents, doc);
|
|
1673
|
-
return contents;
|
|
1674
|
-
}, "de_VerifyMacCommand");
|
|
1675
|
-
var de_VerifyPinDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1676
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1677
|
-
return de_CommandError(output, context);
|
|
1678
|
-
}
|
|
1679
|
-
const contents = (0, import_smithy_client.map)({
|
|
1680
|
-
$metadata: deserializeMetadata(output)
|
|
1681
|
-
});
|
|
1682
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1683
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1684
|
-
EncryptionKeyArn: import_smithy_client.expectString,
|
|
1685
|
-
EncryptionKeyCheckValue: import_smithy_client.expectString,
|
|
1686
|
-
VerificationKeyArn: import_smithy_client.expectString,
|
|
1687
|
-
VerificationKeyCheckValue: import_smithy_client.expectString
|
|
1688
|
-
});
|
|
1689
|
-
Object.assign(contents, doc);
|
|
1690
|
-
return contents;
|
|
1691
|
-
}, "de_VerifyPinDataCommand");
|
|
1692
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1693
|
-
const parsedOutput = {
|
|
1694
|
-
...output,
|
|
1695
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1696
|
-
};
|
|
1697
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1698
|
-
switch (errorCode) {
|
|
1699
|
-
case "AccessDeniedException":
|
|
1700
|
-
case "com.amazonaws.paymentcryptographydata#AccessDeniedException":
|
|
1701
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1702
|
-
case "InternalServerException":
|
|
1703
|
-
case "com.amazonaws.paymentcryptographydata#InternalServerException":
|
|
1704
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1705
|
-
case "ResourceNotFoundException":
|
|
1706
|
-
case "com.amazonaws.paymentcryptographydata#ResourceNotFoundException":
|
|
1707
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1708
|
-
case "ThrottlingException":
|
|
1709
|
-
case "com.amazonaws.paymentcryptographydata#ThrottlingException":
|
|
1710
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1711
|
-
case "ValidationException":
|
|
1712
|
-
case "com.amazonaws.paymentcryptographydata#ValidationException":
|
|
1713
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1714
|
-
case "VerificationFailedException":
|
|
1715
|
-
case "com.amazonaws.paymentcryptographydata#VerificationFailedException":
|
|
1716
|
-
throw await de_VerificationFailedExceptionRes(parsedOutput, context);
|
|
1717
|
-
default:
|
|
1718
|
-
const parsedBody = parsedOutput.body;
|
|
1719
|
-
return throwDefaultError({
|
|
1720
|
-
output,
|
|
1721
|
-
parsedBody,
|
|
1722
|
-
errorCode
|
|
1723
|
-
});
|
|
1724
|
-
}
|
|
1725
|
-
}, "de_CommandError");
|
|
1726
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(PaymentCryptographyDataServiceException);
|
|
1727
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1728
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1729
|
-
const data = parsedOutput.body;
|
|
1730
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1731
|
-
Message: import_smithy_client.expectString
|
|
1732
|
-
});
|
|
1733
|
-
Object.assign(contents, doc);
|
|
1734
|
-
const exception = new AccessDeniedException({
|
|
1735
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1736
|
-
...contents
|
|
1737
|
-
});
|
|
1738
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1739
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1740
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1741
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1742
|
-
const data = parsedOutput.body;
|
|
1743
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1744
|
-
Message: import_smithy_client.expectString
|
|
1745
|
-
});
|
|
1746
|
-
Object.assign(contents, doc);
|
|
1747
|
-
const exception = new InternalServerException({
|
|
1748
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1749
|
-
...contents
|
|
1750
|
-
});
|
|
1751
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1752
|
-
}, "de_InternalServerExceptionRes");
|
|
1753
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1754
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1755
|
-
const data = parsedOutput.body;
|
|
1756
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1757
|
-
ResourceId: import_smithy_client.expectString
|
|
1758
|
-
});
|
|
1759
|
-
Object.assign(contents, doc);
|
|
1760
|
-
const exception = new ResourceNotFoundException({
|
|
1761
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1762
|
-
...contents
|
|
1763
|
-
});
|
|
1764
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1765
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1766
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1767
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1768
|
-
const data = parsedOutput.body;
|
|
1769
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1770
|
-
Message: import_smithy_client.expectString
|
|
1771
|
-
});
|
|
1772
|
-
Object.assign(contents, doc);
|
|
1773
|
-
const exception = new ThrottlingException({
|
|
1774
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1775
|
-
...contents
|
|
1776
|
-
});
|
|
1777
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1778
|
-
}, "de_ThrottlingExceptionRes");
|
|
1779
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1780
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1781
|
-
const data = parsedOutput.body;
|
|
1782
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1783
|
-
fieldList: import_smithy_client._json,
|
|
1784
|
-
message: import_smithy_client.expectString
|
|
1785
|
-
});
|
|
1786
|
-
Object.assign(contents, doc);
|
|
1787
|
-
const exception = new ValidationException({
|
|
1788
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1789
|
-
...contents
|
|
1790
|
-
});
|
|
1791
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1792
|
-
}, "de_ValidationExceptionRes");
|
|
1793
|
-
var de_VerificationFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1794
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1795
|
-
const data = parsedOutput.body;
|
|
1796
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1797
|
-
Message: import_smithy_client.expectString,
|
|
1798
|
-
Reason: import_smithy_client.expectString
|
|
1799
|
-
});
|
|
1800
|
-
Object.assign(contents, doc);
|
|
1801
|
-
const exception = new VerificationFailedException({
|
|
1802
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1803
|
-
...contents
|
|
1804
|
-
});
|
|
1805
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1806
|
-
}, "de_VerificationFailedExceptionRes");
|
|
1807
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1808
|
-
httpStatusCode: output.statusCode,
|
|
1809
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1810
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1811
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1812
|
-
}), "deserializeMetadata");
|
|
1813
|
-
|
|
1814
|
-
// src/commands/DecryptDataCommand.ts
|
|
1815
|
-
var DecryptDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1816
|
-
return [
|
|
1817
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1818
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1819
|
-
];
|
|
1820
|
-
}).s("PaymentCryptographyDataPlane", "DecryptData", {}).n("PaymentCryptographyDataClient", "DecryptDataCommand").f(DecryptDataInputFilterSensitiveLog, DecryptDataOutputFilterSensitiveLog).ser(se_DecryptDataCommand).de(de_DecryptDataCommand).build() {
|
|
1821
|
-
static {
|
|
1822
|
-
__name(this, "DecryptDataCommand");
|
|
1823
|
-
}
|
|
433
|
+
})(exports.PinGenerationAttributes || (exports.PinGenerationAttributes = {}));
|
|
434
|
+
const PinBlockFormatForPinData = {
|
|
435
|
+
ISO_FORMAT_0: "ISO_FORMAT_0",
|
|
436
|
+
ISO_FORMAT_1: "ISO_FORMAT_1",
|
|
437
|
+
ISO_FORMAT_3: "ISO_FORMAT_3",
|
|
438
|
+
ISO_FORMAT_4: "ISO_FORMAT_4",
|
|
1824
439
|
};
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
440
|
+
exports.PinData = void 0;
|
|
441
|
+
(function (PinData) {
|
|
442
|
+
PinData.visit = (value, visitor) => {
|
|
443
|
+
if (value.PinOffset !== undefined)
|
|
444
|
+
return visitor.PinOffset(value.PinOffset);
|
|
445
|
+
if (value.VerificationValue !== undefined)
|
|
446
|
+
return visitor.VerificationValue(value.VerificationValue);
|
|
447
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
448
|
+
};
|
|
449
|
+
})(exports.PinData || (exports.PinData = {}));
|
|
450
|
+
exports.IncomingKeyMaterial = void 0;
|
|
451
|
+
(function (IncomingKeyMaterial) {
|
|
452
|
+
IncomingKeyMaterial.visit = (value, visitor) => {
|
|
453
|
+
if (value.DiffieHellmanTr31KeyBlock !== undefined)
|
|
454
|
+
return visitor.DiffieHellmanTr31KeyBlock(value.DiffieHellmanTr31KeyBlock);
|
|
455
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
456
|
+
};
|
|
457
|
+
})(exports.IncomingKeyMaterial || (exports.IncomingKeyMaterial = {}));
|
|
458
|
+
exports.OutgoingKeyMaterial = void 0;
|
|
459
|
+
(function (OutgoingKeyMaterial) {
|
|
460
|
+
OutgoingKeyMaterial.visit = (value, visitor) => {
|
|
461
|
+
if (value.Tr31KeyBlock !== undefined)
|
|
462
|
+
return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
|
|
463
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
464
|
+
};
|
|
465
|
+
})(exports.OutgoingKeyMaterial || (exports.OutgoingKeyMaterial = {}));
|
|
466
|
+
exports.ReEncryptionAttributes = void 0;
|
|
467
|
+
(function (ReEncryptionAttributes) {
|
|
468
|
+
ReEncryptionAttributes.visit = (value, visitor) => {
|
|
469
|
+
if (value.Symmetric !== undefined)
|
|
470
|
+
return visitor.Symmetric(value.Symmetric);
|
|
471
|
+
if (value.Dukpt !== undefined)
|
|
472
|
+
return visitor.Dukpt(value.Dukpt);
|
|
473
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
474
|
+
};
|
|
475
|
+
})(exports.ReEncryptionAttributes || (exports.ReEncryptionAttributes = {}));
|
|
476
|
+
const WrappedKeyMaterialFormat = {
|
|
477
|
+
KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
|
|
478
|
+
TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
|
|
479
|
+
TR34_KEY_BLOCK: "TR34_KEY_BLOCK",
|
|
1839
480
|
};
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
481
|
+
exports.TranslationIsoFormats = void 0;
|
|
482
|
+
(function (TranslationIsoFormats) {
|
|
483
|
+
TranslationIsoFormats.visit = (value, visitor) => {
|
|
484
|
+
if (value.IsoFormat0 !== undefined)
|
|
485
|
+
return visitor.IsoFormat0(value.IsoFormat0);
|
|
486
|
+
if (value.IsoFormat1 !== undefined)
|
|
487
|
+
return visitor.IsoFormat1(value.IsoFormat1);
|
|
488
|
+
if (value.IsoFormat3 !== undefined)
|
|
489
|
+
return visitor.IsoFormat3(value.IsoFormat3);
|
|
490
|
+
if (value.IsoFormat4 !== undefined)
|
|
491
|
+
return visitor.IsoFormat4(value.IsoFormat4);
|
|
492
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
493
|
+
};
|
|
494
|
+
})(exports.TranslationIsoFormats || (exports.TranslationIsoFormats = {}));
|
|
495
|
+
const VerificationFailedReason = {
|
|
496
|
+
INVALID_AUTH_REQUEST_CRYPTOGRAM: "INVALID_AUTH_REQUEST_CRYPTOGRAM",
|
|
497
|
+
INVALID_MAC: "INVALID_MAC",
|
|
498
|
+
INVALID_PIN: "INVALID_PIN",
|
|
499
|
+
INVALID_VALIDATION_DATA: "INVALID_VALIDATION_DATA",
|
|
1854
500
|
};
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
})
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
501
|
+
class VerificationFailedException extends PaymentCryptographyDataServiceException {
|
|
502
|
+
name = "VerificationFailedException";
|
|
503
|
+
$fault = "client";
|
|
504
|
+
Reason;
|
|
505
|
+
Message;
|
|
506
|
+
constructor(opts) {
|
|
507
|
+
super({
|
|
508
|
+
name: "VerificationFailedException",
|
|
509
|
+
$fault: "client",
|
|
510
|
+
...opts,
|
|
511
|
+
});
|
|
512
|
+
Object.setPrototypeOf(this, VerificationFailedException.prototype);
|
|
513
|
+
this.Reason = opts.Reason;
|
|
514
|
+
this.Message = opts.Message;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
exports.SessionKeyDerivation = void 0;
|
|
518
|
+
(function (SessionKeyDerivation) {
|
|
519
|
+
SessionKeyDerivation.visit = (value, visitor) => {
|
|
520
|
+
if (value.EmvCommon !== undefined)
|
|
521
|
+
return visitor.EmvCommon(value.EmvCommon);
|
|
522
|
+
if (value.Mastercard !== undefined)
|
|
523
|
+
return visitor.Mastercard(value.Mastercard);
|
|
524
|
+
if (value.Emv2000 !== undefined)
|
|
525
|
+
return visitor.Emv2000(value.Emv2000);
|
|
526
|
+
if (value.Amex !== undefined)
|
|
527
|
+
return visitor.Amex(value.Amex);
|
|
528
|
+
if (value.Visa !== undefined)
|
|
529
|
+
return visitor.Visa(value.Visa);
|
|
530
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
531
|
+
};
|
|
532
|
+
})(exports.SessionKeyDerivation || (exports.SessionKeyDerivation = {}));
|
|
533
|
+
exports.PinVerificationAttributes = void 0;
|
|
534
|
+
(function (PinVerificationAttributes) {
|
|
535
|
+
PinVerificationAttributes.visit = (value, visitor) => {
|
|
536
|
+
if (value.VisaPin !== undefined)
|
|
537
|
+
return visitor.VisaPin(value.VisaPin);
|
|
538
|
+
if (value.Ibm3624Pin !== undefined)
|
|
539
|
+
return visitor.Ibm3624Pin(value.Ibm3624Pin);
|
|
540
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
541
|
+
};
|
|
542
|
+
})(exports.PinVerificationAttributes || (exports.PinVerificationAttributes = {}));
|
|
543
|
+
const CurrentPinAttributesFilterSensitiveLog = (obj) => ({
|
|
544
|
+
...obj,
|
|
545
|
+
...(obj.CurrentEncryptedPinBlock && { CurrentEncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
|
|
546
|
+
});
|
|
547
|
+
const AmexAttributesFilterSensitiveLog = (obj) => ({
|
|
548
|
+
...obj,
|
|
549
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
550
|
+
...(obj.CurrentPinAttributes && {
|
|
551
|
+
CurrentPinAttributes: CurrentPinAttributesFilterSensitiveLog(obj.CurrentPinAttributes),
|
|
552
|
+
}),
|
|
553
|
+
});
|
|
554
|
+
const AmexCardSecurityCodeVersion1FilterSensitiveLog = (obj) => ({
|
|
555
|
+
...obj,
|
|
556
|
+
...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
|
|
557
|
+
});
|
|
558
|
+
const AmexCardSecurityCodeVersion2FilterSensitiveLog = (obj) => ({
|
|
559
|
+
...obj,
|
|
560
|
+
...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
|
|
561
|
+
...(obj.ServiceCode && { ServiceCode: smithyClient.SENSITIVE_STRING }),
|
|
562
|
+
});
|
|
563
|
+
const CardVerificationValue1FilterSensitiveLog = (obj) => ({
|
|
564
|
+
...obj,
|
|
565
|
+
...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
|
|
566
|
+
...(obj.ServiceCode && { ServiceCode: smithyClient.SENSITIVE_STRING }),
|
|
567
|
+
});
|
|
568
|
+
const CardVerificationValue2FilterSensitiveLog = (obj) => ({
|
|
569
|
+
...obj,
|
|
570
|
+
...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
|
|
571
|
+
});
|
|
572
|
+
const DynamicCardVerificationCodeFilterSensitiveLog = (obj) => ({
|
|
573
|
+
...obj,
|
|
574
|
+
...(obj.TrackData && { TrackData: smithyClient.SENSITIVE_STRING }),
|
|
575
|
+
});
|
|
576
|
+
const DynamicCardVerificationValueFilterSensitiveLog = (obj) => ({
|
|
577
|
+
...obj,
|
|
578
|
+
...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
|
|
579
|
+
...(obj.ServiceCode && { ServiceCode: smithyClient.SENSITIVE_STRING }),
|
|
580
|
+
});
|
|
581
|
+
const CardGenerationAttributesFilterSensitiveLog = (obj) => {
|
|
582
|
+
if (obj.AmexCardSecurityCodeVersion1 !== undefined)
|
|
583
|
+
return {
|
|
584
|
+
AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1FilterSensitiveLog(obj.AmexCardSecurityCodeVersion1),
|
|
585
|
+
};
|
|
586
|
+
if (obj.AmexCardSecurityCodeVersion2 !== undefined)
|
|
587
|
+
return {
|
|
588
|
+
AmexCardSecurityCodeVersion2: AmexCardSecurityCodeVersion2FilterSensitiveLog(obj.AmexCardSecurityCodeVersion2),
|
|
589
|
+
};
|
|
590
|
+
if (obj.CardVerificationValue1 !== undefined)
|
|
591
|
+
return { CardVerificationValue1: CardVerificationValue1FilterSensitiveLog(obj.CardVerificationValue1) };
|
|
592
|
+
if (obj.CardVerificationValue2 !== undefined)
|
|
593
|
+
return { CardVerificationValue2: CardVerificationValue2FilterSensitiveLog(obj.CardVerificationValue2) };
|
|
594
|
+
if (obj.CardHolderVerificationValue !== undefined)
|
|
595
|
+
return { CardHolderVerificationValue: obj.CardHolderVerificationValue };
|
|
596
|
+
if (obj.DynamicCardVerificationCode !== undefined)
|
|
597
|
+
return {
|
|
598
|
+
DynamicCardVerificationCode: DynamicCardVerificationCodeFilterSensitiveLog(obj.DynamicCardVerificationCode),
|
|
599
|
+
};
|
|
600
|
+
if (obj.DynamicCardVerificationValue !== undefined)
|
|
601
|
+
return {
|
|
602
|
+
DynamicCardVerificationValue: DynamicCardVerificationValueFilterSensitiveLog(obj.DynamicCardVerificationValue),
|
|
603
|
+
};
|
|
604
|
+
if (obj.$unknown !== undefined)
|
|
605
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1869
606
|
};
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
607
|
+
const DiscoverDynamicCardVerificationCodeFilterSensitiveLog = (obj) => ({
|
|
608
|
+
...obj,
|
|
609
|
+
...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
|
|
610
|
+
});
|
|
611
|
+
const CardVerificationAttributesFilterSensitiveLog = (obj) => {
|
|
612
|
+
if (obj.AmexCardSecurityCodeVersion1 !== undefined)
|
|
613
|
+
return {
|
|
614
|
+
AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1FilterSensitiveLog(obj.AmexCardSecurityCodeVersion1),
|
|
615
|
+
};
|
|
616
|
+
if (obj.AmexCardSecurityCodeVersion2 !== undefined)
|
|
617
|
+
return {
|
|
618
|
+
AmexCardSecurityCodeVersion2: AmexCardSecurityCodeVersion2FilterSensitiveLog(obj.AmexCardSecurityCodeVersion2),
|
|
619
|
+
};
|
|
620
|
+
if (obj.CardVerificationValue1 !== undefined)
|
|
621
|
+
return { CardVerificationValue1: CardVerificationValue1FilterSensitiveLog(obj.CardVerificationValue1) };
|
|
622
|
+
if (obj.CardVerificationValue2 !== undefined)
|
|
623
|
+
return { CardVerificationValue2: CardVerificationValue2FilterSensitiveLog(obj.CardVerificationValue2) };
|
|
624
|
+
if (obj.CardHolderVerificationValue !== undefined)
|
|
625
|
+
return { CardHolderVerificationValue: obj.CardHolderVerificationValue };
|
|
626
|
+
if (obj.DynamicCardVerificationCode !== undefined)
|
|
627
|
+
return {
|
|
628
|
+
DynamicCardVerificationCode: DynamicCardVerificationCodeFilterSensitiveLog(obj.DynamicCardVerificationCode),
|
|
629
|
+
};
|
|
630
|
+
if (obj.DynamicCardVerificationValue !== undefined)
|
|
631
|
+
return {
|
|
632
|
+
DynamicCardVerificationValue: DynamicCardVerificationValueFilterSensitiveLog(obj.DynamicCardVerificationValue),
|
|
633
|
+
};
|
|
634
|
+
if (obj.DiscoverDynamicCardVerificationCode !== undefined)
|
|
635
|
+
return {
|
|
636
|
+
DiscoverDynamicCardVerificationCode: DiscoverDynamicCardVerificationCodeFilterSensitiveLog(obj.DiscoverDynamicCardVerificationCode),
|
|
637
|
+
};
|
|
638
|
+
if (obj.$unknown !== undefined)
|
|
639
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1884
640
|
};
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
static {
|
|
1897
|
-
__name(this, "GeneratePinDataCommand");
|
|
1898
|
-
}
|
|
641
|
+
const CryptogramVerificationArpcMethod2FilterSensitiveLog = (obj) => ({
|
|
642
|
+
...obj,
|
|
643
|
+
...(obj.ProprietaryAuthenticationData && { ProprietaryAuthenticationData: smithyClient.SENSITIVE_STRING }),
|
|
644
|
+
});
|
|
645
|
+
const CryptogramAuthResponseFilterSensitiveLog = (obj) => {
|
|
646
|
+
if (obj.ArpcMethod1 !== undefined)
|
|
647
|
+
return { ArpcMethod1: obj.ArpcMethod1 };
|
|
648
|
+
if (obj.ArpcMethod2 !== undefined)
|
|
649
|
+
return { ArpcMethod2: CryptogramVerificationArpcMethod2FilterSensitiveLog(obj.ArpcMethod2) };
|
|
650
|
+
if (obj.$unknown !== undefined)
|
|
651
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1899
652
|
};
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
(
|
|
1908
|
-
(
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
653
|
+
const DukptEncryptionAttributesFilterSensitiveLog = (obj) => ({
|
|
654
|
+
...obj,
|
|
655
|
+
...(obj.InitializationVector && { InitializationVector: smithyClient.SENSITIVE_STRING }),
|
|
656
|
+
});
|
|
657
|
+
const EmvEncryptionAttributesFilterSensitiveLog = (obj) => ({
|
|
658
|
+
...obj,
|
|
659
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
660
|
+
...(obj.SessionDerivationData && { SessionDerivationData: smithyClient.SENSITIVE_STRING }),
|
|
661
|
+
...(obj.InitializationVector && { InitializationVector: smithyClient.SENSITIVE_STRING }),
|
|
662
|
+
});
|
|
663
|
+
const SymmetricEncryptionAttributesFilterSensitiveLog = (obj) => ({
|
|
664
|
+
...obj,
|
|
665
|
+
...(obj.InitializationVector && { InitializationVector: smithyClient.SENSITIVE_STRING }),
|
|
666
|
+
});
|
|
667
|
+
const EncryptionDecryptionAttributesFilterSensitiveLog = (obj) => {
|
|
668
|
+
if (obj.Symmetric !== undefined)
|
|
669
|
+
return { Symmetric: SymmetricEncryptionAttributesFilterSensitiveLog(obj.Symmetric) };
|
|
670
|
+
if (obj.Asymmetric !== undefined)
|
|
671
|
+
return { Asymmetric: obj.Asymmetric };
|
|
672
|
+
if (obj.Dukpt !== undefined)
|
|
673
|
+
return { Dukpt: DukptEncryptionAttributesFilterSensitiveLog(obj.Dukpt) };
|
|
674
|
+
if (obj.Emv !== undefined)
|
|
675
|
+
return { Emv: EmvEncryptionAttributesFilterSensitiveLog(obj.Emv) };
|
|
676
|
+
if (obj.$unknown !== undefined)
|
|
677
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1914
678
|
};
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1923
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1924
|
-
];
|
|
1925
|
-
}).s("PaymentCryptographyDataPlane", "TranslateKeyMaterial", {}).n("PaymentCryptographyDataClient", "TranslateKeyMaterialCommand").f(TranslateKeyMaterialInputFilterSensitiveLog, TranslateKeyMaterialOutputFilterSensitiveLog).ser(se_TranslateKeyMaterialCommand).de(de_TranslateKeyMaterialCommand).build() {
|
|
1926
|
-
static {
|
|
1927
|
-
__name(this, "TranslateKeyMaterialCommand");
|
|
1928
|
-
}
|
|
679
|
+
const WrappedKeyMaterialFilterSensitiveLog = (obj) => {
|
|
680
|
+
if (obj.Tr31KeyBlock !== undefined)
|
|
681
|
+
return { Tr31KeyBlock: smithyClient.SENSITIVE_STRING };
|
|
682
|
+
if (obj.DiffieHellmanSymmetricKey !== undefined)
|
|
683
|
+
return { DiffieHellmanSymmetricKey: obj.DiffieHellmanSymmetricKey };
|
|
684
|
+
if (obj.$unknown !== undefined)
|
|
685
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1929
686
|
};
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
(
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
687
|
+
const WrappedKeyFilterSensitiveLog = (obj) => ({
|
|
688
|
+
...obj,
|
|
689
|
+
...(obj.WrappedKeyMaterial && { WrappedKeyMaterial: WrappedKeyMaterialFilterSensitiveLog(obj.WrappedKeyMaterial) }),
|
|
690
|
+
});
|
|
691
|
+
const DecryptDataInputFilterSensitiveLog = (obj) => ({
|
|
692
|
+
...obj,
|
|
693
|
+
...(obj.CipherText && { CipherText: smithyClient.SENSITIVE_STRING }),
|
|
694
|
+
...(obj.DecryptionAttributes && {
|
|
695
|
+
DecryptionAttributes: EncryptionDecryptionAttributesFilterSensitiveLog(obj.DecryptionAttributes),
|
|
696
|
+
}),
|
|
697
|
+
...(obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }),
|
|
698
|
+
});
|
|
699
|
+
const DecryptDataOutputFilterSensitiveLog = (obj) => ({
|
|
700
|
+
...obj,
|
|
701
|
+
...(obj.PlainText && { PlainText: smithyClient.SENSITIVE_STRING }),
|
|
702
|
+
});
|
|
703
|
+
const Emv2000AttributesFilterSensitiveLog = (obj) => ({
|
|
704
|
+
...obj,
|
|
705
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
706
|
+
});
|
|
707
|
+
const EmvCommonAttributesFilterSensitiveLog = (obj) => ({
|
|
708
|
+
...obj,
|
|
709
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
710
|
+
...(obj.ApplicationCryptogram && { ApplicationCryptogram: smithyClient.SENSITIVE_STRING }),
|
|
711
|
+
});
|
|
712
|
+
const MasterCardAttributesFilterSensitiveLog = (obj) => ({
|
|
713
|
+
...obj,
|
|
714
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
715
|
+
...(obj.ApplicationCryptogram && { ApplicationCryptogram: smithyClient.SENSITIVE_STRING }),
|
|
716
|
+
});
|
|
717
|
+
const VisaAttributesFilterSensitiveLog = (obj) => ({
|
|
718
|
+
...obj,
|
|
719
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
720
|
+
...(obj.CurrentPinAttributes && {
|
|
721
|
+
CurrentPinAttributes: CurrentPinAttributesFilterSensitiveLog(obj.CurrentPinAttributes),
|
|
722
|
+
}),
|
|
723
|
+
});
|
|
724
|
+
const DerivationMethodAttributesFilterSensitiveLog = (obj) => {
|
|
725
|
+
if (obj.EmvCommon !== undefined)
|
|
726
|
+
return { EmvCommon: EmvCommonAttributesFilterSensitiveLog(obj.EmvCommon) };
|
|
727
|
+
if (obj.Amex !== undefined)
|
|
728
|
+
return { Amex: AmexAttributesFilterSensitiveLog(obj.Amex) };
|
|
729
|
+
if (obj.Visa !== undefined)
|
|
730
|
+
return { Visa: VisaAttributesFilterSensitiveLog(obj.Visa) };
|
|
731
|
+
if (obj.Emv2000 !== undefined)
|
|
732
|
+
return { Emv2000: Emv2000AttributesFilterSensitiveLog(obj.Emv2000) };
|
|
733
|
+
if (obj.Mastercard !== undefined)
|
|
734
|
+
return { Mastercard: MasterCardAttributesFilterSensitiveLog(obj.Mastercard) };
|
|
735
|
+
if (obj.$unknown !== undefined)
|
|
736
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1944
737
|
};
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
738
|
+
const EncryptDataInputFilterSensitiveLog = (obj) => ({
|
|
739
|
+
...obj,
|
|
740
|
+
...(obj.PlainText && { PlainText: smithyClient.SENSITIVE_STRING }),
|
|
741
|
+
...(obj.EncryptionAttributes && {
|
|
742
|
+
EncryptionAttributes: EncryptionDecryptionAttributesFilterSensitiveLog(obj.EncryptionAttributes),
|
|
743
|
+
}),
|
|
744
|
+
...(obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }),
|
|
745
|
+
});
|
|
746
|
+
const EncryptDataOutputFilterSensitiveLog = (obj) => ({
|
|
747
|
+
...obj,
|
|
748
|
+
...(obj.CipherText && { CipherText: smithyClient.SENSITIVE_STRING }),
|
|
749
|
+
});
|
|
750
|
+
const GenerateCardValidationDataInputFilterSensitiveLog = (obj) => ({
|
|
751
|
+
...obj,
|
|
752
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
753
|
+
...(obj.GenerationAttributes && {
|
|
754
|
+
GenerationAttributes: CardGenerationAttributesFilterSensitiveLog(obj.GenerationAttributes),
|
|
755
|
+
}),
|
|
756
|
+
});
|
|
757
|
+
const GenerateCardValidationDataOutputFilterSensitiveLog = (obj) => ({
|
|
758
|
+
...obj,
|
|
759
|
+
...(obj.ValidationData && { ValidationData: smithyClient.SENSITIVE_STRING }),
|
|
760
|
+
});
|
|
761
|
+
const SessionKeyDerivationValueFilterSensitiveLog = (obj) => {
|
|
762
|
+
if (obj.ApplicationCryptogram !== undefined)
|
|
763
|
+
return { ApplicationCryptogram: smithyClient.SENSITIVE_STRING };
|
|
764
|
+
if (obj.ApplicationTransactionCounter !== undefined)
|
|
765
|
+
return { ApplicationTransactionCounter: obj.ApplicationTransactionCounter };
|
|
766
|
+
if (obj.$unknown !== undefined)
|
|
767
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1959
768
|
};
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
(
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
769
|
+
const MacAlgorithmEmvFilterSensitiveLog = (obj) => ({
|
|
770
|
+
...obj,
|
|
771
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
772
|
+
...(obj.SessionKeyDerivationValue && {
|
|
773
|
+
SessionKeyDerivationValue: SessionKeyDerivationValueFilterSensitiveLog(obj.SessionKeyDerivationValue),
|
|
774
|
+
}),
|
|
775
|
+
});
|
|
776
|
+
const MacAttributesFilterSensitiveLog = (obj) => {
|
|
777
|
+
if (obj.Algorithm !== undefined)
|
|
778
|
+
return { Algorithm: obj.Algorithm };
|
|
779
|
+
if (obj.EmvMac !== undefined)
|
|
780
|
+
return { EmvMac: MacAlgorithmEmvFilterSensitiveLog(obj.EmvMac) };
|
|
781
|
+
if (obj.DukptIso9797Algorithm1 !== undefined)
|
|
782
|
+
return { DukptIso9797Algorithm1: obj.DukptIso9797Algorithm1 };
|
|
783
|
+
if (obj.DukptIso9797Algorithm3 !== undefined)
|
|
784
|
+
return { DukptIso9797Algorithm3: obj.DukptIso9797Algorithm3 };
|
|
785
|
+
if (obj.DukptCmac !== undefined)
|
|
786
|
+
return { DukptCmac: obj.DukptCmac };
|
|
787
|
+
if (obj.$unknown !== undefined)
|
|
788
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1974
789
|
};
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
(
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
790
|
+
const GenerateMacInputFilterSensitiveLog = (obj) => ({
|
|
791
|
+
...obj,
|
|
792
|
+
...(obj.MessageData && { MessageData: smithyClient.SENSITIVE_STRING }),
|
|
793
|
+
...(obj.GenerationAttributes && { GenerationAttributes: MacAttributesFilterSensitiveLog(obj.GenerationAttributes) }),
|
|
794
|
+
});
|
|
795
|
+
const GenerateMacOutputFilterSensitiveLog = (obj) => ({
|
|
796
|
+
...obj,
|
|
797
|
+
...(obj.Mac && { Mac: smithyClient.SENSITIVE_STRING }),
|
|
798
|
+
});
|
|
799
|
+
const GenerateMacEmvPinChangeInputFilterSensitiveLog = (obj) => ({
|
|
800
|
+
...obj,
|
|
801
|
+
...(obj.NewEncryptedPinBlock && { NewEncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
|
|
802
|
+
...(obj.MessageData && { MessageData: smithyClient.SENSITIVE_STRING }),
|
|
803
|
+
...(obj.DerivationMethodAttributes && {
|
|
804
|
+
DerivationMethodAttributes: DerivationMethodAttributesFilterSensitiveLog(obj.DerivationMethodAttributes),
|
|
805
|
+
}),
|
|
806
|
+
});
|
|
807
|
+
const GenerateMacEmvPinChangeOutputFilterSensitiveLog = (obj) => ({
|
|
808
|
+
...obj,
|
|
809
|
+
...(obj.Mac && { Mac: smithyClient.SENSITIVE_STRING }),
|
|
810
|
+
...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
|
|
811
|
+
});
|
|
812
|
+
const Ibm3624NaturalPinFilterSensitiveLog = (obj) => ({
|
|
813
|
+
...obj,
|
|
814
|
+
...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
|
|
815
|
+
...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
|
|
816
|
+
});
|
|
817
|
+
const Ibm3624PinFromOffsetFilterSensitiveLog = (obj) => ({
|
|
818
|
+
...obj,
|
|
819
|
+
...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
|
|
820
|
+
...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
|
|
821
|
+
...(obj.PinOffset && { PinOffset: smithyClient.SENSITIVE_STRING }),
|
|
822
|
+
});
|
|
823
|
+
const Ibm3624PinOffsetFilterSensitiveLog = (obj) => ({
|
|
824
|
+
...obj,
|
|
825
|
+
...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
|
|
826
|
+
...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
|
|
827
|
+
...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
|
|
828
|
+
});
|
|
829
|
+
const Ibm3624RandomPinFilterSensitiveLog = (obj) => ({
|
|
830
|
+
...obj,
|
|
831
|
+
...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
|
|
832
|
+
...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
|
|
833
|
+
});
|
|
834
|
+
const VisaPinVerificationValueFilterSensitiveLog = (obj) => ({
|
|
835
|
+
...obj,
|
|
836
|
+
...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
|
|
837
|
+
});
|
|
838
|
+
const PinGenerationAttributesFilterSensitiveLog = (obj) => {
|
|
839
|
+
if (obj.VisaPin !== undefined)
|
|
840
|
+
return { VisaPin: obj.VisaPin };
|
|
841
|
+
if (obj.VisaPinVerificationValue !== undefined)
|
|
842
|
+
return { VisaPinVerificationValue: VisaPinVerificationValueFilterSensitiveLog(obj.VisaPinVerificationValue) };
|
|
843
|
+
if (obj.Ibm3624PinOffset !== undefined)
|
|
844
|
+
return { Ibm3624PinOffset: Ibm3624PinOffsetFilterSensitiveLog(obj.Ibm3624PinOffset) };
|
|
845
|
+
if (obj.Ibm3624NaturalPin !== undefined)
|
|
846
|
+
return { Ibm3624NaturalPin: Ibm3624NaturalPinFilterSensitiveLog(obj.Ibm3624NaturalPin) };
|
|
847
|
+
if (obj.Ibm3624RandomPin !== undefined)
|
|
848
|
+
return { Ibm3624RandomPin: Ibm3624RandomPinFilterSensitiveLog(obj.Ibm3624RandomPin) };
|
|
849
|
+
if (obj.Ibm3624PinFromOffset !== undefined)
|
|
850
|
+
return { Ibm3624PinFromOffset: Ibm3624PinFromOffsetFilterSensitiveLog(obj.Ibm3624PinFromOffset) };
|
|
851
|
+
if (obj.$unknown !== undefined)
|
|
852
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1989
853
|
};
|
|
854
|
+
const GeneratePinDataInputFilterSensitiveLog = (obj) => ({
|
|
855
|
+
...obj,
|
|
856
|
+
...(obj.GenerationAttributes && {
|
|
857
|
+
GenerationAttributes: PinGenerationAttributesFilterSensitiveLog(obj.GenerationAttributes),
|
|
858
|
+
}),
|
|
859
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
860
|
+
...(obj.EncryptionWrappedKey && { EncryptionWrappedKey: WrappedKeyFilterSensitiveLog(obj.EncryptionWrappedKey) }),
|
|
861
|
+
});
|
|
862
|
+
const PinDataFilterSensitiveLog = (obj) => {
|
|
863
|
+
if (obj.PinOffset !== undefined)
|
|
864
|
+
return { PinOffset: smithyClient.SENSITIVE_STRING };
|
|
865
|
+
if (obj.VerificationValue !== undefined)
|
|
866
|
+
return { VerificationValue: smithyClient.SENSITIVE_STRING };
|
|
867
|
+
if (obj.$unknown !== undefined)
|
|
868
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
869
|
+
};
|
|
870
|
+
const GeneratePinDataOutputFilterSensitiveLog = (obj) => ({
|
|
871
|
+
...obj,
|
|
872
|
+
...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
|
|
873
|
+
...(obj.PinData && { PinData: PinDataFilterSensitiveLog(obj.PinData) }),
|
|
874
|
+
});
|
|
875
|
+
const Ibm3624PinVerificationFilterSensitiveLog = (obj) => ({
|
|
876
|
+
...obj,
|
|
877
|
+
...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
|
|
878
|
+
...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
|
|
879
|
+
...(obj.PinOffset && { PinOffset: smithyClient.SENSITIVE_STRING }),
|
|
880
|
+
});
|
|
881
|
+
const IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog = (obj) => ({
|
|
882
|
+
...obj,
|
|
883
|
+
...(obj.DerivationData && { DerivationData: obj.DerivationData }),
|
|
884
|
+
...(obj.WrappedKeyBlock && { WrappedKeyBlock: smithyClient.SENSITIVE_STRING }),
|
|
885
|
+
});
|
|
886
|
+
const IncomingKeyMaterialFilterSensitiveLog = (obj) => {
|
|
887
|
+
if (obj.DiffieHellmanTr31KeyBlock !== undefined)
|
|
888
|
+
return {
|
|
889
|
+
DiffieHellmanTr31KeyBlock: IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog(obj.DiffieHellmanTr31KeyBlock),
|
|
890
|
+
};
|
|
891
|
+
if (obj.$unknown !== undefined)
|
|
892
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
893
|
+
};
|
|
894
|
+
const ReEncryptionAttributesFilterSensitiveLog = (obj) => {
|
|
895
|
+
if (obj.Symmetric !== undefined)
|
|
896
|
+
return { Symmetric: SymmetricEncryptionAttributesFilterSensitiveLog(obj.Symmetric) };
|
|
897
|
+
if (obj.Dukpt !== undefined)
|
|
898
|
+
return { Dukpt: DukptEncryptionAttributesFilterSensitiveLog(obj.Dukpt) };
|
|
899
|
+
if (obj.$unknown !== undefined)
|
|
900
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
901
|
+
};
|
|
902
|
+
const ReEncryptDataInputFilterSensitiveLog = (obj) => ({
|
|
903
|
+
...obj,
|
|
904
|
+
...(obj.CipherText && { CipherText: smithyClient.SENSITIVE_STRING }),
|
|
905
|
+
...(obj.IncomingEncryptionAttributes && {
|
|
906
|
+
IncomingEncryptionAttributes: ReEncryptionAttributesFilterSensitiveLog(obj.IncomingEncryptionAttributes),
|
|
907
|
+
}),
|
|
908
|
+
...(obj.OutgoingEncryptionAttributes && {
|
|
909
|
+
OutgoingEncryptionAttributes: ReEncryptionAttributesFilterSensitiveLog(obj.OutgoingEncryptionAttributes),
|
|
910
|
+
}),
|
|
911
|
+
...(obj.IncomingWrappedKey && { IncomingWrappedKey: WrappedKeyFilterSensitiveLog(obj.IncomingWrappedKey) }),
|
|
912
|
+
...(obj.OutgoingWrappedKey && { OutgoingWrappedKey: WrappedKeyFilterSensitiveLog(obj.OutgoingWrappedKey) }),
|
|
913
|
+
});
|
|
914
|
+
const ReEncryptDataOutputFilterSensitiveLog = (obj) => ({
|
|
915
|
+
...obj,
|
|
916
|
+
...(obj.CipherText && { CipherText: smithyClient.SENSITIVE_STRING }),
|
|
917
|
+
});
|
|
918
|
+
const TranslateKeyMaterialInputFilterSensitiveLog = (obj) => ({
|
|
919
|
+
...obj,
|
|
920
|
+
...(obj.IncomingKeyMaterial && {
|
|
921
|
+
IncomingKeyMaterial: IncomingKeyMaterialFilterSensitiveLog(obj.IncomingKeyMaterial),
|
|
922
|
+
}),
|
|
923
|
+
...(obj.OutgoingKeyMaterial && { OutgoingKeyMaterial: obj.OutgoingKeyMaterial }),
|
|
924
|
+
});
|
|
925
|
+
const WrappedWorkingKeyFilterSensitiveLog = (obj) => ({
|
|
926
|
+
...obj,
|
|
927
|
+
...(obj.WrappedKeyMaterial && { WrappedKeyMaterial: smithyClient.SENSITIVE_STRING }),
|
|
928
|
+
});
|
|
929
|
+
const TranslateKeyMaterialOutputFilterSensitiveLog = (obj) => ({
|
|
930
|
+
...obj,
|
|
931
|
+
...(obj.WrappedKey && { WrappedKey: WrappedWorkingKeyFilterSensitiveLog(obj.WrappedKey) }),
|
|
932
|
+
});
|
|
933
|
+
const TranslationPinDataIsoFormat034FilterSensitiveLog = (obj) => ({
|
|
934
|
+
...obj,
|
|
935
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
936
|
+
});
|
|
937
|
+
const TranslationIsoFormatsFilterSensitiveLog = (obj) => {
|
|
938
|
+
if (obj.IsoFormat0 !== undefined)
|
|
939
|
+
return { IsoFormat0: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat0) };
|
|
940
|
+
if (obj.IsoFormat1 !== undefined)
|
|
941
|
+
return { IsoFormat1: obj.IsoFormat1 };
|
|
942
|
+
if (obj.IsoFormat3 !== undefined)
|
|
943
|
+
return { IsoFormat3: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat3) };
|
|
944
|
+
if (obj.IsoFormat4 !== undefined)
|
|
945
|
+
return { IsoFormat4: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat4) };
|
|
946
|
+
if (obj.$unknown !== undefined)
|
|
947
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
948
|
+
};
|
|
949
|
+
const TranslatePinDataInputFilterSensitiveLog = (obj) => ({
|
|
950
|
+
...obj,
|
|
951
|
+
...(obj.IncomingTranslationAttributes && {
|
|
952
|
+
IncomingTranslationAttributes: TranslationIsoFormatsFilterSensitiveLog(obj.IncomingTranslationAttributes),
|
|
953
|
+
}),
|
|
954
|
+
...(obj.OutgoingTranslationAttributes && {
|
|
955
|
+
OutgoingTranslationAttributes: TranslationIsoFormatsFilterSensitiveLog(obj.OutgoingTranslationAttributes),
|
|
956
|
+
}),
|
|
957
|
+
...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
|
|
958
|
+
...(obj.IncomingWrappedKey && { IncomingWrappedKey: WrappedKeyFilterSensitiveLog(obj.IncomingWrappedKey) }),
|
|
959
|
+
...(obj.OutgoingWrappedKey && { OutgoingWrappedKey: WrappedKeyFilterSensitiveLog(obj.OutgoingWrappedKey) }),
|
|
960
|
+
});
|
|
961
|
+
const TranslatePinDataOutputFilterSensitiveLog = (obj) => ({
|
|
962
|
+
...obj,
|
|
963
|
+
...(obj.PinBlock && { PinBlock: smithyClient.SENSITIVE_STRING }),
|
|
964
|
+
});
|
|
965
|
+
const SessionKeyAmexFilterSensitiveLog = (obj) => ({
|
|
966
|
+
...obj,
|
|
967
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
968
|
+
});
|
|
969
|
+
const SessionKeyEmv2000FilterSensitiveLog = (obj) => ({
|
|
970
|
+
...obj,
|
|
971
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
972
|
+
});
|
|
973
|
+
const SessionKeyEmvCommonFilterSensitiveLog = (obj) => ({
|
|
974
|
+
...obj,
|
|
975
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
976
|
+
});
|
|
977
|
+
const SessionKeyMastercardFilterSensitiveLog = (obj) => ({
|
|
978
|
+
...obj,
|
|
979
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
980
|
+
});
|
|
981
|
+
const SessionKeyVisaFilterSensitiveLog = (obj) => ({
|
|
982
|
+
...obj,
|
|
983
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
984
|
+
});
|
|
985
|
+
const SessionKeyDerivationFilterSensitiveLog = (obj) => {
|
|
986
|
+
if (obj.EmvCommon !== undefined)
|
|
987
|
+
return { EmvCommon: SessionKeyEmvCommonFilterSensitiveLog(obj.EmvCommon) };
|
|
988
|
+
if (obj.Mastercard !== undefined)
|
|
989
|
+
return { Mastercard: SessionKeyMastercardFilterSensitiveLog(obj.Mastercard) };
|
|
990
|
+
if (obj.Emv2000 !== undefined)
|
|
991
|
+
return { Emv2000: SessionKeyEmv2000FilterSensitiveLog(obj.Emv2000) };
|
|
992
|
+
if (obj.Amex !== undefined)
|
|
993
|
+
return { Amex: SessionKeyAmexFilterSensitiveLog(obj.Amex) };
|
|
994
|
+
if (obj.Visa !== undefined)
|
|
995
|
+
return { Visa: SessionKeyVisaFilterSensitiveLog(obj.Visa) };
|
|
996
|
+
if (obj.$unknown !== undefined)
|
|
997
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
998
|
+
};
|
|
999
|
+
const VerifyAuthRequestCryptogramInputFilterSensitiveLog = (obj) => ({
|
|
1000
|
+
...obj,
|
|
1001
|
+
...(obj.TransactionData && { TransactionData: smithyClient.SENSITIVE_STRING }),
|
|
1002
|
+
...(obj.AuthRequestCryptogram && { AuthRequestCryptogram: smithyClient.SENSITIVE_STRING }),
|
|
1003
|
+
...(obj.SessionKeyDerivationAttributes && {
|
|
1004
|
+
SessionKeyDerivationAttributes: SessionKeyDerivationFilterSensitiveLog(obj.SessionKeyDerivationAttributes),
|
|
1005
|
+
}),
|
|
1006
|
+
...(obj.AuthResponseAttributes && {
|
|
1007
|
+
AuthResponseAttributes: CryptogramAuthResponseFilterSensitiveLog(obj.AuthResponseAttributes),
|
|
1008
|
+
}),
|
|
1009
|
+
});
|
|
1010
|
+
const VerifyAuthRequestCryptogramOutputFilterSensitiveLog = (obj) => ({
|
|
1011
|
+
...obj,
|
|
1012
|
+
...(obj.AuthResponseValue && { AuthResponseValue: smithyClient.SENSITIVE_STRING }),
|
|
1013
|
+
});
|
|
1014
|
+
const VerifyCardValidationDataInputFilterSensitiveLog = (obj) => ({
|
|
1015
|
+
...obj,
|
|
1016
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
1017
|
+
...(obj.VerificationAttributes && {
|
|
1018
|
+
VerificationAttributes: CardVerificationAttributesFilterSensitiveLog(obj.VerificationAttributes),
|
|
1019
|
+
}),
|
|
1020
|
+
...(obj.ValidationData && { ValidationData: smithyClient.SENSITIVE_STRING }),
|
|
1021
|
+
});
|
|
1022
|
+
const VerifyMacInputFilterSensitiveLog = (obj) => ({
|
|
1023
|
+
...obj,
|
|
1024
|
+
...(obj.MessageData && { MessageData: smithyClient.SENSITIVE_STRING }),
|
|
1025
|
+
...(obj.Mac && { Mac: smithyClient.SENSITIVE_STRING }),
|
|
1026
|
+
...(obj.VerificationAttributes && {
|
|
1027
|
+
VerificationAttributes: MacAttributesFilterSensitiveLog(obj.VerificationAttributes),
|
|
1028
|
+
}),
|
|
1029
|
+
});
|
|
1030
|
+
const VisaPinVerificationFilterSensitiveLog = (obj) => ({
|
|
1031
|
+
...obj,
|
|
1032
|
+
...(obj.VerificationValue && { VerificationValue: smithyClient.SENSITIVE_STRING }),
|
|
1033
|
+
});
|
|
1034
|
+
const PinVerificationAttributesFilterSensitiveLog = (obj) => {
|
|
1035
|
+
if (obj.VisaPin !== undefined)
|
|
1036
|
+
return { VisaPin: VisaPinVerificationFilterSensitiveLog(obj.VisaPin) };
|
|
1037
|
+
if (obj.Ibm3624Pin !== undefined)
|
|
1038
|
+
return { Ibm3624Pin: Ibm3624PinVerificationFilterSensitiveLog(obj.Ibm3624Pin) };
|
|
1039
|
+
if (obj.$unknown !== undefined)
|
|
1040
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1041
|
+
};
|
|
1042
|
+
const VerifyPinDataInputFilterSensitiveLog = (obj) => ({
|
|
1043
|
+
...obj,
|
|
1044
|
+
...(obj.VerificationAttributes && {
|
|
1045
|
+
VerificationAttributes: PinVerificationAttributesFilterSensitiveLog(obj.VerificationAttributes),
|
|
1046
|
+
}),
|
|
1047
|
+
...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
|
|
1048
|
+
...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
|
|
1049
|
+
...(obj.EncryptionWrappedKey && { EncryptionWrappedKey: WrappedKeyFilterSensitiveLog(obj.EncryptionWrappedKey) }),
|
|
1050
|
+
});
|
|
1990
1051
|
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
(
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
1052
|
+
const se_DecryptDataCommand = async (input, context) => {
|
|
1053
|
+
const b = core.requestBuilder(input, context);
|
|
1054
|
+
const headers = {
|
|
1055
|
+
"content-type": "application/json",
|
|
1056
|
+
};
|
|
1057
|
+
b.bp("/keys/{KeyIdentifier}/decrypt");
|
|
1058
|
+
b.p("KeyIdentifier", () => input.KeyIdentifier, "{KeyIdentifier}", false);
|
|
1059
|
+
let body;
|
|
1060
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1061
|
+
CipherText: [],
|
|
1062
|
+
DecryptionAttributes: (_) => smithyClient._json(_),
|
|
1063
|
+
WrappedKey: (_) => smithyClient._json(_),
|
|
1064
|
+
}));
|
|
1065
|
+
b.m("POST").h(headers).b(body);
|
|
1066
|
+
return b.build();
|
|
1067
|
+
};
|
|
1068
|
+
const se_EncryptDataCommand = async (input, context) => {
|
|
1069
|
+
const b = core.requestBuilder(input, context);
|
|
1070
|
+
const headers = {
|
|
1071
|
+
"content-type": "application/json",
|
|
1072
|
+
};
|
|
1073
|
+
b.bp("/keys/{KeyIdentifier}/encrypt");
|
|
1074
|
+
b.p("KeyIdentifier", () => input.KeyIdentifier, "{KeyIdentifier}", false);
|
|
1075
|
+
let body;
|
|
1076
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1077
|
+
EncryptionAttributes: (_) => smithyClient._json(_),
|
|
1078
|
+
PlainText: [],
|
|
1079
|
+
WrappedKey: (_) => smithyClient._json(_),
|
|
1080
|
+
}));
|
|
1081
|
+
b.m("POST").h(headers).b(body);
|
|
1082
|
+
return b.build();
|
|
1083
|
+
};
|
|
1084
|
+
const se_GenerateCardValidationDataCommand = async (input, context) => {
|
|
1085
|
+
const b = core.requestBuilder(input, context);
|
|
1086
|
+
const headers = {
|
|
1087
|
+
"content-type": "application/json",
|
|
1088
|
+
};
|
|
1089
|
+
b.bp("/cardvalidationdata/generate");
|
|
1090
|
+
let body;
|
|
1091
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1092
|
+
GenerationAttributes: (_) => smithyClient._json(_),
|
|
1093
|
+
KeyIdentifier: [],
|
|
1094
|
+
PrimaryAccountNumber: [],
|
|
1095
|
+
ValidationDataLength: [],
|
|
1096
|
+
}));
|
|
1097
|
+
b.m("POST").h(headers).b(body);
|
|
1098
|
+
return b.build();
|
|
1099
|
+
};
|
|
1100
|
+
const se_GenerateMacCommand = async (input, context) => {
|
|
1101
|
+
const b = core.requestBuilder(input, context);
|
|
1102
|
+
const headers = {
|
|
1103
|
+
"content-type": "application/json",
|
|
1104
|
+
};
|
|
1105
|
+
b.bp("/mac/generate");
|
|
1106
|
+
let body;
|
|
1107
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1108
|
+
GenerationAttributes: (_) => smithyClient._json(_),
|
|
1109
|
+
KeyIdentifier: [],
|
|
1110
|
+
MacLength: [],
|
|
1111
|
+
MessageData: [],
|
|
1112
|
+
}));
|
|
1113
|
+
b.m("POST").h(headers).b(body);
|
|
1114
|
+
return b.build();
|
|
1115
|
+
};
|
|
1116
|
+
const se_GenerateMacEmvPinChangeCommand = async (input, context) => {
|
|
1117
|
+
const b = core.requestBuilder(input, context);
|
|
1118
|
+
const headers = {
|
|
1119
|
+
"content-type": "application/json",
|
|
1120
|
+
};
|
|
1121
|
+
b.bp("/macemvpinchange/generate");
|
|
1122
|
+
let body;
|
|
1123
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1124
|
+
DerivationMethodAttributes: (_) => smithyClient._json(_),
|
|
1125
|
+
MessageData: [],
|
|
1126
|
+
NewEncryptedPinBlock: [],
|
|
1127
|
+
NewPinPekIdentifier: [],
|
|
1128
|
+
PinBlockFormat: [],
|
|
1129
|
+
SecureMessagingConfidentialityKeyIdentifier: [],
|
|
1130
|
+
SecureMessagingIntegrityKeyIdentifier: [],
|
|
1131
|
+
}));
|
|
1132
|
+
b.m("POST").h(headers).b(body);
|
|
1133
|
+
return b.build();
|
|
1134
|
+
};
|
|
1135
|
+
const se_GeneratePinDataCommand = async (input, context) => {
|
|
1136
|
+
const b = core.requestBuilder(input, context);
|
|
1137
|
+
const headers = {
|
|
1138
|
+
"content-type": "application/json",
|
|
1139
|
+
};
|
|
1140
|
+
b.bp("/pindata/generate");
|
|
1141
|
+
let body;
|
|
1142
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1143
|
+
EncryptionKeyIdentifier: [],
|
|
1144
|
+
EncryptionWrappedKey: (_) => smithyClient._json(_),
|
|
1145
|
+
GenerationAttributes: (_) => smithyClient._json(_),
|
|
1146
|
+
GenerationKeyIdentifier: [],
|
|
1147
|
+
PinBlockFormat: [],
|
|
1148
|
+
PinDataLength: [],
|
|
1149
|
+
PrimaryAccountNumber: [],
|
|
1150
|
+
}));
|
|
1151
|
+
b.m("POST").h(headers).b(body);
|
|
1152
|
+
return b.build();
|
|
1153
|
+
};
|
|
1154
|
+
const se_ReEncryptDataCommand = async (input, context) => {
|
|
1155
|
+
const b = core.requestBuilder(input, context);
|
|
1156
|
+
const headers = {
|
|
1157
|
+
"content-type": "application/json",
|
|
1158
|
+
};
|
|
1159
|
+
b.bp("/keys/{IncomingKeyIdentifier}/reencrypt");
|
|
1160
|
+
b.p("IncomingKeyIdentifier", () => input.IncomingKeyIdentifier, "{IncomingKeyIdentifier}", false);
|
|
1161
|
+
let body;
|
|
1162
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1163
|
+
CipherText: [],
|
|
1164
|
+
IncomingEncryptionAttributes: (_) => smithyClient._json(_),
|
|
1165
|
+
IncomingWrappedKey: (_) => smithyClient._json(_),
|
|
1166
|
+
OutgoingEncryptionAttributes: (_) => smithyClient._json(_),
|
|
1167
|
+
OutgoingKeyIdentifier: [],
|
|
1168
|
+
OutgoingWrappedKey: (_) => smithyClient._json(_),
|
|
1169
|
+
}));
|
|
1170
|
+
b.m("POST").h(headers).b(body);
|
|
1171
|
+
return b.build();
|
|
2004
1172
|
};
|
|
1173
|
+
const se_TranslateKeyMaterialCommand = async (input, context) => {
|
|
1174
|
+
const b = core.requestBuilder(input, context);
|
|
1175
|
+
const headers = {
|
|
1176
|
+
"content-type": "application/json",
|
|
1177
|
+
};
|
|
1178
|
+
b.bp("/keymaterial/translate");
|
|
1179
|
+
let body;
|
|
1180
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1181
|
+
IncomingKeyMaterial: (_) => smithyClient._json(_),
|
|
1182
|
+
KeyCheckValueAlgorithm: [],
|
|
1183
|
+
OutgoingKeyMaterial: (_) => smithyClient._json(_),
|
|
1184
|
+
}));
|
|
1185
|
+
b.m("POST").h(headers).b(body);
|
|
1186
|
+
return b.build();
|
|
1187
|
+
};
|
|
1188
|
+
const se_TranslatePinDataCommand = async (input, context) => {
|
|
1189
|
+
const b = core.requestBuilder(input, context);
|
|
1190
|
+
const headers = {
|
|
1191
|
+
"content-type": "application/json",
|
|
1192
|
+
};
|
|
1193
|
+
b.bp("/pindata/translate");
|
|
1194
|
+
let body;
|
|
1195
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1196
|
+
EncryptedPinBlock: [],
|
|
1197
|
+
IncomingDukptAttributes: (_) => smithyClient._json(_),
|
|
1198
|
+
IncomingKeyIdentifier: [],
|
|
1199
|
+
IncomingTranslationAttributes: (_) => smithyClient._json(_),
|
|
1200
|
+
IncomingWrappedKey: (_) => smithyClient._json(_),
|
|
1201
|
+
OutgoingDukptAttributes: (_) => smithyClient._json(_),
|
|
1202
|
+
OutgoingKeyIdentifier: [],
|
|
1203
|
+
OutgoingTranslationAttributes: (_) => smithyClient._json(_),
|
|
1204
|
+
OutgoingWrappedKey: (_) => smithyClient._json(_),
|
|
1205
|
+
}));
|
|
1206
|
+
b.m("POST").h(headers).b(body);
|
|
1207
|
+
return b.build();
|
|
1208
|
+
};
|
|
1209
|
+
const se_VerifyAuthRequestCryptogramCommand = async (input, context) => {
|
|
1210
|
+
const b = core.requestBuilder(input, context);
|
|
1211
|
+
const headers = {
|
|
1212
|
+
"content-type": "application/json",
|
|
1213
|
+
};
|
|
1214
|
+
b.bp("/cryptogram/verify");
|
|
1215
|
+
let body;
|
|
1216
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1217
|
+
AuthRequestCryptogram: [],
|
|
1218
|
+
AuthResponseAttributes: (_) => smithyClient._json(_),
|
|
1219
|
+
KeyIdentifier: [],
|
|
1220
|
+
MajorKeyDerivationMode: [],
|
|
1221
|
+
SessionKeyDerivationAttributes: (_) => smithyClient._json(_),
|
|
1222
|
+
TransactionData: [],
|
|
1223
|
+
}));
|
|
1224
|
+
b.m("POST").h(headers).b(body);
|
|
1225
|
+
return b.build();
|
|
1226
|
+
};
|
|
1227
|
+
const se_VerifyCardValidationDataCommand = async (input, context) => {
|
|
1228
|
+
const b = core.requestBuilder(input, context);
|
|
1229
|
+
const headers = {
|
|
1230
|
+
"content-type": "application/json",
|
|
1231
|
+
};
|
|
1232
|
+
b.bp("/cardvalidationdata/verify");
|
|
1233
|
+
let body;
|
|
1234
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1235
|
+
KeyIdentifier: [],
|
|
1236
|
+
PrimaryAccountNumber: [],
|
|
1237
|
+
ValidationData: [],
|
|
1238
|
+
VerificationAttributes: (_) => smithyClient._json(_),
|
|
1239
|
+
}));
|
|
1240
|
+
b.m("POST").h(headers).b(body);
|
|
1241
|
+
return b.build();
|
|
1242
|
+
};
|
|
1243
|
+
const se_VerifyMacCommand = async (input, context) => {
|
|
1244
|
+
const b = core.requestBuilder(input, context);
|
|
1245
|
+
const headers = {
|
|
1246
|
+
"content-type": "application/json",
|
|
1247
|
+
};
|
|
1248
|
+
b.bp("/mac/verify");
|
|
1249
|
+
let body;
|
|
1250
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1251
|
+
KeyIdentifier: [],
|
|
1252
|
+
Mac: [],
|
|
1253
|
+
MacLength: [],
|
|
1254
|
+
MessageData: [],
|
|
1255
|
+
VerificationAttributes: (_) => smithyClient._json(_),
|
|
1256
|
+
}));
|
|
1257
|
+
b.m("POST").h(headers).b(body);
|
|
1258
|
+
return b.build();
|
|
1259
|
+
};
|
|
1260
|
+
const se_VerifyPinDataCommand = async (input, context) => {
|
|
1261
|
+
const b = core.requestBuilder(input, context);
|
|
1262
|
+
const headers = {
|
|
1263
|
+
"content-type": "application/json",
|
|
1264
|
+
};
|
|
1265
|
+
b.bp("/pindata/verify");
|
|
1266
|
+
let body;
|
|
1267
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1268
|
+
DukptAttributes: (_) => smithyClient._json(_),
|
|
1269
|
+
EncryptedPinBlock: [],
|
|
1270
|
+
EncryptionKeyIdentifier: [],
|
|
1271
|
+
EncryptionWrappedKey: (_) => smithyClient._json(_),
|
|
1272
|
+
PinBlockFormat: [],
|
|
1273
|
+
PinDataLength: [],
|
|
1274
|
+
PrimaryAccountNumber: [],
|
|
1275
|
+
VerificationAttributes: (_) => smithyClient._json(_),
|
|
1276
|
+
VerificationKeyIdentifier: [],
|
|
1277
|
+
}));
|
|
1278
|
+
b.m("POST").h(headers).b(body);
|
|
1279
|
+
return b.build();
|
|
1280
|
+
};
|
|
1281
|
+
const de_DecryptDataCommand = async (output, context) => {
|
|
1282
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1283
|
+
return de_CommandError(output, context);
|
|
1284
|
+
}
|
|
1285
|
+
const contents = smithyClient.map({
|
|
1286
|
+
$metadata: deserializeMetadata(output),
|
|
1287
|
+
});
|
|
1288
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1289
|
+
const doc = smithyClient.take(data, {
|
|
1290
|
+
KeyArn: smithyClient.expectString,
|
|
1291
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1292
|
+
PlainText: smithyClient.expectString,
|
|
1293
|
+
});
|
|
1294
|
+
Object.assign(contents, doc);
|
|
1295
|
+
return contents;
|
|
1296
|
+
};
|
|
1297
|
+
const de_EncryptDataCommand = async (output, context) => {
|
|
1298
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1299
|
+
return de_CommandError(output, context);
|
|
1300
|
+
}
|
|
1301
|
+
const contents = smithyClient.map({
|
|
1302
|
+
$metadata: deserializeMetadata(output),
|
|
1303
|
+
});
|
|
1304
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1305
|
+
const doc = smithyClient.take(data, {
|
|
1306
|
+
CipherText: smithyClient.expectString,
|
|
1307
|
+
KeyArn: smithyClient.expectString,
|
|
1308
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1309
|
+
});
|
|
1310
|
+
Object.assign(contents, doc);
|
|
1311
|
+
return contents;
|
|
1312
|
+
};
|
|
1313
|
+
const de_GenerateCardValidationDataCommand = async (output, context) => {
|
|
1314
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1315
|
+
return de_CommandError(output, context);
|
|
1316
|
+
}
|
|
1317
|
+
const contents = smithyClient.map({
|
|
1318
|
+
$metadata: deserializeMetadata(output),
|
|
1319
|
+
});
|
|
1320
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1321
|
+
const doc = smithyClient.take(data, {
|
|
1322
|
+
KeyArn: smithyClient.expectString,
|
|
1323
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1324
|
+
ValidationData: smithyClient.expectString,
|
|
1325
|
+
});
|
|
1326
|
+
Object.assign(contents, doc);
|
|
1327
|
+
return contents;
|
|
1328
|
+
};
|
|
1329
|
+
const de_GenerateMacCommand = async (output, context) => {
|
|
1330
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1331
|
+
return de_CommandError(output, context);
|
|
1332
|
+
}
|
|
1333
|
+
const contents = smithyClient.map({
|
|
1334
|
+
$metadata: deserializeMetadata(output),
|
|
1335
|
+
});
|
|
1336
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1337
|
+
const doc = smithyClient.take(data, {
|
|
1338
|
+
KeyArn: smithyClient.expectString,
|
|
1339
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1340
|
+
Mac: smithyClient.expectString,
|
|
1341
|
+
});
|
|
1342
|
+
Object.assign(contents, doc);
|
|
1343
|
+
return contents;
|
|
1344
|
+
};
|
|
1345
|
+
const de_GenerateMacEmvPinChangeCommand = async (output, context) => {
|
|
1346
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1347
|
+
return de_CommandError(output, context);
|
|
1348
|
+
}
|
|
1349
|
+
const contents = smithyClient.map({
|
|
1350
|
+
$metadata: deserializeMetadata(output),
|
|
1351
|
+
});
|
|
1352
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1353
|
+
const doc = smithyClient.take(data, {
|
|
1354
|
+
EncryptedPinBlock: smithyClient.expectString,
|
|
1355
|
+
Mac: smithyClient.expectString,
|
|
1356
|
+
NewPinPekArn: smithyClient.expectString,
|
|
1357
|
+
NewPinPekKeyCheckValue: smithyClient.expectString,
|
|
1358
|
+
SecureMessagingConfidentialityKeyArn: smithyClient.expectString,
|
|
1359
|
+
SecureMessagingConfidentialityKeyCheckValue: smithyClient.expectString,
|
|
1360
|
+
SecureMessagingIntegrityKeyArn: smithyClient.expectString,
|
|
1361
|
+
SecureMessagingIntegrityKeyCheckValue: smithyClient.expectString,
|
|
1362
|
+
VisaAmexDerivationOutputs: smithyClient._json,
|
|
1363
|
+
});
|
|
1364
|
+
Object.assign(contents, doc);
|
|
1365
|
+
return contents;
|
|
1366
|
+
};
|
|
1367
|
+
const de_GeneratePinDataCommand = async (output, context) => {
|
|
1368
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1369
|
+
return de_CommandError(output, context);
|
|
1370
|
+
}
|
|
1371
|
+
const contents = smithyClient.map({
|
|
1372
|
+
$metadata: deserializeMetadata(output),
|
|
1373
|
+
});
|
|
1374
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1375
|
+
const doc = smithyClient.take(data, {
|
|
1376
|
+
EncryptedPinBlock: smithyClient.expectString,
|
|
1377
|
+
EncryptionKeyArn: smithyClient.expectString,
|
|
1378
|
+
EncryptionKeyCheckValue: smithyClient.expectString,
|
|
1379
|
+
GenerationKeyArn: smithyClient.expectString,
|
|
1380
|
+
GenerationKeyCheckValue: smithyClient.expectString,
|
|
1381
|
+
PinData: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1382
|
+
});
|
|
1383
|
+
Object.assign(contents, doc);
|
|
1384
|
+
return contents;
|
|
1385
|
+
};
|
|
1386
|
+
const de_ReEncryptDataCommand = async (output, context) => {
|
|
1387
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1388
|
+
return de_CommandError(output, context);
|
|
1389
|
+
}
|
|
1390
|
+
const contents = smithyClient.map({
|
|
1391
|
+
$metadata: deserializeMetadata(output),
|
|
1392
|
+
});
|
|
1393
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1394
|
+
const doc = smithyClient.take(data, {
|
|
1395
|
+
CipherText: smithyClient.expectString,
|
|
1396
|
+
KeyArn: smithyClient.expectString,
|
|
1397
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1398
|
+
});
|
|
1399
|
+
Object.assign(contents, doc);
|
|
1400
|
+
return contents;
|
|
1401
|
+
};
|
|
1402
|
+
const de_TranslateKeyMaterialCommand = async (output, context) => {
|
|
1403
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1404
|
+
return de_CommandError(output, context);
|
|
1405
|
+
}
|
|
1406
|
+
const contents = smithyClient.map({
|
|
1407
|
+
$metadata: deserializeMetadata(output),
|
|
1408
|
+
});
|
|
1409
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1410
|
+
const doc = smithyClient.take(data, {
|
|
1411
|
+
WrappedKey: smithyClient._json,
|
|
1412
|
+
});
|
|
1413
|
+
Object.assign(contents, doc);
|
|
1414
|
+
return contents;
|
|
1415
|
+
};
|
|
1416
|
+
const de_TranslatePinDataCommand = async (output, context) => {
|
|
1417
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1418
|
+
return de_CommandError(output, context);
|
|
1419
|
+
}
|
|
1420
|
+
const contents = smithyClient.map({
|
|
1421
|
+
$metadata: deserializeMetadata(output),
|
|
1422
|
+
});
|
|
1423
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1424
|
+
const doc = smithyClient.take(data, {
|
|
1425
|
+
KeyArn: smithyClient.expectString,
|
|
1426
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1427
|
+
PinBlock: smithyClient.expectString,
|
|
1428
|
+
});
|
|
1429
|
+
Object.assign(contents, doc);
|
|
1430
|
+
return contents;
|
|
1431
|
+
};
|
|
1432
|
+
const de_VerifyAuthRequestCryptogramCommand = async (output, context) => {
|
|
1433
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1434
|
+
return de_CommandError(output, context);
|
|
1435
|
+
}
|
|
1436
|
+
const contents = smithyClient.map({
|
|
1437
|
+
$metadata: deserializeMetadata(output),
|
|
1438
|
+
});
|
|
1439
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1440
|
+
const doc = smithyClient.take(data, {
|
|
1441
|
+
AuthResponseValue: smithyClient.expectString,
|
|
1442
|
+
KeyArn: smithyClient.expectString,
|
|
1443
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1444
|
+
});
|
|
1445
|
+
Object.assign(contents, doc);
|
|
1446
|
+
return contents;
|
|
1447
|
+
};
|
|
1448
|
+
const de_VerifyCardValidationDataCommand = async (output, context) => {
|
|
1449
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1450
|
+
return de_CommandError(output, context);
|
|
1451
|
+
}
|
|
1452
|
+
const contents = smithyClient.map({
|
|
1453
|
+
$metadata: deserializeMetadata(output),
|
|
1454
|
+
});
|
|
1455
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1456
|
+
const doc = smithyClient.take(data, {
|
|
1457
|
+
KeyArn: smithyClient.expectString,
|
|
1458
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1459
|
+
});
|
|
1460
|
+
Object.assign(contents, doc);
|
|
1461
|
+
return contents;
|
|
1462
|
+
};
|
|
1463
|
+
const de_VerifyMacCommand = async (output, context) => {
|
|
1464
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1465
|
+
return de_CommandError(output, context);
|
|
1466
|
+
}
|
|
1467
|
+
const contents = smithyClient.map({
|
|
1468
|
+
$metadata: deserializeMetadata(output),
|
|
1469
|
+
});
|
|
1470
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1471
|
+
const doc = smithyClient.take(data, {
|
|
1472
|
+
KeyArn: smithyClient.expectString,
|
|
1473
|
+
KeyCheckValue: smithyClient.expectString,
|
|
1474
|
+
});
|
|
1475
|
+
Object.assign(contents, doc);
|
|
1476
|
+
return contents;
|
|
1477
|
+
};
|
|
1478
|
+
const de_VerifyPinDataCommand = async (output, context) => {
|
|
1479
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1480
|
+
return de_CommandError(output, context);
|
|
1481
|
+
}
|
|
1482
|
+
const contents = smithyClient.map({
|
|
1483
|
+
$metadata: deserializeMetadata(output),
|
|
1484
|
+
});
|
|
1485
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1486
|
+
const doc = smithyClient.take(data, {
|
|
1487
|
+
EncryptionKeyArn: smithyClient.expectString,
|
|
1488
|
+
EncryptionKeyCheckValue: smithyClient.expectString,
|
|
1489
|
+
VerificationKeyArn: smithyClient.expectString,
|
|
1490
|
+
VerificationKeyCheckValue: smithyClient.expectString,
|
|
1491
|
+
});
|
|
1492
|
+
Object.assign(contents, doc);
|
|
1493
|
+
return contents;
|
|
1494
|
+
};
|
|
1495
|
+
const de_CommandError = async (output, context) => {
|
|
1496
|
+
const parsedOutput = {
|
|
1497
|
+
...output,
|
|
1498
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1499
|
+
};
|
|
1500
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1501
|
+
switch (errorCode) {
|
|
1502
|
+
case "AccessDeniedException":
|
|
1503
|
+
case "com.amazonaws.paymentcryptographydata#AccessDeniedException":
|
|
1504
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1505
|
+
case "InternalServerException":
|
|
1506
|
+
case "com.amazonaws.paymentcryptographydata#InternalServerException":
|
|
1507
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1508
|
+
case "ResourceNotFoundException":
|
|
1509
|
+
case "com.amazonaws.paymentcryptographydata#ResourceNotFoundException":
|
|
1510
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1511
|
+
case "ThrottlingException":
|
|
1512
|
+
case "com.amazonaws.paymentcryptographydata#ThrottlingException":
|
|
1513
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1514
|
+
case "ValidationException":
|
|
1515
|
+
case "com.amazonaws.paymentcryptographydata#ValidationException":
|
|
1516
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1517
|
+
case "VerificationFailedException":
|
|
1518
|
+
case "com.amazonaws.paymentcryptographydata#VerificationFailedException":
|
|
1519
|
+
throw await de_VerificationFailedExceptionRes(parsedOutput);
|
|
1520
|
+
default:
|
|
1521
|
+
const parsedBody = parsedOutput.body;
|
|
1522
|
+
return throwDefaultError({
|
|
1523
|
+
output,
|
|
1524
|
+
parsedBody,
|
|
1525
|
+
errorCode,
|
|
1526
|
+
});
|
|
1527
|
+
}
|
|
1528
|
+
};
|
|
1529
|
+
const throwDefaultError = smithyClient.withBaseException(PaymentCryptographyDataServiceException);
|
|
1530
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1531
|
+
const contents = smithyClient.map({});
|
|
1532
|
+
const data = parsedOutput.body;
|
|
1533
|
+
const doc = smithyClient.take(data, {
|
|
1534
|
+
Message: smithyClient.expectString,
|
|
1535
|
+
});
|
|
1536
|
+
Object.assign(contents, doc);
|
|
1537
|
+
const exception = new AccessDeniedException({
|
|
1538
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1539
|
+
...contents,
|
|
1540
|
+
});
|
|
1541
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1542
|
+
};
|
|
1543
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1544
|
+
const contents = smithyClient.map({});
|
|
1545
|
+
const data = parsedOutput.body;
|
|
1546
|
+
const doc = smithyClient.take(data, {
|
|
1547
|
+
Message: smithyClient.expectString,
|
|
1548
|
+
});
|
|
1549
|
+
Object.assign(contents, doc);
|
|
1550
|
+
const exception = new InternalServerException({
|
|
1551
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1552
|
+
...contents,
|
|
1553
|
+
});
|
|
1554
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1555
|
+
};
|
|
1556
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1557
|
+
const contents = smithyClient.map({});
|
|
1558
|
+
const data = parsedOutput.body;
|
|
1559
|
+
const doc = smithyClient.take(data, {
|
|
1560
|
+
ResourceId: smithyClient.expectString,
|
|
1561
|
+
});
|
|
1562
|
+
Object.assign(contents, doc);
|
|
1563
|
+
const exception = new ResourceNotFoundException({
|
|
1564
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1565
|
+
...contents,
|
|
1566
|
+
});
|
|
1567
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1568
|
+
};
|
|
1569
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1570
|
+
const contents = smithyClient.map({});
|
|
1571
|
+
const data = parsedOutput.body;
|
|
1572
|
+
const doc = smithyClient.take(data, {
|
|
1573
|
+
Message: smithyClient.expectString,
|
|
1574
|
+
});
|
|
1575
|
+
Object.assign(contents, doc);
|
|
1576
|
+
const exception = new ThrottlingException({
|
|
1577
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1578
|
+
...contents,
|
|
1579
|
+
});
|
|
1580
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1581
|
+
};
|
|
1582
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1583
|
+
const contents = smithyClient.map({});
|
|
1584
|
+
const data = parsedOutput.body;
|
|
1585
|
+
const doc = smithyClient.take(data, {
|
|
1586
|
+
fieldList: smithyClient._json,
|
|
1587
|
+
message: smithyClient.expectString,
|
|
1588
|
+
});
|
|
1589
|
+
Object.assign(contents, doc);
|
|
1590
|
+
const exception = new ValidationException({
|
|
1591
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1592
|
+
...contents,
|
|
1593
|
+
});
|
|
1594
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1595
|
+
};
|
|
1596
|
+
const de_VerificationFailedExceptionRes = async (parsedOutput, context) => {
|
|
1597
|
+
const contents = smithyClient.map({});
|
|
1598
|
+
const data = parsedOutput.body;
|
|
1599
|
+
const doc = smithyClient.take(data, {
|
|
1600
|
+
Message: smithyClient.expectString,
|
|
1601
|
+
Reason: smithyClient.expectString,
|
|
1602
|
+
});
|
|
1603
|
+
Object.assign(contents, doc);
|
|
1604
|
+
const exception = new VerificationFailedException({
|
|
1605
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1606
|
+
...contents,
|
|
1607
|
+
});
|
|
1608
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1609
|
+
};
|
|
1610
|
+
const deserializeMetadata = (output) => ({
|
|
1611
|
+
httpStatusCode: output.statusCode,
|
|
1612
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1613
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1614
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1615
|
+
});
|
|
2005
1616
|
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
}
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
1617
|
+
class DecryptDataCommand extends smithyClient.Command
|
|
1618
|
+
.classBuilder()
|
|
1619
|
+
.ep(commonParams)
|
|
1620
|
+
.m(function (Command, cs, config, o) {
|
|
1621
|
+
return [
|
|
1622
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1623
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1624
|
+
];
|
|
1625
|
+
})
|
|
1626
|
+
.s("PaymentCryptographyDataPlane", "DecryptData", {})
|
|
1627
|
+
.n("PaymentCryptographyDataClient", "DecryptDataCommand")
|
|
1628
|
+
.f(DecryptDataInputFilterSensitiveLog, DecryptDataOutputFilterSensitiveLog)
|
|
1629
|
+
.ser(se_DecryptDataCommand)
|
|
1630
|
+
.de(de_DecryptDataCommand)
|
|
1631
|
+
.build() {
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
class EncryptDataCommand extends smithyClient.Command
|
|
1635
|
+
.classBuilder()
|
|
1636
|
+
.ep(commonParams)
|
|
1637
|
+
.m(function (Command, cs, config, o) {
|
|
1638
|
+
return [
|
|
1639
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1640
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1641
|
+
];
|
|
1642
|
+
})
|
|
1643
|
+
.s("PaymentCryptographyDataPlane", "EncryptData", {})
|
|
1644
|
+
.n("PaymentCryptographyDataClient", "EncryptDataCommand")
|
|
1645
|
+
.f(EncryptDataInputFilterSensitiveLog, EncryptDataOutputFilterSensitiveLog)
|
|
1646
|
+
.ser(se_EncryptDataCommand)
|
|
1647
|
+
.de(de_EncryptDataCommand)
|
|
1648
|
+
.build() {
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
class GenerateCardValidationDataCommand extends smithyClient.Command
|
|
1652
|
+
.classBuilder()
|
|
1653
|
+
.ep(commonParams)
|
|
1654
|
+
.m(function (Command, cs, config, o) {
|
|
1655
|
+
return [
|
|
1656
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1657
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1658
|
+
];
|
|
1659
|
+
})
|
|
1660
|
+
.s("PaymentCryptographyDataPlane", "GenerateCardValidationData", {})
|
|
1661
|
+
.n("PaymentCryptographyDataClient", "GenerateCardValidationDataCommand")
|
|
1662
|
+
.f(GenerateCardValidationDataInputFilterSensitiveLog, GenerateCardValidationDataOutputFilterSensitiveLog)
|
|
1663
|
+
.ser(se_GenerateCardValidationDataCommand)
|
|
1664
|
+
.de(de_GenerateCardValidationDataCommand)
|
|
1665
|
+
.build() {
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
class GenerateMacCommand extends smithyClient.Command
|
|
1669
|
+
.classBuilder()
|
|
1670
|
+
.ep(commonParams)
|
|
1671
|
+
.m(function (Command, cs, config, o) {
|
|
1672
|
+
return [
|
|
1673
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1674
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1675
|
+
];
|
|
1676
|
+
})
|
|
1677
|
+
.s("PaymentCryptographyDataPlane", "GenerateMac", {})
|
|
1678
|
+
.n("PaymentCryptographyDataClient", "GenerateMacCommand")
|
|
1679
|
+
.f(GenerateMacInputFilterSensitiveLog, GenerateMacOutputFilterSensitiveLog)
|
|
1680
|
+
.ser(se_GenerateMacCommand)
|
|
1681
|
+
.de(de_GenerateMacCommand)
|
|
1682
|
+
.build() {
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
class GenerateMacEmvPinChangeCommand extends smithyClient.Command
|
|
1686
|
+
.classBuilder()
|
|
1687
|
+
.ep(commonParams)
|
|
1688
|
+
.m(function (Command, cs, config, o) {
|
|
1689
|
+
return [
|
|
1690
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1691
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1692
|
+
];
|
|
1693
|
+
})
|
|
1694
|
+
.s("PaymentCryptographyDataPlane", "GenerateMacEmvPinChange", {})
|
|
1695
|
+
.n("PaymentCryptographyDataClient", "GenerateMacEmvPinChangeCommand")
|
|
1696
|
+
.f(GenerateMacEmvPinChangeInputFilterSensitiveLog, GenerateMacEmvPinChangeOutputFilterSensitiveLog)
|
|
1697
|
+
.ser(se_GenerateMacEmvPinChangeCommand)
|
|
1698
|
+
.de(de_GenerateMacEmvPinChangeCommand)
|
|
1699
|
+
.build() {
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
class GeneratePinDataCommand extends smithyClient.Command
|
|
1703
|
+
.classBuilder()
|
|
1704
|
+
.ep(commonParams)
|
|
1705
|
+
.m(function (Command, cs, config, o) {
|
|
1706
|
+
return [
|
|
1707
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1708
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1709
|
+
];
|
|
1710
|
+
})
|
|
1711
|
+
.s("PaymentCryptographyDataPlane", "GeneratePinData", {})
|
|
1712
|
+
.n("PaymentCryptographyDataClient", "GeneratePinDataCommand")
|
|
1713
|
+
.f(GeneratePinDataInputFilterSensitiveLog, GeneratePinDataOutputFilterSensitiveLog)
|
|
1714
|
+
.ser(se_GeneratePinDataCommand)
|
|
1715
|
+
.de(de_GeneratePinDataCommand)
|
|
1716
|
+
.build() {
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
class ReEncryptDataCommand extends smithyClient.Command
|
|
1720
|
+
.classBuilder()
|
|
1721
|
+
.ep(commonParams)
|
|
1722
|
+
.m(function (Command, cs, config, o) {
|
|
1723
|
+
return [
|
|
1724
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1725
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1726
|
+
];
|
|
1727
|
+
})
|
|
1728
|
+
.s("PaymentCryptographyDataPlane", "ReEncryptData", {})
|
|
1729
|
+
.n("PaymentCryptographyDataClient", "ReEncryptDataCommand")
|
|
1730
|
+
.f(ReEncryptDataInputFilterSensitiveLog, ReEncryptDataOutputFilterSensitiveLog)
|
|
1731
|
+
.ser(se_ReEncryptDataCommand)
|
|
1732
|
+
.de(de_ReEncryptDataCommand)
|
|
1733
|
+
.build() {
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
class TranslateKeyMaterialCommand extends smithyClient.Command
|
|
1737
|
+
.classBuilder()
|
|
1738
|
+
.ep(commonParams)
|
|
1739
|
+
.m(function (Command, cs, config, o) {
|
|
1740
|
+
return [
|
|
1741
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1742
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1743
|
+
];
|
|
1744
|
+
})
|
|
1745
|
+
.s("PaymentCryptographyDataPlane", "TranslateKeyMaterial", {})
|
|
1746
|
+
.n("PaymentCryptographyDataClient", "TranslateKeyMaterialCommand")
|
|
1747
|
+
.f(TranslateKeyMaterialInputFilterSensitiveLog, TranslateKeyMaterialOutputFilterSensitiveLog)
|
|
1748
|
+
.ser(se_TranslateKeyMaterialCommand)
|
|
1749
|
+
.de(de_TranslateKeyMaterialCommand)
|
|
1750
|
+
.build() {
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
class TranslatePinDataCommand extends smithyClient.Command
|
|
1754
|
+
.classBuilder()
|
|
1755
|
+
.ep(commonParams)
|
|
1756
|
+
.m(function (Command, cs, config, o) {
|
|
1757
|
+
return [
|
|
1758
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1759
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1760
|
+
];
|
|
1761
|
+
})
|
|
1762
|
+
.s("PaymentCryptographyDataPlane", "TranslatePinData", {})
|
|
1763
|
+
.n("PaymentCryptographyDataClient", "TranslatePinDataCommand")
|
|
1764
|
+
.f(TranslatePinDataInputFilterSensitiveLog, TranslatePinDataOutputFilterSensitiveLog)
|
|
1765
|
+
.ser(se_TranslatePinDataCommand)
|
|
1766
|
+
.de(de_TranslatePinDataCommand)
|
|
1767
|
+
.build() {
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
class VerifyAuthRequestCryptogramCommand extends smithyClient.Command
|
|
1771
|
+
.classBuilder()
|
|
1772
|
+
.ep(commonParams)
|
|
1773
|
+
.m(function (Command, cs, config, o) {
|
|
1774
|
+
return [
|
|
1775
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1776
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1777
|
+
];
|
|
1778
|
+
})
|
|
1779
|
+
.s("PaymentCryptographyDataPlane", "VerifyAuthRequestCryptogram", {})
|
|
1780
|
+
.n("PaymentCryptographyDataClient", "VerifyAuthRequestCryptogramCommand")
|
|
1781
|
+
.f(VerifyAuthRequestCryptogramInputFilterSensitiveLog, VerifyAuthRequestCryptogramOutputFilterSensitiveLog)
|
|
1782
|
+
.ser(se_VerifyAuthRequestCryptogramCommand)
|
|
1783
|
+
.de(de_VerifyAuthRequestCryptogramCommand)
|
|
1784
|
+
.build() {
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
class VerifyCardValidationDataCommand extends smithyClient.Command
|
|
1788
|
+
.classBuilder()
|
|
1789
|
+
.ep(commonParams)
|
|
1790
|
+
.m(function (Command, cs, config, o) {
|
|
1791
|
+
return [
|
|
1792
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1793
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1794
|
+
];
|
|
1795
|
+
})
|
|
1796
|
+
.s("PaymentCryptographyDataPlane", "VerifyCardValidationData", {})
|
|
1797
|
+
.n("PaymentCryptographyDataClient", "VerifyCardValidationDataCommand")
|
|
1798
|
+
.f(VerifyCardValidationDataInputFilterSensitiveLog, void 0)
|
|
1799
|
+
.ser(se_VerifyCardValidationDataCommand)
|
|
1800
|
+
.de(de_VerifyCardValidationDataCommand)
|
|
1801
|
+
.build() {
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
class VerifyMacCommand extends smithyClient.Command
|
|
1805
|
+
.classBuilder()
|
|
1806
|
+
.ep(commonParams)
|
|
1807
|
+
.m(function (Command, cs, config, o) {
|
|
1808
|
+
return [
|
|
1809
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1810
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1811
|
+
];
|
|
1812
|
+
})
|
|
1813
|
+
.s("PaymentCryptographyDataPlane", "VerifyMac", {})
|
|
1814
|
+
.n("PaymentCryptographyDataClient", "VerifyMacCommand")
|
|
1815
|
+
.f(VerifyMacInputFilterSensitiveLog, void 0)
|
|
1816
|
+
.ser(se_VerifyMacCommand)
|
|
1817
|
+
.de(de_VerifyMacCommand)
|
|
1818
|
+
.build() {
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
class VerifyPinDataCommand extends smithyClient.Command
|
|
1822
|
+
.classBuilder()
|
|
1823
|
+
.ep(commonParams)
|
|
1824
|
+
.m(function (Command, cs, config, o) {
|
|
1825
|
+
return [
|
|
1826
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1827
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1828
|
+
];
|
|
1829
|
+
})
|
|
1830
|
+
.s("PaymentCryptographyDataPlane", "VerifyPinData", {})
|
|
1831
|
+
.n("PaymentCryptographyDataClient", "VerifyPinDataCommand")
|
|
1832
|
+
.f(VerifyPinDataInputFilterSensitiveLog, void 0)
|
|
1833
|
+
.ser(se_VerifyPinDataCommand)
|
|
1834
|
+
.de(de_VerifyPinDataCommand)
|
|
1835
|
+
.build() {
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
const commands = {
|
|
1839
|
+
DecryptDataCommand,
|
|
1840
|
+
EncryptDataCommand,
|
|
1841
|
+
GenerateCardValidationDataCommand,
|
|
1842
|
+
GenerateMacCommand,
|
|
1843
|
+
GenerateMacEmvPinChangeCommand,
|
|
1844
|
+
GeneratePinDataCommand,
|
|
1845
|
+
ReEncryptDataCommand,
|
|
1846
|
+
TranslateKeyMaterialCommand,
|
|
1847
|
+
TranslatePinDataCommand,
|
|
1848
|
+
VerifyAuthRequestCryptogramCommand,
|
|
1849
|
+
VerifyCardValidationDataCommand,
|
|
1850
|
+
VerifyMacCommand,
|
|
1851
|
+
VerifyPinDataCommand,
|
|
1852
|
+
};
|
|
1853
|
+
class PaymentCryptographyData extends PaymentCryptographyDataClient {
|
|
1854
|
+
}
|
|
1855
|
+
smithyClient.createAggregatedClient(commands, PaymentCryptographyData);
|
|
2029
1856
|
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
PaymentCryptographyDataClient,
|
|
2034
|
-
PaymentCryptographyData,
|
|
2035
|
-
$Command,
|
|
2036
|
-
DecryptDataCommand,
|
|
2037
|
-
EncryptDataCommand,
|
|
2038
|
-
GenerateCardValidationDataCommand,
|
|
2039
|
-
GenerateMacCommand,
|
|
2040
|
-
GenerateMacEmvPinChangeCommand,
|
|
2041
|
-
GeneratePinDataCommand,
|
|
2042
|
-
ReEncryptDataCommand,
|
|
2043
|
-
TranslateKeyMaterialCommand,
|
|
2044
|
-
TranslatePinDataCommand,
|
|
2045
|
-
VerifyAuthRequestCryptogramCommand,
|
|
2046
|
-
VerifyCardValidationDataCommand,
|
|
2047
|
-
VerifyMacCommand,
|
|
2048
|
-
VerifyPinDataCommand,
|
|
2049
|
-
AccessDeniedException,
|
|
2050
|
-
MajorKeyDerivationMode,
|
|
2051
|
-
PaddingType,
|
|
2052
|
-
CardGenerationAttributes,
|
|
2053
|
-
CardVerificationAttributes,
|
|
2054
|
-
CryptogramAuthResponse,
|
|
2055
|
-
DukptDerivationType,
|
|
2056
|
-
DukptKeyVariant,
|
|
2057
|
-
DukptEncryptionMode,
|
|
2058
|
-
EmvMajorKeyDerivationMode,
|
|
2059
|
-
EmvEncryptionMode,
|
|
2060
|
-
EncryptionMode,
|
|
2061
|
-
EncryptionDecryptionAttributes,
|
|
2062
|
-
KeyCheckValueAlgorithm,
|
|
2063
|
-
SymmetricKeyAlgorithm,
|
|
2064
|
-
KeyDerivationFunction,
|
|
2065
|
-
KeyDerivationHashAlgorithm,
|
|
2066
|
-
WrappedKeyMaterial,
|
|
2067
|
-
InternalServerException,
|
|
2068
|
-
ResourceNotFoundException,
|
|
2069
|
-
ThrottlingException,
|
|
2070
|
-
ValidationException,
|
|
2071
|
-
PinBlockLengthPosition,
|
|
2072
|
-
PinBlockPaddingType,
|
|
2073
|
-
DerivationMethodAttributes,
|
|
2074
|
-
DiffieHellmanDerivationData,
|
|
2075
|
-
MacAlgorithm,
|
|
2076
|
-
SessionKeyDerivationMode,
|
|
2077
|
-
SessionKeyDerivationValue,
|
|
2078
|
-
MacAttributes,
|
|
2079
|
-
PinBlockFormatForEmvPinChange,
|
|
2080
|
-
PinGenerationAttributes,
|
|
2081
|
-
PinBlockFormatForPinData,
|
|
2082
|
-
PinData,
|
|
2083
|
-
IncomingKeyMaterial,
|
|
2084
|
-
OutgoingKeyMaterial,
|
|
2085
|
-
ReEncryptionAttributes,
|
|
2086
|
-
WrappedKeyMaterialFormat,
|
|
2087
|
-
TranslationIsoFormats,
|
|
2088
|
-
VerificationFailedReason,
|
|
2089
|
-
VerificationFailedException,
|
|
2090
|
-
SessionKeyDerivation,
|
|
2091
|
-
PinVerificationAttributes,
|
|
2092
|
-
CurrentPinAttributesFilterSensitiveLog,
|
|
2093
|
-
AmexAttributesFilterSensitiveLog,
|
|
2094
|
-
AmexCardSecurityCodeVersion1FilterSensitiveLog,
|
|
2095
|
-
AmexCardSecurityCodeVersion2FilterSensitiveLog,
|
|
2096
|
-
CardVerificationValue1FilterSensitiveLog,
|
|
2097
|
-
CardVerificationValue2FilterSensitiveLog,
|
|
2098
|
-
DynamicCardVerificationCodeFilterSensitiveLog,
|
|
2099
|
-
DynamicCardVerificationValueFilterSensitiveLog,
|
|
2100
|
-
CardGenerationAttributesFilterSensitiveLog,
|
|
2101
|
-
DiscoverDynamicCardVerificationCodeFilterSensitiveLog,
|
|
2102
|
-
CardVerificationAttributesFilterSensitiveLog,
|
|
2103
|
-
CryptogramVerificationArpcMethod2FilterSensitiveLog,
|
|
2104
|
-
CryptogramAuthResponseFilterSensitiveLog,
|
|
2105
|
-
DukptEncryptionAttributesFilterSensitiveLog,
|
|
2106
|
-
EmvEncryptionAttributesFilterSensitiveLog,
|
|
2107
|
-
SymmetricEncryptionAttributesFilterSensitiveLog,
|
|
2108
|
-
EncryptionDecryptionAttributesFilterSensitiveLog,
|
|
2109
|
-
WrappedKeyMaterialFilterSensitiveLog,
|
|
2110
|
-
WrappedKeyFilterSensitiveLog,
|
|
2111
|
-
DecryptDataInputFilterSensitiveLog,
|
|
2112
|
-
DecryptDataOutputFilterSensitiveLog,
|
|
2113
|
-
Emv2000AttributesFilterSensitiveLog,
|
|
2114
|
-
EmvCommonAttributesFilterSensitiveLog,
|
|
2115
|
-
MasterCardAttributesFilterSensitiveLog,
|
|
2116
|
-
VisaAttributesFilterSensitiveLog,
|
|
2117
|
-
DerivationMethodAttributesFilterSensitiveLog,
|
|
2118
|
-
EncryptDataInputFilterSensitiveLog,
|
|
2119
|
-
EncryptDataOutputFilterSensitiveLog,
|
|
2120
|
-
GenerateCardValidationDataInputFilterSensitiveLog,
|
|
2121
|
-
GenerateCardValidationDataOutputFilterSensitiveLog,
|
|
2122
|
-
SessionKeyDerivationValueFilterSensitiveLog,
|
|
2123
|
-
MacAlgorithmEmvFilterSensitiveLog,
|
|
2124
|
-
MacAttributesFilterSensitiveLog,
|
|
2125
|
-
GenerateMacInputFilterSensitiveLog,
|
|
2126
|
-
GenerateMacOutputFilterSensitiveLog,
|
|
2127
|
-
GenerateMacEmvPinChangeInputFilterSensitiveLog,
|
|
2128
|
-
GenerateMacEmvPinChangeOutputFilterSensitiveLog,
|
|
2129
|
-
Ibm3624NaturalPinFilterSensitiveLog,
|
|
2130
|
-
Ibm3624PinFromOffsetFilterSensitiveLog,
|
|
2131
|
-
Ibm3624PinOffsetFilterSensitiveLog,
|
|
2132
|
-
Ibm3624RandomPinFilterSensitiveLog,
|
|
2133
|
-
VisaPinVerificationValueFilterSensitiveLog,
|
|
2134
|
-
PinGenerationAttributesFilterSensitiveLog,
|
|
2135
|
-
GeneratePinDataInputFilterSensitiveLog,
|
|
2136
|
-
PinDataFilterSensitiveLog,
|
|
2137
|
-
GeneratePinDataOutputFilterSensitiveLog,
|
|
2138
|
-
Ibm3624PinVerificationFilterSensitiveLog,
|
|
2139
|
-
IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog,
|
|
2140
|
-
IncomingKeyMaterialFilterSensitiveLog,
|
|
2141
|
-
ReEncryptionAttributesFilterSensitiveLog,
|
|
2142
|
-
ReEncryptDataInputFilterSensitiveLog,
|
|
2143
|
-
ReEncryptDataOutputFilterSensitiveLog,
|
|
2144
|
-
TranslateKeyMaterialInputFilterSensitiveLog,
|
|
2145
|
-
WrappedWorkingKeyFilterSensitiveLog,
|
|
2146
|
-
TranslateKeyMaterialOutputFilterSensitiveLog,
|
|
2147
|
-
TranslationPinDataIsoFormat034FilterSensitiveLog,
|
|
2148
|
-
TranslationIsoFormatsFilterSensitiveLog,
|
|
2149
|
-
TranslatePinDataInputFilterSensitiveLog,
|
|
2150
|
-
TranslatePinDataOutputFilterSensitiveLog,
|
|
2151
|
-
SessionKeyAmexFilterSensitiveLog,
|
|
2152
|
-
SessionKeyEmv2000FilterSensitiveLog,
|
|
2153
|
-
SessionKeyEmvCommonFilterSensitiveLog,
|
|
2154
|
-
SessionKeyMastercardFilterSensitiveLog,
|
|
2155
|
-
SessionKeyVisaFilterSensitiveLog,
|
|
2156
|
-
SessionKeyDerivationFilterSensitiveLog,
|
|
2157
|
-
VerifyAuthRequestCryptogramInputFilterSensitiveLog,
|
|
2158
|
-
VerifyAuthRequestCryptogramOutputFilterSensitiveLog,
|
|
2159
|
-
VerifyCardValidationDataInputFilterSensitiveLog,
|
|
2160
|
-
VerifyMacInputFilterSensitiveLog,
|
|
2161
|
-
VisaPinVerificationFilterSensitiveLog,
|
|
2162
|
-
PinVerificationAttributesFilterSensitiveLog,
|
|
2163
|
-
VerifyPinDataInputFilterSensitiveLog
|
|
1857
|
+
Object.defineProperty(exports, "$Command", {
|
|
1858
|
+
enumerable: true,
|
|
1859
|
+
get: function () { return smithyClient.Command; }
|
|
2164
1860
|
});
|
|
2165
|
-
|
|
1861
|
+
Object.defineProperty(exports, "__Client", {
|
|
1862
|
+
enumerable: true,
|
|
1863
|
+
get: function () { return smithyClient.Client; }
|
|
1864
|
+
});
|
|
1865
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1866
|
+
exports.AmexAttributesFilterSensitiveLog = AmexAttributesFilterSensitiveLog;
|
|
1867
|
+
exports.AmexCardSecurityCodeVersion1FilterSensitiveLog = AmexCardSecurityCodeVersion1FilterSensitiveLog;
|
|
1868
|
+
exports.AmexCardSecurityCodeVersion2FilterSensitiveLog = AmexCardSecurityCodeVersion2FilterSensitiveLog;
|
|
1869
|
+
exports.CardGenerationAttributesFilterSensitiveLog = CardGenerationAttributesFilterSensitiveLog;
|
|
1870
|
+
exports.CardVerificationAttributesFilterSensitiveLog = CardVerificationAttributesFilterSensitiveLog;
|
|
1871
|
+
exports.CardVerificationValue1FilterSensitiveLog = CardVerificationValue1FilterSensitiveLog;
|
|
1872
|
+
exports.CardVerificationValue2FilterSensitiveLog = CardVerificationValue2FilterSensitiveLog;
|
|
1873
|
+
exports.CryptogramAuthResponseFilterSensitiveLog = CryptogramAuthResponseFilterSensitiveLog;
|
|
1874
|
+
exports.CryptogramVerificationArpcMethod2FilterSensitiveLog = CryptogramVerificationArpcMethod2FilterSensitiveLog;
|
|
1875
|
+
exports.CurrentPinAttributesFilterSensitiveLog = CurrentPinAttributesFilterSensitiveLog;
|
|
1876
|
+
exports.DecryptDataCommand = DecryptDataCommand;
|
|
1877
|
+
exports.DecryptDataInputFilterSensitiveLog = DecryptDataInputFilterSensitiveLog;
|
|
1878
|
+
exports.DecryptDataOutputFilterSensitiveLog = DecryptDataOutputFilterSensitiveLog;
|
|
1879
|
+
exports.DerivationMethodAttributesFilterSensitiveLog = DerivationMethodAttributesFilterSensitiveLog;
|
|
1880
|
+
exports.DiscoverDynamicCardVerificationCodeFilterSensitiveLog = DiscoverDynamicCardVerificationCodeFilterSensitiveLog;
|
|
1881
|
+
exports.DukptDerivationType = DukptDerivationType;
|
|
1882
|
+
exports.DukptEncryptionAttributesFilterSensitiveLog = DukptEncryptionAttributesFilterSensitiveLog;
|
|
1883
|
+
exports.DukptEncryptionMode = DukptEncryptionMode;
|
|
1884
|
+
exports.DukptKeyVariant = DukptKeyVariant;
|
|
1885
|
+
exports.DynamicCardVerificationCodeFilterSensitiveLog = DynamicCardVerificationCodeFilterSensitiveLog;
|
|
1886
|
+
exports.DynamicCardVerificationValueFilterSensitiveLog = DynamicCardVerificationValueFilterSensitiveLog;
|
|
1887
|
+
exports.Emv2000AttributesFilterSensitiveLog = Emv2000AttributesFilterSensitiveLog;
|
|
1888
|
+
exports.EmvCommonAttributesFilterSensitiveLog = EmvCommonAttributesFilterSensitiveLog;
|
|
1889
|
+
exports.EmvEncryptionAttributesFilterSensitiveLog = EmvEncryptionAttributesFilterSensitiveLog;
|
|
1890
|
+
exports.EmvEncryptionMode = EmvEncryptionMode;
|
|
1891
|
+
exports.EmvMajorKeyDerivationMode = EmvMajorKeyDerivationMode;
|
|
1892
|
+
exports.EncryptDataCommand = EncryptDataCommand;
|
|
1893
|
+
exports.EncryptDataInputFilterSensitiveLog = EncryptDataInputFilterSensitiveLog;
|
|
1894
|
+
exports.EncryptDataOutputFilterSensitiveLog = EncryptDataOutputFilterSensitiveLog;
|
|
1895
|
+
exports.EncryptionDecryptionAttributesFilterSensitiveLog = EncryptionDecryptionAttributesFilterSensitiveLog;
|
|
1896
|
+
exports.EncryptionMode = EncryptionMode;
|
|
1897
|
+
exports.GenerateCardValidationDataCommand = GenerateCardValidationDataCommand;
|
|
1898
|
+
exports.GenerateCardValidationDataInputFilterSensitiveLog = GenerateCardValidationDataInputFilterSensitiveLog;
|
|
1899
|
+
exports.GenerateCardValidationDataOutputFilterSensitiveLog = GenerateCardValidationDataOutputFilterSensitiveLog;
|
|
1900
|
+
exports.GenerateMacCommand = GenerateMacCommand;
|
|
1901
|
+
exports.GenerateMacEmvPinChangeCommand = GenerateMacEmvPinChangeCommand;
|
|
1902
|
+
exports.GenerateMacEmvPinChangeInputFilterSensitiveLog = GenerateMacEmvPinChangeInputFilterSensitiveLog;
|
|
1903
|
+
exports.GenerateMacEmvPinChangeOutputFilterSensitiveLog = GenerateMacEmvPinChangeOutputFilterSensitiveLog;
|
|
1904
|
+
exports.GenerateMacInputFilterSensitiveLog = GenerateMacInputFilterSensitiveLog;
|
|
1905
|
+
exports.GenerateMacOutputFilterSensitiveLog = GenerateMacOutputFilterSensitiveLog;
|
|
1906
|
+
exports.GeneratePinDataCommand = GeneratePinDataCommand;
|
|
1907
|
+
exports.GeneratePinDataInputFilterSensitiveLog = GeneratePinDataInputFilterSensitiveLog;
|
|
1908
|
+
exports.GeneratePinDataOutputFilterSensitiveLog = GeneratePinDataOutputFilterSensitiveLog;
|
|
1909
|
+
exports.Ibm3624NaturalPinFilterSensitiveLog = Ibm3624NaturalPinFilterSensitiveLog;
|
|
1910
|
+
exports.Ibm3624PinFromOffsetFilterSensitiveLog = Ibm3624PinFromOffsetFilterSensitiveLog;
|
|
1911
|
+
exports.Ibm3624PinOffsetFilterSensitiveLog = Ibm3624PinOffsetFilterSensitiveLog;
|
|
1912
|
+
exports.Ibm3624PinVerificationFilterSensitiveLog = Ibm3624PinVerificationFilterSensitiveLog;
|
|
1913
|
+
exports.Ibm3624RandomPinFilterSensitiveLog = Ibm3624RandomPinFilterSensitiveLog;
|
|
1914
|
+
exports.IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog = IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog;
|
|
1915
|
+
exports.IncomingKeyMaterialFilterSensitiveLog = IncomingKeyMaterialFilterSensitiveLog;
|
|
1916
|
+
exports.InternalServerException = InternalServerException;
|
|
1917
|
+
exports.KeyCheckValueAlgorithm = KeyCheckValueAlgorithm;
|
|
1918
|
+
exports.KeyDerivationFunction = KeyDerivationFunction;
|
|
1919
|
+
exports.KeyDerivationHashAlgorithm = KeyDerivationHashAlgorithm;
|
|
1920
|
+
exports.MacAlgorithm = MacAlgorithm;
|
|
1921
|
+
exports.MacAlgorithmEmvFilterSensitiveLog = MacAlgorithmEmvFilterSensitiveLog;
|
|
1922
|
+
exports.MacAttributesFilterSensitiveLog = MacAttributesFilterSensitiveLog;
|
|
1923
|
+
exports.MajorKeyDerivationMode = MajorKeyDerivationMode;
|
|
1924
|
+
exports.MasterCardAttributesFilterSensitiveLog = MasterCardAttributesFilterSensitiveLog;
|
|
1925
|
+
exports.PaddingType = PaddingType;
|
|
1926
|
+
exports.PaymentCryptographyData = PaymentCryptographyData;
|
|
1927
|
+
exports.PaymentCryptographyDataClient = PaymentCryptographyDataClient;
|
|
1928
|
+
exports.PaymentCryptographyDataServiceException = PaymentCryptographyDataServiceException;
|
|
1929
|
+
exports.PinBlockFormatForEmvPinChange = PinBlockFormatForEmvPinChange;
|
|
1930
|
+
exports.PinBlockFormatForPinData = PinBlockFormatForPinData;
|
|
1931
|
+
exports.PinBlockLengthPosition = PinBlockLengthPosition;
|
|
1932
|
+
exports.PinBlockPaddingType = PinBlockPaddingType;
|
|
1933
|
+
exports.PinDataFilterSensitiveLog = PinDataFilterSensitiveLog;
|
|
1934
|
+
exports.PinGenerationAttributesFilterSensitiveLog = PinGenerationAttributesFilterSensitiveLog;
|
|
1935
|
+
exports.PinVerificationAttributesFilterSensitiveLog = PinVerificationAttributesFilterSensitiveLog;
|
|
1936
|
+
exports.ReEncryptDataCommand = ReEncryptDataCommand;
|
|
1937
|
+
exports.ReEncryptDataInputFilterSensitiveLog = ReEncryptDataInputFilterSensitiveLog;
|
|
1938
|
+
exports.ReEncryptDataOutputFilterSensitiveLog = ReEncryptDataOutputFilterSensitiveLog;
|
|
1939
|
+
exports.ReEncryptionAttributesFilterSensitiveLog = ReEncryptionAttributesFilterSensitiveLog;
|
|
1940
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1941
|
+
exports.SessionKeyAmexFilterSensitiveLog = SessionKeyAmexFilterSensitiveLog;
|
|
1942
|
+
exports.SessionKeyDerivationFilterSensitiveLog = SessionKeyDerivationFilterSensitiveLog;
|
|
1943
|
+
exports.SessionKeyDerivationMode = SessionKeyDerivationMode;
|
|
1944
|
+
exports.SessionKeyDerivationValueFilterSensitiveLog = SessionKeyDerivationValueFilterSensitiveLog;
|
|
1945
|
+
exports.SessionKeyEmv2000FilterSensitiveLog = SessionKeyEmv2000FilterSensitiveLog;
|
|
1946
|
+
exports.SessionKeyEmvCommonFilterSensitiveLog = SessionKeyEmvCommonFilterSensitiveLog;
|
|
1947
|
+
exports.SessionKeyMastercardFilterSensitiveLog = SessionKeyMastercardFilterSensitiveLog;
|
|
1948
|
+
exports.SessionKeyVisaFilterSensitiveLog = SessionKeyVisaFilterSensitiveLog;
|
|
1949
|
+
exports.SymmetricEncryptionAttributesFilterSensitiveLog = SymmetricEncryptionAttributesFilterSensitiveLog;
|
|
1950
|
+
exports.SymmetricKeyAlgorithm = SymmetricKeyAlgorithm;
|
|
1951
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1952
|
+
exports.TranslateKeyMaterialCommand = TranslateKeyMaterialCommand;
|
|
1953
|
+
exports.TranslateKeyMaterialInputFilterSensitiveLog = TranslateKeyMaterialInputFilterSensitiveLog;
|
|
1954
|
+
exports.TranslateKeyMaterialOutputFilterSensitiveLog = TranslateKeyMaterialOutputFilterSensitiveLog;
|
|
1955
|
+
exports.TranslatePinDataCommand = TranslatePinDataCommand;
|
|
1956
|
+
exports.TranslatePinDataInputFilterSensitiveLog = TranslatePinDataInputFilterSensitiveLog;
|
|
1957
|
+
exports.TranslatePinDataOutputFilterSensitiveLog = TranslatePinDataOutputFilterSensitiveLog;
|
|
1958
|
+
exports.TranslationIsoFormatsFilterSensitiveLog = TranslationIsoFormatsFilterSensitiveLog;
|
|
1959
|
+
exports.TranslationPinDataIsoFormat034FilterSensitiveLog = TranslationPinDataIsoFormat034FilterSensitiveLog;
|
|
1960
|
+
exports.ValidationException = ValidationException;
|
|
1961
|
+
exports.VerificationFailedException = VerificationFailedException;
|
|
1962
|
+
exports.VerificationFailedReason = VerificationFailedReason;
|
|
1963
|
+
exports.VerifyAuthRequestCryptogramCommand = VerifyAuthRequestCryptogramCommand;
|
|
1964
|
+
exports.VerifyAuthRequestCryptogramInputFilterSensitiveLog = VerifyAuthRequestCryptogramInputFilterSensitiveLog;
|
|
1965
|
+
exports.VerifyAuthRequestCryptogramOutputFilterSensitiveLog = VerifyAuthRequestCryptogramOutputFilterSensitiveLog;
|
|
1966
|
+
exports.VerifyCardValidationDataCommand = VerifyCardValidationDataCommand;
|
|
1967
|
+
exports.VerifyCardValidationDataInputFilterSensitiveLog = VerifyCardValidationDataInputFilterSensitiveLog;
|
|
1968
|
+
exports.VerifyMacCommand = VerifyMacCommand;
|
|
1969
|
+
exports.VerifyMacInputFilterSensitiveLog = VerifyMacInputFilterSensitiveLog;
|
|
1970
|
+
exports.VerifyPinDataCommand = VerifyPinDataCommand;
|
|
1971
|
+
exports.VerifyPinDataInputFilterSensitiveLog = VerifyPinDataInputFilterSensitiveLog;
|
|
1972
|
+
exports.VisaAttributesFilterSensitiveLog = VisaAttributesFilterSensitiveLog;
|
|
1973
|
+
exports.VisaPinVerificationFilterSensitiveLog = VisaPinVerificationFilterSensitiveLog;
|
|
1974
|
+
exports.VisaPinVerificationValueFilterSensitiveLog = VisaPinVerificationValueFilterSensitiveLog;
|
|
1975
|
+
exports.WrappedKeyFilterSensitiveLog = WrappedKeyFilterSensitiveLog;
|
|
1976
|
+
exports.WrappedKeyMaterialFilterSensitiveLog = WrappedKeyMaterialFilterSensitiveLog;
|
|
1977
|
+
exports.WrappedKeyMaterialFormat = WrappedKeyMaterialFormat;
|
|
1978
|
+
exports.WrappedWorkingKeyFilterSensitiveLog = WrappedWorkingKeyFilterSensitiveLog;
|