@aws-sdk/client-payment-cryptography-data 3.933.0 → 3.935.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.
@@ -0,0 +1,236 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const MajorKeyDerivationMode: {
6
+ readonly EMV_OPTION_A: "EMV_OPTION_A";
7
+ readonly EMV_OPTION_B: "EMV_OPTION_B";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type MajorKeyDerivationMode = (typeof MajorKeyDerivationMode)[keyof typeof MajorKeyDerivationMode];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const PaddingType: {
18
+ readonly OAEP_SHA1: "OAEP_SHA1";
19
+ readonly OAEP_SHA256: "OAEP_SHA256";
20
+ readonly OAEP_SHA512: "OAEP_SHA512";
21
+ readonly PKCS1: "PKCS1";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type PaddingType = (typeof PaddingType)[keyof typeof PaddingType];
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const DukptDerivationType: {
32
+ readonly AES_128: "AES_128";
33
+ readonly AES_192: "AES_192";
34
+ readonly AES_256: "AES_256";
35
+ readonly TDES_2KEY: "TDES_2KEY";
36
+ readonly TDES_3KEY: "TDES_3KEY";
37
+ };
38
+ /**
39
+ * @public
40
+ */
41
+ export type DukptDerivationType = (typeof DukptDerivationType)[keyof typeof DukptDerivationType];
42
+ /**
43
+ * @public
44
+ * @enum
45
+ */
46
+ export declare const DukptKeyVariant: {
47
+ readonly BIDIRECTIONAL: "BIDIRECTIONAL";
48
+ readonly REQUEST: "REQUEST";
49
+ readonly RESPONSE: "RESPONSE";
50
+ };
51
+ /**
52
+ * @public
53
+ */
54
+ export type DukptKeyVariant = (typeof DukptKeyVariant)[keyof typeof DukptKeyVariant];
55
+ /**
56
+ * @public
57
+ * @enum
58
+ */
59
+ export declare const DukptEncryptionMode: {
60
+ readonly CBC: "CBC";
61
+ readonly ECB: "ECB";
62
+ };
63
+ /**
64
+ * @public
65
+ */
66
+ export type DukptEncryptionMode = (typeof DukptEncryptionMode)[keyof typeof DukptEncryptionMode];
67
+ /**
68
+ * @public
69
+ * @enum
70
+ */
71
+ export declare const EmvMajorKeyDerivationMode: {
72
+ readonly EMV_OPTION_A: "EMV_OPTION_A";
73
+ readonly EMV_OPTION_B: "EMV_OPTION_B";
74
+ };
75
+ /**
76
+ * @public
77
+ */
78
+ export type EmvMajorKeyDerivationMode = (typeof EmvMajorKeyDerivationMode)[keyof typeof EmvMajorKeyDerivationMode];
79
+ /**
80
+ * @public
81
+ * @enum
82
+ */
83
+ export declare const EmvEncryptionMode: {
84
+ readonly CBC: "CBC";
85
+ readonly ECB: "ECB";
86
+ };
87
+ /**
88
+ * @public
89
+ */
90
+ export type EmvEncryptionMode = (typeof EmvEncryptionMode)[keyof typeof EmvEncryptionMode];
91
+ /**
92
+ * @public
93
+ * @enum
94
+ */
95
+ export declare const EncryptionMode: {
96
+ readonly CBC: "CBC";
97
+ readonly CFB: "CFB";
98
+ readonly CFB1: "CFB1";
99
+ readonly CFB128: "CFB128";
100
+ readonly CFB64: "CFB64";
101
+ readonly CFB8: "CFB8";
102
+ readonly ECB: "ECB";
103
+ readonly OFB: "OFB";
104
+ };
105
+ /**
106
+ * @public
107
+ */
108
+ export type EncryptionMode = (typeof EncryptionMode)[keyof typeof EncryptionMode];
109
+ /**
110
+ * @public
111
+ * @enum
112
+ */
113
+ export declare const SymmetricKeyAlgorithm: {
114
+ readonly AES_128: "AES_128";
115
+ readonly AES_192: "AES_192";
116
+ readonly AES_256: "AES_256";
117
+ readonly HMAC_SHA224: "HMAC_SHA224";
118
+ readonly HMAC_SHA256: "HMAC_SHA256";
119
+ readonly HMAC_SHA384: "HMAC_SHA384";
120
+ readonly HMAC_SHA512: "HMAC_SHA512";
121
+ readonly TDES_2KEY: "TDES_2KEY";
122
+ readonly TDES_3KEY: "TDES_3KEY";
123
+ };
124
+ /**
125
+ * @public
126
+ */
127
+ export type SymmetricKeyAlgorithm = (typeof SymmetricKeyAlgorithm)[keyof typeof SymmetricKeyAlgorithm];
128
+ /**
129
+ * @public
130
+ * @enum
131
+ */
132
+ export declare const KeyDerivationFunction: {
133
+ readonly ANSI_X963: "ANSI_X963";
134
+ readonly NIST_SP800: "NIST_SP800";
135
+ };
136
+ /**
137
+ * @public
138
+ */
139
+ export type KeyDerivationFunction = (typeof KeyDerivationFunction)[keyof typeof KeyDerivationFunction];
140
+ /**
141
+ * @public
142
+ * @enum
143
+ */
144
+ export declare const KeyDerivationHashAlgorithm: {
145
+ readonly SHA_256: "SHA_256";
146
+ readonly SHA_384: "SHA_384";
147
+ readonly SHA_512: "SHA_512";
148
+ };
149
+ /**
150
+ * @public
151
+ */
152
+ export type KeyDerivationHashAlgorithm = (typeof KeyDerivationHashAlgorithm)[keyof typeof KeyDerivationHashAlgorithm];
153
+ /**
154
+ * @public
155
+ * @enum
156
+ */
157
+ export declare const PinBlockLengthPosition: {
158
+ readonly FRONT_OF_PIN_BLOCK: "FRONT_OF_PIN_BLOCK";
159
+ readonly NONE: "NONE";
160
+ };
161
+ /**
162
+ * @public
163
+ */
164
+ export type PinBlockLengthPosition = (typeof PinBlockLengthPosition)[keyof typeof PinBlockLengthPosition];
165
+ /**
166
+ * @public
167
+ * @enum
168
+ */
169
+ export declare const PinBlockPaddingType: {
170
+ readonly ISO_IEC_7816_4: "ISO_IEC_7816_4";
171
+ readonly NO_PADDING: "NO_PADDING";
172
+ };
173
+ /**
174
+ * @public
175
+ */
176
+ export type PinBlockPaddingType = (typeof PinBlockPaddingType)[keyof typeof PinBlockPaddingType];
177
+ /**
178
+ * @public
179
+ * @enum
180
+ */
181
+ export declare const MacAlgorithm: {
182
+ readonly CMAC: "CMAC";
183
+ readonly HMAC: "HMAC";
184
+ readonly HMAC_SHA224: "HMAC_SHA224";
185
+ readonly HMAC_SHA256: "HMAC_SHA256";
186
+ readonly HMAC_SHA384: "HMAC_SHA384";
187
+ readonly HMAC_SHA512: "HMAC_SHA512";
188
+ readonly ISO9797_ALGORITHM1: "ISO9797_ALGORITHM1";
189
+ readonly ISO9797_ALGORITHM3: "ISO9797_ALGORITHM3";
190
+ };
191
+ /**
192
+ * @public
193
+ */
194
+ export type MacAlgorithm = (typeof MacAlgorithm)[keyof typeof MacAlgorithm];
195
+ /**
196
+ * @public
197
+ * @enum
198
+ */
199
+ export declare const SessionKeyDerivationMode: {
200
+ readonly AMEX: "AMEX";
201
+ readonly EMV2000: "EMV2000";
202
+ readonly EMV_COMMON_SESSION_KEY: "EMV_COMMON_SESSION_KEY";
203
+ readonly MASTERCARD_SESSION_KEY: "MASTERCARD_SESSION_KEY";
204
+ readonly VISA: "VISA";
205
+ };
206
+ /**
207
+ * @public
208
+ */
209
+ export type SessionKeyDerivationMode = (typeof SessionKeyDerivationMode)[keyof typeof SessionKeyDerivationMode];
210
+ /**
211
+ * @public
212
+ * @enum
213
+ */
214
+ export declare const PinBlockFormatForEmvPinChange: {
215
+ readonly ISO_FORMAT_0: "ISO_FORMAT_0";
216
+ readonly ISO_FORMAT_1: "ISO_FORMAT_1";
217
+ readonly ISO_FORMAT_3: "ISO_FORMAT_3";
218
+ };
219
+ /**
220
+ * @public
221
+ */
222
+ export type PinBlockFormatForEmvPinChange = (typeof PinBlockFormatForEmvPinChange)[keyof typeof PinBlockFormatForEmvPinChange];
223
+ /**
224
+ * @public
225
+ * @enum
226
+ */
227
+ export declare const PinBlockFormatForPinData: {
228
+ readonly ISO_FORMAT_0: "ISO_FORMAT_0";
229
+ readonly ISO_FORMAT_1: "ISO_FORMAT_1";
230
+ readonly ISO_FORMAT_3: "ISO_FORMAT_3";
231
+ readonly ISO_FORMAT_4: "ISO_FORMAT_4";
232
+ };
233
+ /**
234
+ * @public
235
+ */
236
+ export type PinBlockFormatForPinData = (typeof PinBlockFormatForPinData)[keyof typeof PinBlockFormatForPinData];
@@ -0,0 +1,94 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionField, VerificationFailedReason } from "./models_0";
3
+ import { PaymentCryptographyDataServiceException as __BaseException } from "./PaymentCryptographyDataServiceException";
4
+ /**
5
+ * <p>You do not have sufficient access to perform this action.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ Message?: string | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
19
+ * @public
20
+ */
21
+ export declare class InternalServerException extends __BaseException {
22
+ readonly name: "InternalServerException";
23
+ readonly $fault: "server";
24
+ Message?: string | undefined;
25
+ /**
26
+ * @internal
27
+ */
28
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
29
+ }
30
+ /**
31
+ * <p>The request was denied due to an invalid resource error.</p>
32
+ * @public
33
+ */
34
+ export declare class ResourceNotFoundException extends __BaseException {
35
+ readonly name: "ResourceNotFoundException";
36
+ readonly $fault: "client";
37
+ /**
38
+ * <p>The resource that is missing.</p>
39
+ * @public
40
+ */
41
+ ResourceId?: string | undefined;
42
+ /**
43
+ * @internal
44
+ */
45
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
46
+ }
47
+ /**
48
+ * <p>The request was denied due to request throttling.</p>
49
+ * @public
50
+ */
51
+ export declare class ThrottlingException extends __BaseException {
52
+ readonly name: "ThrottlingException";
53
+ readonly $fault: "client";
54
+ Message?: string | undefined;
55
+ /**
56
+ * @internal
57
+ */
58
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
59
+ }
60
+ /**
61
+ * <p>The request was denied due to an invalid request error.</p>
62
+ * @public
63
+ */
64
+ export declare class ValidationException extends __BaseException {
65
+ readonly name: "ValidationException";
66
+ readonly $fault: "client";
67
+ /**
68
+ * <p>The request was denied due to an invalid request error.</p>
69
+ * @public
70
+ */
71
+ fieldList?: ValidationExceptionField[] | undefined;
72
+ /**
73
+ * @internal
74
+ */
75
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
76
+ }
77
+ /**
78
+ * <p>This request failed verification.</p>
79
+ * @public
80
+ */
81
+ export declare class VerificationFailedException extends __BaseException {
82
+ readonly name: "VerificationFailedException";
83
+ readonly $fault: "client";
84
+ /**
85
+ * <p>The reason for the exception.</p>
86
+ * @public
87
+ */
88
+ Reason: VerificationFailedReason | undefined;
89
+ Message: string | undefined;
90
+ /**
91
+ * @internal
92
+ */
93
+ constructor(opts: __ExceptionOptionType<VerificationFailedException, __BaseException>);
94
+ }