@aws-sdk/client-payment-cryptography-data 3.670.0 → 3.676.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/README.md +8 -0
- package/dist-cjs/index.js +179 -5
- package/dist-es/PaymentCryptographyData.js +2 -0
- package/dist-es/commands/GenerateMacEmvPinChangeCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +92 -4
- package/dist-es/protocols/Aws_restJson1.js +41 -0
- package/dist-types/PaymentCryptographyData.d.ts +7 -0
- package/dist-types/PaymentCryptographyDataClient.d.ts +3 -2
- package/dist-types/commands/DecryptDataCommand.d.ts +10 -9
- package/dist-types/commands/EncryptDataCommand.d.ts +11 -9
- package/dist-types/commands/GenerateMacCommand.d.ts +9 -9
- package/dist-types/commands/GenerateMacEmvPinChangeCommand.d.ts +173 -0
- package/dist-types/commands/GeneratePinDataCommand.d.ts +1 -1
- package/dist-types/commands/ReEncryptDataCommand.d.ts +11 -10
- package/dist-types/commands/TranslatePinDataCommand.d.ts +5 -4
- package/dist-types/commands/VerifyAuthRequestCryptogramCommand.d.ts +1 -1
- package/dist-types/commands/VerifyMacCommand.d.ts +9 -9
- package/dist-types/commands/VerifyPinDataCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +475 -13
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/PaymentCryptographyData.d.ts +17 -0
- package/dist-types/ts3.4/PaymentCryptographyDataClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GenerateMacEmvPinChangeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +185 -6
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +5 -5
|
@@ -13,6 +13,70 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
*/
|
|
14
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The parameter values of the current PIN to be changed on the EMV chip card.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface CurrentPinAttributes {
|
|
21
|
+
/**
|
|
22
|
+
* <p>The <code>keyArn</code> of the current PIN PEK.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
CurrentPinPekIdentifier: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The encrypted pinblock of the current pin stored on the chip card.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
CurrentEncryptedPinBlock: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* @enum
|
|
35
|
+
*/
|
|
36
|
+
export declare const MajorKeyDerivationMode: {
|
|
37
|
+
readonly EMV_OPTION_A: "EMV_OPTION_A";
|
|
38
|
+
readonly EMV_OPTION_B: "EMV_OPTION_B";
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export type MajorKeyDerivationMode = (typeof MajorKeyDerivationMode)[keyof typeof MajorKeyDerivationMode];
|
|
44
|
+
/**
|
|
45
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export interface AmexAttributes {
|
|
49
|
+
/**
|
|
50
|
+
* <p>The method to use when deriving the master key for a payment card using Amex derivation.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The Primary Account Number (PAN) of the cardholder.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
PrimaryAccountNumber: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
PanSequenceNumber: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The transaction counter of the current transaction that is provided by the terminal during transaction processing.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
ApplicationTransactionCounter: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The <code>keyArn</code> of the issuer master key for cryptogram (IMK-AC) for the payment card.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
AuthorizationRequestKeyIdentifier: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The encrypted pinblock of the old pin stored on the chip card.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
CurrentPinAttributes?: CurrentPinAttributes;
|
|
79
|
+
}
|
|
16
80
|
/**
|
|
17
81
|
* <p>Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.</p>
|
|
18
82
|
* @public
|
|
@@ -656,7 +720,7 @@ export interface EmvEncryptionAttributes {
|
|
|
656
720
|
*/
|
|
657
721
|
PrimaryAccountNumber: string | undefined;
|
|
658
722
|
/**
|
|
659
|
-
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).</p>
|
|
723
|
+
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.</p>
|
|
660
724
|
* @public
|
|
661
725
|
*/
|
|
662
726
|
PanSequenceNumber: string | undefined;
|
|
@@ -969,6 +1033,251 @@ export declare class ValidationException extends __BaseException {
|
|
|
969
1033
|
*/
|
|
970
1034
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
971
1035
|
}
|
|
1036
|
+
/**
|
|
1037
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a payment card using EMV2000 deruv.</p>
|
|
1038
|
+
* @public
|
|
1039
|
+
*/
|
|
1040
|
+
export interface Emv2000Attributes {
|
|
1041
|
+
/**
|
|
1042
|
+
* <p>The method to use when deriving the master key for the payment card.</p>
|
|
1043
|
+
* @public
|
|
1044
|
+
*/
|
|
1045
|
+
MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
|
|
1046
|
+
/**
|
|
1047
|
+
* <p>The Primary Account Number (PAN) of the cardholder.</p>
|
|
1048
|
+
* @public
|
|
1049
|
+
*/
|
|
1050
|
+
PrimaryAccountNumber: string | undefined;
|
|
1051
|
+
/**
|
|
1052
|
+
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.</p>
|
|
1053
|
+
* @public
|
|
1054
|
+
*/
|
|
1055
|
+
PanSequenceNumber: string | undefined;
|
|
1056
|
+
/**
|
|
1057
|
+
* <p>The transaction counter of the current transaction that is provided by the terminal during transaction processing.</p>
|
|
1058
|
+
* @public
|
|
1059
|
+
*/
|
|
1060
|
+
ApplicationTransactionCounter: string | undefined;
|
|
1061
|
+
}
|
|
1062
|
+
/**
|
|
1063
|
+
* @public
|
|
1064
|
+
* @enum
|
|
1065
|
+
*/
|
|
1066
|
+
export declare const PinBlockLengthPosition: {
|
|
1067
|
+
readonly FRONT_OF_PIN_BLOCK: "FRONT_OF_PIN_BLOCK";
|
|
1068
|
+
readonly NONE: "NONE";
|
|
1069
|
+
};
|
|
1070
|
+
/**
|
|
1071
|
+
* @public
|
|
1072
|
+
*/
|
|
1073
|
+
export type PinBlockLengthPosition = (typeof PinBlockLengthPosition)[keyof typeof PinBlockLengthPosition];
|
|
1074
|
+
/**
|
|
1075
|
+
* @public
|
|
1076
|
+
* @enum
|
|
1077
|
+
*/
|
|
1078
|
+
export declare const PinBlockPaddingType: {
|
|
1079
|
+
readonly ISO_IEC_7816_4: "ISO_IEC_7816_4";
|
|
1080
|
+
readonly NO_PADDING: "NO_PADDING";
|
|
1081
|
+
};
|
|
1082
|
+
/**
|
|
1083
|
+
* @public
|
|
1084
|
+
*/
|
|
1085
|
+
export type PinBlockPaddingType = (typeof PinBlockPaddingType)[keyof typeof PinBlockPaddingType];
|
|
1086
|
+
/**
|
|
1087
|
+
* <p>Parameters to derive the confidentiality and integrity keys for an Emv common payment card.</p>
|
|
1088
|
+
* @public
|
|
1089
|
+
*/
|
|
1090
|
+
export interface EmvCommonAttributes {
|
|
1091
|
+
/**
|
|
1092
|
+
* <p>The method to use when deriving the master key for the payment card.</p>
|
|
1093
|
+
* @public
|
|
1094
|
+
*/
|
|
1095
|
+
MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
|
|
1096
|
+
/**
|
|
1097
|
+
* <p>The Primary Account Number (PAN) of the cardholder.</p>
|
|
1098
|
+
* @public
|
|
1099
|
+
*/
|
|
1100
|
+
PrimaryAccountNumber: string | undefined;
|
|
1101
|
+
/**
|
|
1102
|
+
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.</p>
|
|
1103
|
+
* @public
|
|
1104
|
+
*/
|
|
1105
|
+
PanSequenceNumber: string | undefined;
|
|
1106
|
+
/**
|
|
1107
|
+
* <p>The application cryptogram for the current transaction that is provided by the terminal during transaction processing.</p>
|
|
1108
|
+
* @public
|
|
1109
|
+
*/
|
|
1110
|
+
ApplicationCryptogram: string | undefined;
|
|
1111
|
+
/**
|
|
1112
|
+
* <p>The block cipher method to use for encryption.</p>
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
Mode: EmvEncryptionMode | undefined;
|
|
1116
|
+
/**
|
|
1117
|
+
* <p>The padding to be added to the PIN block prior to encryption.</p>
|
|
1118
|
+
* <p>Padding type should be <code>ISO_IEC_7816_4</code>, if <code>PinBlockLengthPosition</code> is set to <code>FRONT_OF_PIN_BLOCK</code>. No padding is required, if <code>PinBlockLengthPosition</code> is set to <code>NONE</code>.</p>
|
|
1119
|
+
* @public
|
|
1120
|
+
*/
|
|
1121
|
+
PinBlockPaddingType: PinBlockPaddingType | undefined;
|
|
1122
|
+
/**
|
|
1123
|
+
* <p>Specifies if PIN block length should be added to front of the pin block. </p>
|
|
1124
|
+
* <p>If value is set to <code>FRONT_OF_PIN_BLOCK</code>, then PIN block padding type should be <code>ISO_IEC_7816_4</code>.</p>
|
|
1125
|
+
* @public
|
|
1126
|
+
*/
|
|
1127
|
+
PinBlockLengthPosition: PinBlockLengthPosition | undefined;
|
|
1128
|
+
}
|
|
1129
|
+
/**
|
|
1130
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a Mastercard payment card.</p>
|
|
1131
|
+
* @public
|
|
1132
|
+
*/
|
|
1133
|
+
export interface MasterCardAttributes {
|
|
1134
|
+
/**
|
|
1135
|
+
* <p>The method to use when deriving the master key for the payment card.</p>
|
|
1136
|
+
* @public
|
|
1137
|
+
*/
|
|
1138
|
+
MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
|
|
1139
|
+
/**
|
|
1140
|
+
* <p>The Primary Account Number (PAN) of the cardholder.</p>
|
|
1141
|
+
* @public
|
|
1142
|
+
*/
|
|
1143
|
+
PrimaryAccountNumber: string | undefined;
|
|
1144
|
+
/**
|
|
1145
|
+
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.</p>
|
|
1146
|
+
* @public
|
|
1147
|
+
*/
|
|
1148
|
+
PanSequenceNumber: string | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>The application cryptogram for the current transaction that is provided by the terminal during transaction processing.</p>
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
ApplicationCryptogram: string | undefined;
|
|
1154
|
+
}
|
|
1155
|
+
/**
|
|
1156
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a Visa payment card.</p>
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
export interface VisaAttributes {
|
|
1160
|
+
/**
|
|
1161
|
+
* <p>The method to use when deriving the master key for the payment card.</p>
|
|
1162
|
+
* @public
|
|
1163
|
+
*/
|
|
1164
|
+
MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>The Primary Account Number (PAN) of the cardholder.</p>
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
PrimaryAccountNumber: string | undefined;
|
|
1170
|
+
/**
|
|
1171
|
+
* <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.</p>
|
|
1172
|
+
* @public
|
|
1173
|
+
*/
|
|
1174
|
+
PanSequenceNumber: string | undefined;
|
|
1175
|
+
/**
|
|
1176
|
+
* <p>The transaction counter of the current transaction that is provided by the terminal during transaction processing.</p>
|
|
1177
|
+
* @public
|
|
1178
|
+
*/
|
|
1179
|
+
ApplicationTransactionCounter: string | undefined;
|
|
1180
|
+
/**
|
|
1181
|
+
* <p>The <code>keyArn</code> of the issuer master key for cryptogram (IMK-AC) for the payment card.</p>
|
|
1182
|
+
* @public
|
|
1183
|
+
*/
|
|
1184
|
+
AuthorizationRequestKeyIdentifier: string | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* <p>The encrypted pinblock of the old pin stored on the chip card.</p>
|
|
1187
|
+
* @public
|
|
1188
|
+
*/
|
|
1189
|
+
CurrentPinAttributes?: CurrentPinAttributes;
|
|
1190
|
+
}
|
|
1191
|
+
/**
|
|
1192
|
+
* <p>Parameters to derive the payment card specific confidentiality and integrity keys.</p>
|
|
1193
|
+
* @public
|
|
1194
|
+
*/
|
|
1195
|
+
export type DerivationMethodAttributes = DerivationMethodAttributes.AmexMember | DerivationMethodAttributes.Emv2000Member | DerivationMethodAttributes.EmvCommonMember | DerivationMethodAttributes.MastercardMember | DerivationMethodAttributes.VisaMember | DerivationMethodAttributes.$UnknownMember;
|
|
1196
|
+
/**
|
|
1197
|
+
* @public
|
|
1198
|
+
*/
|
|
1199
|
+
export declare namespace DerivationMethodAttributes {
|
|
1200
|
+
/**
|
|
1201
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a payment card using Emv common derivation method.</p>
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
interface EmvCommonMember {
|
|
1205
|
+
EmvCommon: EmvCommonAttributes;
|
|
1206
|
+
Amex?: never;
|
|
1207
|
+
Visa?: never;
|
|
1208
|
+
Emv2000?: never;
|
|
1209
|
+
Mastercard?: never;
|
|
1210
|
+
$unknown?: never;
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a payment card using Amex derivation method.</p>
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1216
|
+
interface AmexMember {
|
|
1217
|
+
EmvCommon?: never;
|
|
1218
|
+
Amex: AmexAttributes;
|
|
1219
|
+
Visa?: never;
|
|
1220
|
+
Emv2000?: never;
|
|
1221
|
+
Mastercard?: never;
|
|
1222
|
+
$unknown?: never;
|
|
1223
|
+
}
|
|
1224
|
+
/**
|
|
1225
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a a payment card using Visa derivation method.</p>
|
|
1226
|
+
* @public
|
|
1227
|
+
*/
|
|
1228
|
+
interface VisaMember {
|
|
1229
|
+
EmvCommon?: never;
|
|
1230
|
+
Amex?: never;
|
|
1231
|
+
Visa: VisaAttributes;
|
|
1232
|
+
Emv2000?: never;
|
|
1233
|
+
Mastercard?: never;
|
|
1234
|
+
$unknown?: never;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a payment card using Emv2000 derivation method.</p>
|
|
1238
|
+
* @public
|
|
1239
|
+
*/
|
|
1240
|
+
interface Emv2000Member {
|
|
1241
|
+
EmvCommon?: never;
|
|
1242
|
+
Amex?: never;
|
|
1243
|
+
Visa?: never;
|
|
1244
|
+
Emv2000: Emv2000Attributes;
|
|
1245
|
+
Mastercard?: never;
|
|
1246
|
+
$unknown?: never;
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* <p>Parameters to derive the confidentiality and integrity keys for a payment card using Mastercard derivation method.</p>
|
|
1250
|
+
* @public
|
|
1251
|
+
*/
|
|
1252
|
+
interface MastercardMember {
|
|
1253
|
+
EmvCommon?: never;
|
|
1254
|
+
Amex?: never;
|
|
1255
|
+
Visa?: never;
|
|
1256
|
+
Emv2000?: never;
|
|
1257
|
+
Mastercard: MasterCardAttributes;
|
|
1258
|
+
$unknown?: never;
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1263
|
+
interface $UnknownMember {
|
|
1264
|
+
EmvCommon?: never;
|
|
1265
|
+
Amex?: never;
|
|
1266
|
+
Visa?: never;
|
|
1267
|
+
Emv2000?: never;
|
|
1268
|
+
Mastercard?: never;
|
|
1269
|
+
$unknown: [string, any];
|
|
1270
|
+
}
|
|
1271
|
+
interface Visitor<T> {
|
|
1272
|
+
EmvCommon: (value: EmvCommonAttributes) => T;
|
|
1273
|
+
Amex: (value: AmexAttributes) => T;
|
|
1274
|
+
Visa: (value: VisaAttributes) => T;
|
|
1275
|
+
Emv2000: (value: Emv2000Attributes) => T;
|
|
1276
|
+
Mastercard: (value: MasterCardAttributes) => T;
|
|
1277
|
+
_: (name: string, value: any) => T;
|
|
1278
|
+
}
|
|
1279
|
+
const visit: <T>(value: DerivationMethodAttributes, visitor: Visitor<T>) => T;
|
|
1280
|
+
}
|
|
972
1281
|
/**
|
|
973
1282
|
* <p>Parameters that are used for Derived Unique Key Per Transaction (DUKPT) derivation algorithm.</p>
|
|
974
1283
|
* @public
|
|
@@ -1141,18 +1450,6 @@ export interface MacAlgorithmDukpt {
|
|
|
1141
1450
|
*/
|
|
1142
1451
|
DukptDerivationType?: DukptDerivationType;
|
|
1143
1452
|
}
|
|
1144
|
-
/**
|
|
1145
|
-
* @public
|
|
1146
|
-
* @enum
|
|
1147
|
-
*/
|
|
1148
|
-
export declare const MajorKeyDerivationMode: {
|
|
1149
|
-
readonly EMV_OPTION_A: "EMV_OPTION_A";
|
|
1150
|
-
readonly EMV_OPTION_B: "EMV_OPTION_B";
|
|
1151
|
-
};
|
|
1152
|
-
/**
|
|
1153
|
-
* @public
|
|
1154
|
-
*/
|
|
1155
|
-
export type MajorKeyDerivationMode = (typeof MajorKeyDerivationMode)[keyof typeof MajorKeyDerivationMode];
|
|
1156
1453
|
/**
|
|
1157
1454
|
* @public
|
|
1158
1455
|
* @enum
|
|
@@ -1377,6 +1674,135 @@ export interface GenerateMacOutput {
|
|
|
1377
1674
|
*/
|
|
1378
1675
|
Mac: string | undefined;
|
|
1379
1676
|
}
|
|
1677
|
+
/**
|
|
1678
|
+
* @public
|
|
1679
|
+
* @enum
|
|
1680
|
+
*/
|
|
1681
|
+
export declare const PinBlockFormatForEmvPinChange: {
|
|
1682
|
+
readonly ISO_FORMAT_0: "ISO_FORMAT_0";
|
|
1683
|
+
readonly ISO_FORMAT_1: "ISO_FORMAT_1";
|
|
1684
|
+
readonly ISO_FORMAT_3: "ISO_FORMAT_3";
|
|
1685
|
+
};
|
|
1686
|
+
/**
|
|
1687
|
+
* @public
|
|
1688
|
+
*/
|
|
1689
|
+
export type PinBlockFormatForEmvPinChange = (typeof PinBlockFormatForEmvPinChange)[keyof typeof PinBlockFormatForEmvPinChange];
|
|
1690
|
+
/**
|
|
1691
|
+
* @public
|
|
1692
|
+
*/
|
|
1693
|
+
export interface GenerateMacEmvPinChangeInput {
|
|
1694
|
+
/**
|
|
1695
|
+
* <p>The <code>keyARN</code> of the PEK protecting the incoming new encrypted PIN block.</p>
|
|
1696
|
+
* @public
|
|
1697
|
+
*/
|
|
1698
|
+
NewPinPekIdentifier: string | undefined;
|
|
1699
|
+
/**
|
|
1700
|
+
* <p>The incoming new encrypted PIN block data for offline pin change on an EMV card.</p>
|
|
1701
|
+
* @public
|
|
1702
|
+
*/
|
|
1703
|
+
NewEncryptedPinBlock: string | undefined;
|
|
1704
|
+
/**
|
|
1705
|
+
* <p>The PIN encoding format of the incoming new encrypted PIN block as specified in ISO 9564.</p>
|
|
1706
|
+
* @public
|
|
1707
|
+
*/
|
|
1708
|
+
PinBlockFormat: PinBlockFormatForEmvPinChange | undefined;
|
|
1709
|
+
/**
|
|
1710
|
+
* <p>The <code>keyARN</code> of the issuer master key (IMK-SMI) used to authenticate the issuer script response.</p>
|
|
1711
|
+
* @public
|
|
1712
|
+
*/
|
|
1713
|
+
SecureMessagingIntegrityKeyIdentifier: string | undefined;
|
|
1714
|
+
/**
|
|
1715
|
+
* <p>The <code>keyARN</code> of the issuer master key (IMK-SMC) used to protect the PIN block data in the issuer script response.</p>
|
|
1716
|
+
* @public
|
|
1717
|
+
*/
|
|
1718
|
+
SecureMessagingConfidentialityKeyIdentifier: string | undefined;
|
|
1719
|
+
/**
|
|
1720
|
+
* <p>The message data is the APDU command from the card reader or terminal. The target encrypted PIN block, after translation to ISO2 format, is appended to this message data to generate an issuer script response.</p>
|
|
1721
|
+
* @public
|
|
1722
|
+
*/
|
|
1723
|
+
MessageData: string | undefined;
|
|
1724
|
+
/**
|
|
1725
|
+
* <p>The attributes and data values to derive payment card specific confidentiality and integrity keys.</p>
|
|
1726
|
+
* @public
|
|
1727
|
+
*/
|
|
1728
|
+
DerivationMethodAttributes: DerivationMethodAttributes | undefined;
|
|
1729
|
+
}
|
|
1730
|
+
/**
|
|
1731
|
+
* <p>The attributes values used for Amex and Visa derivation methods.</p>
|
|
1732
|
+
* @public
|
|
1733
|
+
*/
|
|
1734
|
+
export interface VisaAmexDerivationOutputs {
|
|
1735
|
+
/**
|
|
1736
|
+
* <p>The <code>keyArn</code> of the issuer master key for cryptogram (IMK-AC) used by the operation.</p>
|
|
1737
|
+
* @public
|
|
1738
|
+
*/
|
|
1739
|
+
AuthorizationRequestKeyArn: string | undefined;
|
|
1740
|
+
/**
|
|
1741
|
+
* <p>The key check value (KCV) of the issuer master key for cryptogram (IMK-AC) used by the operation.</p>
|
|
1742
|
+
* @public
|
|
1743
|
+
*/
|
|
1744
|
+
AuthorizationRequestKeyCheckValue: string | undefined;
|
|
1745
|
+
/**
|
|
1746
|
+
* <p>The <code>keyArn</code> of the current PIN PEK.</p>
|
|
1747
|
+
* @public
|
|
1748
|
+
*/
|
|
1749
|
+
CurrentPinPekArn?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* <p>The key check value (KCV) of the current PIN PEK.</p>
|
|
1752
|
+
* @public
|
|
1753
|
+
*/
|
|
1754
|
+
CurrentPinPekKeyCheckValue?: string;
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* @public
|
|
1758
|
+
*/
|
|
1759
|
+
export interface GenerateMacEmvPinChangeOutput {
|
|
1760
|
+
/**
|
|
1761
|
+
* <p>Returns the <code>keyArn</code> of the PEK protecting the incoming new encrypted PIN block.</p>
|
|
1762
|
+
* @public
|
|
1763
|
+
*/
|
|
1764
|
+
NewPinPekArn: string | undefined;
|
|
1765
|
+
/**
|
|
1766
|
+
* <p>Returns the <code>keyArn</code> of the IMK-SMI used by the operation.</p>
|
|
1767
|
+
* @public
|
|
1768
|
+
*/
|
|
1769
|
+
SecureMessagingIntegrityKeyArn: string | undefined;
|
|
1770
|
+
/**
|
|
1771
|
+
* <p>Returns the <code>keyArn</code> of the IMK-SMC used by the operation.</p>
|
|
1772
|
+
* @public
|
|
1773
|
+
*/
|
|
1774
|
+
SecureMessagingConfidentialityKeyArn: string | undefined;
|
|
1775
|
+
/**
|
|
1776
|
+
* <p>Returns the mac of the issuer script containing message data and appended target encrypted pin block in ISO2 format.</p>
|
|
1777
|
+
* @public
|
|
1778
|
+
*/
|
|
1779
|
+
Mac: string | undefined;
|
|
1780
|
+
/**
|
|
1781
|
+
* <p>Returns the incoming new encrpted PIN block.</p>
|
|
1782
|
+
* @public
|
|
1783
|
+
*/
|
|
1784
|
+
EncryptedPinBlock: string | undefined;
|
|
1785
|
+
/**
|
|
1786
|
+
* <p>The key check value (KCV) of the PEK uprotecting the incoming new encrypted PIN block.</p>
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
NewPinPekKeyCheckValue: string | undefined;
|
|
1790
|
+
/**
|
|
1791
|
+
* <p>The key check value (KCV) of the SMI issuer master key used by the operation.</p>
|
|
1792
|
+
* @public
|
|
1793
|
+
*/
|
|
1794
|
+
SecureMessagingIntegrityKeyCheckValue: string | undefined;
|
|
1795
|
+
/**
|
|
1796
|
+
* <p>The key check value (KCV) of the SMC issuer master key used by the operation.</p>
|
|
1797
|
+
* @public
|
|
1798
|
+
*/
|
|
1799
|
+
SecureMessagingConfidentialityKeyCheckValue: string | undefined;
|
|
1800
|
+
/**
|
|
1801
|
+
* <p>The attribute values used for Amex and Visa derivation methods.</p>
|
|
1802
|
+
* @public
|
|
1803
|
+
*/
|
|
1804
|
+
VisaAmexDerivationOutputs?: VisaAmexDerivationOutputs;
|
|
1805
|
+
}
|
|
1380
1806
|
/**
|
|
1381
1807
|
* <p>Parameters that are required to generate or verify Ibm3624 natural PIN.</p>
|
|
1382
1808
|
* @public
|
|
@@ -2524,6 +2950,14 @@ export interface VerifyPinDataOutput {
|
|
|
2524
2950
|
*/
|
|
2525
2951
|
EncryptionKeyCheckValue: string | undefined;
|
|
2526
2952
|
}
|
|
2953
|
+
/**
|
|
2954
|
+
* @internal
|
|
2955
|
+
*/
|
|
2956
|
+
export declare const CurrentPinAttributesFilterSensitiveLog: (obj: CurrentPinAttributes) => any;
|
|
2957
|
+
/**
|
|
2958
|
+
* @internal
|
|
2959
|
+
*/
|
|
2960
|
+
export declare const AmexAttributesFilterSensitiveLog: (obj: AmexAttributes) => any;
|
|
2527
2961
|
/**
|
|
2528
2962
|
* @internal
|
|
2529
2963
|
*/
|
|
@@ -2600,6 +3034,26 @@ export declare const DecryptDataInputFilterSensitiveLog: (obj: DecryptDataInput)
|
|
|
2600
3034
|
* @internal
|
|
2601
3035
|
*/
|
|
2602
3036
|
export declare const DecryptDataOutputFilterSensitiveLog: (obj: DecryptDataOutput) => any;
|
|
3037
|
+
/**
|
|
3038
|
+
* @internal
|
|
3039
|
+
*/
|
|
3040
|
+
export declare const Emv2000AttributesFilterSensitiveLog: (obj: Emv2000Attributes) => any;
|
|
3041
|
+
/**
|
|
3042
|
+
* @internal
|
|
3043
|
+
*/
|
|
3044
|
+
export declare const EmvCommonAttributesFilterSensitiveLog: (obj: EmvCommonAttributes) => any;
|
|
3045
|
+
/**
|
|
3046
|
+
* @internal
|
|
3047
|
+
*/
|
|
3048
|
+
export declare const MasterCardAttributesFilterSensitiveLog: (obj: MasterCardAttributes) => any;
|
|
3049
|
+
/**
|
|
3050
|
+
* @internal
|
|
3051
|
+
*/
|
|
3052
|
+
export declare const VisaAttributesFilterSensitiveLog: (obj: VisaAttributes) => any;
|
|
3053
|
+
/**
|
|
3054
|
+
* @internal
|
|
3055
|
+
*/
|
|
3056
|
+
export declare const DerivationMethodAttributesFilterSensitiveLog: (obj: DerivationMethodAttributes) => any;
|
|
2603
3057
|
/**
|
|
2604
3058
|
* @internal
|
|
2605
3059
|
*/
|
|
@@ -2636,6 +3090,14 @@ export declare const GenerateMacInputFilterSensitiveLog: (obj: GenerateMacInput)
|
|
|
2636
3090
|
* @internal
|
|
2637
3091
|
*/
|
|
2638
3092
|
export declare const GenerateMacOutputFilterSensitiveLog: (obj: GenerateMacOutput) => any;
|
|
3093
|
+
/**
|
|
3094
|
+
* @internal
|
|
3095
|
+
*/
|
|
3096
|
+
export declare const GenerateMacEmvPinChangeInputFilterSensitiveLog: (obj: GenerateMacEmvPinChangeInput) => any;
|
|
3097
|
+
/**
|
|
3098
|
+
* @internal
|
|
3099
|
+
*/
|
|
3100
|
+
export declare const GenerateMacEmvPinChangeOutputFilterSensitiveLog: (obj: GenerateMacEmvPinChangeOutput) => any;
|
|
2639
3101
|
/**
|
|
2640
3102
|
* @internal
|
|
2641
3103
|
*/
|
|
@@ -4,6 +4,7 @@ import { DecryptDataCommandInput, DecryptDataCommandOutput } from "../commands/D
|
|
|
4
4
|
import { EncryptDataCommandInput, EncryptDataCommandOutput } from "../commands/EncryptDataCommand";
|
|
5
5
|
import { GenerateCardValidationDataCommandInput, GenerateCardValidationDataCommandOutput } from "../commands/GenerateCardValidationDataCommand";
|
|
6
6
|
import { GenerateMacCommandInput, GenerateMacCommandOutput } from "../commands/GenerateMacCommand";
|
|
7
|
+
import { GenerateMacEmvPinChangeCommandInput, GenerateMacEmvPinChangeCommandOutput } from "../commands/GenerateMacEmvPinChangeCommand";
|
|
7
8
|
import { GeneratePinDataCommandInput, GeneratePinDataCommandOutput } from "../commands/GeneratePinDataCommand";
|
|
8
9
|
import { ReEncryptDataCommandInput, ReEncryptDataCommandOutput } from "../commands/ReEncryptDataCommand";
|
|
9
10
|
import { TranslatePinDataCommandInput, TranslatePinDataCommandOutput } from "../commands/TranslatePinDataCommand";
|
|
@@ -27,6 +28,10 @@ export declare const se_GenerateCardValidationDataCommand: (input: GenerateCardV
|
|
|
27
28
|
* serializeAws_restJson1GenerateMacCommand
|
|
28
29
|
*/
|
|
29
30
|
export declare const se_GenerateMacCommand: (input: GenerateMacCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
/**
|
|
32
|
+
* serializeAws_restJson1GenerateMacEmvPinChangeCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const se_GenerateMacEmvPinChangeCommand: (input: GenerateMacEmvPinChangeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
35
|
/**
|
|
31
36
|
* serializeAws_restJson1GeneratePinDataCommand
|
|
32
37
|
*/
|
|
@@ -71,6 +76,10 @@ export declare const de_GenerateCardValidationDataCommand: (output: __HttpRespon
|
|
|
71
76
|
* deserializeAws_restJson1GenerateMacCommand
|
|
72
77
|
*/
|
|
73
78
|
export declare const de_GenerateMacCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateMacCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* deserializeAws_restJson1GenerateMacEmvPinChangeCommand
|
|
81
|
+
*/
|
|
82
|
+
export declare const de_GenerateMacEmvPinChangeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateMacEmvPinChangeCommandOutput>;
|
|
74
83
|
/**
|
|
75
84
|
* deserializeAws_restJson1GeneratePinDataCommand
|
|
76
85
|
*/
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyDataClientCon
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
|
-
defaultUserAgentProvider: (config
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyDataClientCon
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
defaultUserAgentProvider: (config
|
|
23
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
24
24
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
GenerateMacCommandInput,
|
|
16
16
|
GenerateMacCommandOutput,
|
|
17
17
|
} from "./commands/GenerateMacCommand";
|
|
18
|
+
import {
|
|
19
|
+
GenerateMacEmvPinChangeCommandInput,
|
|
20
|
+
GenerateMacEmvPinChangeCommandOutput,
|
|
21
|
+
} from "./commands/GenerateMacEmvPinChangeCommand";
|
|
18
22
|
import {
|
|
19
23
|
GeneratePinDataCommandInput,
|
|
20
24
|
GeneratePinDataCommandOutput,
|
|
@@ -97,6 +101,19 @@ export interface PaymentCryptographyData {
|
|
|
97
101
|
options: __HttpHandlerOptions,
|
|
98
102
|
cb: (err: any, data?: GenerateMacCommandOutput) => void
|
|
99
103
|
): void;
|
|
104
|
+
generateMacEmvPinChange(
|
|
105
|
+
args: GenerateMacEmvPinChangeCommandInput,
|
|
106
|
+
options?: __HttpHandlerOptions
|
|
107
|
+
): Promise<GenerateMacEmvPinChangeCommandOutput>;
|
|
108
|
+
generateMacEmvPinChange(
|
|
109
|
+
args: GenerateMacEmvPinChangeCommandInput,
|
|
110
|
+
cb: (err: any, data?: GenerateMacEmvPinChangeCommandOutput) => void
|
|
111
|
+
): void;
|
|
112
|
+
generateMacEmvPinChange(
|
|
113
|
+
args: GenerateMacEmvPinChangeCommandInput,
|
|
114
|
+
options: __HttpHandlerOptions,
|
|
115
|
+
cb: (err: any, data?: GenerateMacEmvPinChangeCommandOutput) => void
|
|
116
|
+
): void;
|
|
100
117
|
generatePinData(
|
|
101
118
|
args: GeneratePinDataCommandInput,
|
|
102
119
|
options?: __HttpHandlerOptions
|
|
@@ -61,6 +61,10 @@ import {
|
|
|
61
61
|
GenerateMacCommandInput,
|
|
62
62
|
GenerateMacCommandOutput,
|
|
63
63
|
} from "./commands/GenerateMacCommand";
|
|
64
|
+
import {
|
|
65
|
+
GenerateMacEmvPinChangeCommandInput,
|
|
66
|
+
GenerateMacEmvPinChangeCommandOutput,
|
|
67
|
+
} from "./commands/GenerateMacEmvPinChangeCommand";
|
|
64
68
|
import {
|
|
65
69
|
GeneratePinDataCommandInput,
|
|
66
70
|
GeneratePinDataCommandOutput,
|
|
@@ -101,6 +105,7 @@ export type ServiceInputTypes =
|
|
|
101
105
|
| EncryptDataCommandInput
|
|
102
106
|
| GenerateCardValidationDataCommandInput
|
|
103
107
|
| GenerateMacCommandInput
|
|
108
|
+
| GenerateMacEmvPinChangeCommandInput
|
|
104
109
|
| GeneratePinDataCommandInput
|
|
105
110
|
| ReEncryptDataCommandInput
|
|
106
111
|
| TranslatePinDataCommandInput
|
|
@@ -113,6 +118,7 @@ export type ServiceOutputTypes =
|
|
|
113
118
|
| EncryptDataCommandOutput
|
|
114
119
|
| GenerateCardValidationDataCommandOutput
|
|
115
120
|
| GenerateMacCommandOutput
|
|
121
|
+
| GenerateMacEmvPinChangeCommandOutput
|
|
116
122
|
| GeneratePinDataCommandOutput
|
|
117
123
|
| ReEncryptDataCommandOutput
|
|
118
124
|
| TranslatePinDataCommandOutput
|