@aws-sdk/client-payment-cryptography-data 3.686.0 → 3.691.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.
|
@@ -7,7 +7,7 @@ import { PaymentCryptographyDataServiceException as __BaseException } from "./Pa
|
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
9
9
|
readonly $fault: "client";
|
|
10
|
-
Message?: string;
|
|
10
|
+
Message?: string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
@@ -75,7 +75,7 @@ export interface AmexAttributes {
|
|
|
75
75
|
* <p>The encrypted pinblock of the old pin stored on the chip card.</p>
|
|
76
76
|
* @public
|
|
77
77
|
*/
|
|
78
|
-
CurrentPinAttributes?: CurrentPinAttributes;
|
|
78
|
+
CurrentPinAttributes?: CurrentPinAttributes | undefined;
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* <p>Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.</p>
|
|
@@ -127,7 +127,7 @@ export interface AsymmetricEncryptionAttributes {
|
|
|
127
127
|
* <p>The padding to be included with the data.</p>
|
|
128
128
|
* @public
|
|
129
129
|
*/
|
|
130
|
-
PaddingType?: PaddingType;
|
|
130
|
+
PaddingType?: PaddingType | undefined;
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
133
|
* <p>Card data parameters that are required to generate a cardholder verification value for the payment card.</p>
|
|
@@ -563,7 +563,7 @@ export interface CryptogramVerificationArpcMethod2 {
|
|
|
563
563
|
* <p>The proprietary authentication data used by issuer for communication during online transaction using an EMV chip card.</p>
|
|
564
564
|
* @public
|
|
565
565
|
*/
|
|
566
|
-
ProprietaryAuthenticationData?: string;
|
|
566
|
+
ProprietaryAuthenticationData?: string | undefined;
|
|
567
567
|
}
|
|
568
568
|
/**
|
|
569
569
|
* <p>Parameters that are required for Authorization Response Cryptogram (ARPC) generation after Authorization Request Cryptogram (ARQC) verification is successful.</p>
|
|
@@ -662,23 +662,23 @@ export interface DukptEncryptionAttributes {
|
|
|
662
662
|
* <p>The default is CBC.</p>
|
|
663
663
|
* @public
|
|
664
664
|
*/
|
|
665
|
-
Mode?: DukptEncryptionMode;
|
|
665
|
+
Mode?: DukptEncryptionMode | undefined;
|
|
666
666
|
/**
|
|
667
667
|
* <p>The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use <code>AES_128</code> as a derivation type for a BDK of <code>AES_128</code> or <code>TDES_2KEY</code>
|
|
668
668
|
* </p>
|
|
669
669
|
* @public
|
|
670
670
|
*/
|
|
671
|
-
DukptKeyDerivationType?: DukptDerivationType;
|
|
671
|
+
DukptKeyDerivationType?: DukptDerivationType | undefined;
|
|
672
672
|
/**
|
|
673
673
|
* <p>The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.</p>
|
|
674
674
|
* @public
|
|
675
675
|
*/
|
|
676
|
-
DukptKeyVariant?: DukptKeyVariant;
|
|
676
|
+
DukptKeyVariant?: DukptKeyVariant | undefined;
|
|
677
677
|
/**
|
|
678
678
|
* <p>An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.</p>
|
|
679
679
|
* @public
|
|
680
680
|
*/
|
|
681
|
-
InitializationVector?: string;
|
|
681
|
+
InitializationVector?: string | undefined;
|
|
682
682
|
}
|
|
683
683
|
/**
|
|
684
684
|
* @public
|
|
@@ -733,12 +733,12 @@ export interface EmvEncryptionAttributes {
|
|
|
733
733
|
* <p>The block cipher method to use for encryption.</p>
|
|
734
734
|
* @public
|
|
735
735
|
*/
|
|
736
|
-
Mode?: EmvEncryptionMode;
|
|
736
|
+
Mode?: EmvEncryptionMode | undefined;
|
|
737
737
|
/**
|
|
738
738
|
* <p>An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.</p>
|
|
739
739
|
* @public
|
|
740
740
|
*/
|
|
741
|
-
InitializationVector?: string;
|
|
741
|
+
InitializationVector?: string | undefined;
|
|
742
742
|
}
|
|
743
743
|
/**
|
|
744
744
|
* @public
|
|
@@ -772,12 +772,12 @@ export interface SymmetricEncryptionAttributes {
|
|
|
772
772
|
* <p>An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.</p>
|
|
773
773
|
* @public
|
|
774
774
|
*/
|
|
775
|
-
InitializationVector?: string;
|
|
775
|
+
InitializationVector?: string | undefined;
|
|
776
776
|
/**
|
|
777
777
|
* <p>The padding to be included with the data.</p>
|
|
778
778
|
* @public
|
|
779
779
|
*/
|
|
780
|
-
PaddingType?: PaddingType;
|
|
780
|
+
PaddingType?: PaddingType | undefined;
|
|
781
781
|
}
|
|
782
782
|
/**
|
|
783
783
|
* <p>Parameters that are required to perform encryption and decryption operations.</p>
|
|
@@ -997,7 +997,7 @@ export interface WrappedKey {
|
|
|
997
997
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
998
998
|
* @public
|
|
999
999
|
*/
|
|
1000
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
1000
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
1001
1001
|
}
|
|
1002
1002
|
/**
|
|
1003
1003
|
* @public
|
|
@@ -1023,7 +1023,7 @@ export interface DecryptDataInput {
|
|
|
1023
1023
|
* <p>The WrappedKeyBlock containing the encryption key for ciphertext decryption.</p>
|
|
1024
1024
|
* @public
|
|
1025
1025
|
*/
|
|
1026
|
-
WrappedKey?: WrappedKey;
|
|
1026
|
+
WrappedKey?: WrappedKey | undefined;
|
|
1027
1027
|
}
|
|
1028
1028
|
/**
|
|
1029
1029
|
* @public
|
|
@@ -1053,7 +1053,7 @@ export interface DecryptDataOutput {
|
|
|
1053
1053
|
export declare class InternalServerException extends __BaseException {
|
|
1054
1054
|
readonly name: "InternalServerException";
|
|
1055
1055
|
readonly $fault: "server";
|
|
1056
|
-
Message?: string;
|
|
1056
|
+
Message?: string | undefined;
|
|
1057
1057
|
/**
|
|
1058
1058
|
* @internal
|
|
1059
1059
|
*/
|
|
@@ -1070,7 +1070,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
1070
1070
|
* <p>The resource that is missing.</p>
|
|
1071
1071
|
* @public
|
|
1072
1072
|
*/
|
|
1073
|
-
ResourceId?: string;
|
|
1073
|
+
ResourceId?: string | undefined;
|
|
1074
1074
|
/**
|
|
1075
1075
|
* @internal
|
|
1076
1076
|
*/
|
|
@@ -1083,7 +1083,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
1083
1083
|
export declare class ThrottlingException extends __BaseException {
|
|
1084
1084
|
readonly name: "ThrottlingException";
|
|
1085
1085
|
readonly $fault: "client";
|
|
1086
|
-
Message?: string;
|
|
1086
|
+
Message?: string | undefined;
|
|
1087
1087
|
/**
|
|
1088
1088
|
* @internal
|
|
1089
1089
|
*/
|
|
@@ -1116,7 +1116,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
1116
1116
|
* <p>The request was denied due to an invalid request error.</p>
|
|
1117
1117
|
* @public
|
|
1118
1118
|
*/
|
|
1119
|
-
fieldList?: ValidationExceptionField[];
|
|
1119
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
1120
1120
|
/**
|
|
1121
1121
|
* @internal
|
|
1122
1122
|
*/
|
|
@@ -1275,7 +1275,7 @@ export interface VisaAttributes {
|
|
|
1275
1275
|
* <p>The encrypted pinblock of the old pin stored on the chip card.</p>
|
|
1276
1276
|
* @public
|
|
1277
1277
|
*/
|
|
1278
|
-
CurrentPinAttributes?: CurrentPinAttributes;
|
|
1278
|
+
CurrentPinAttributes?: CurrentPinAttributes | undefined;
|
|
1279
1279
|
}
|
|
1280
1280
|
/**
|
|
1281
1281
|
* <p>Parameters to derive the payment card specific confidentiality and integrity keys.</p>
|
|
@@ -1398,12 +1398,12 @@ export interface DukptDerivationAttributes {
|
|
|
1398
1398
|
* </p>
|
|
1399
1399
|
* @public
|
|
1400
1400
|
*/
|
|
1401
|
-
DukptKeyDerivationType?: DukptDerivationType;
|
|
1401
|
+
DukptKeyDerivationType?: DukptDerivationType | undefined;
|
|
1402
1402
|
/**
|
|
1403
1403
|
* <p>The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, or both.</p>
|
|
1404
1404
|
* @public
|
|
1405
1405
|
*/
|
|
1406
|
-
DukptKeyVariant?: DukptKeyVariant;
|
|
1406
|
+
DukptKeyVariant?: DukptKeyVariant | undefined;
|
|
1407
1407
|
}
|
|
1408
1408
|
/**
|
|
1409
1409
|
* @public
|
|
@@ -1432,7 +1432,7 @@ export interface EncryptDataInput {
|
|
|
1432
1432
|
* <p>The WrappedKeyBlock containing the encryption key for plaintext encryption.</p>
|
|
1433
1433
|
* @public
|
|
1434
1434
|
*/
|
|
1435
|
-
WrappedKey?: WrappedKey;
|
|
1435
|
+
WrappedKey?: WrappedKey | undefined;
|
|
1436
1436
|
}
|
|
1437
1437
|
/**
|
|
1438
1438
|
* @public
|
|
@@ -1448,7 +1448,7 @@ export interface EncryptDataOutput {
|
|
|
1448
1448
|
* <p>Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.</p>
|
|
1449
1449
|
* @public
|
|
1450
1450
|
*/
|
|
1451
|
-
KeyCheckValue?: string;
|
|
1451
|
+
KeyCheckValue?: string | undefined;
|
|
1452
1452
|
/**
|
|
1453
1453
|
* <p>The encrypted ciphertext.</p>
|
|
1454
1454
|
* @public
|
|
@@ -1478,7 +1478,7 @@ export interface GenerateCardValidationDataInput {
|
|
|
1478
1478
|
* <p>The length of the CVV or CSC to be generated. The default value is 3.</p>
|
|
1479
1479
|
* @public
|
|
1480
1480
|
*/
|
|
1481
|
-
ValidationDataLength?: number;
|
|
1481
|
+
ValidationDataLength?: number | undefined;
|
|
1482
1482
|
}
|
|
1483
1483
|
/**
|
|
1484
1484
|
* @public
|
|
@@ -1537,7 +1537,7 @@ export interface MacAlgorithmDukpt {
|
|
|
1537
1537
|
* <p>The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use <code>AES_128</code> as a derivation type for a BDK of <code>AES_128</code> or <code>TDES_2KEY</code>.</p>
|
|
1538
1538
|
* @public
|
|
1539
1539
|
*/
|
|
1540
|
-
DukptDerivationType?: DukptDerivationType;
|
|
1540
|
+
DukptDerivationType?: DukptDerivationType | undefined;
|
|
1541
1541
|
}
|
|
1542
1542
|
/**
|
|
1543
1543
|
* @public
|
|
@@ -1740,7 +1740,7 @@ export interface GenerateMacInput {
|
|
|
1740
1740
|
* <p>The length of a MAC under generation.</p>
|
|
1741
1741
|
* @public
|
|
1742
1742
|
*/
|
|
1743
|
-
MacLength?: number;
|
|
1743
|
+
MacLength?: number | undefined;
|
|
1744
1744
|
}
|
|
1745
1745
|
/**
|
|
1746
1746
|
* @public
|
|
@@ -1835,12 +1835,12 @@ export interface VisaAmexDerivationOutputs {
|
|
|
1835
1835
|
* <p>The <code>keyArn</code> of the current PIN PEK.</p>
|
|
1836
1836
|
* @public
|
|
1837
1837
|
*/
|
|
1838
|
-
CurrentPinPekArn?: string;
|
|
1838
|
+
CurrentPinPekArn?: string | undefined;
|
|
1839
1839
|
/**
|
|
1840
1840
|
* <p>The key check value (KCV) of the current PIN PEK.</p>
|
|
1841
1841
|
* @public
|
|
1842
1842
|
*/
|
|
1843
|
-
CurrentPinPekKeyCheckValue?: string;
|
|
1843
|
+
CurrentPinPekKeyCheckValue?: string | undefined;
|
|
1844
1844
|
}
|
|
1845
1845
|
/**
|
|
1846
1846
|
* @public
|
|
@@ -1890,7 +1890,7 @@ export interface GenerateMacEmvPinChangeOutput {
|
|
|
1890
1890
|
* <p>The attribute values used for Amex and Visa derivation methods.</p>
|
|
1891
1891
|
* @public
|
|
1892
1892
|
*/
|
|
1893
|
-
VisaAmexDerivationOutputs?: VisaAmexDerivationOutputs;
|
|
1893
|
+
VisaAmexDerivationOutputs?: VisaAmexDerivationOutputs | undefined;
|
|
1894
1894
|
}
|
|
1895
1895
|
/**
|
|
1896
1896
|
* <p>Parameters that are required to generate or verify Ibm3624 natural PIN.</p>
|
|
@@ -2159,7 +2159,7 @@ export interface GeneratePinDataInput {
|
|
|
2159
2159
|
* <p>The length of PIN under generation.</p>
|
|
2160
2160
|
* @public
|
|
2161
2161
|
*/
|
|
2162
|
-
PinDataLength?: number;
|
|
2162
|
+
PinDataLength?: number | undefined;
|
|
2163
2163
|
/**
|
|
2164
2164
|
* <p>The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.</p>
|
|
2165
2165
|
* @public
|
|
@@ -2176,7 +2176,7 @@ export interface GeneratePinDataInput {
|
|
|
2176
2176
|
* <p>Parameter information of a WrappedKeyBlock for encryption key exchange.</p>
|
|
2177
2177
|
* @public
|
|
2178
2178
|
*/
|
|
2179
|
-
EncryptionWrappedKey?: WrappedKey;
|
|
2179
|
+
EncryptionWrappedKey?: WrappedKey | undefined;
|
|
2180
2180
|
}
|
|
2181
2181
|
/**
|
|
2182
2182
|
* <p>Parameters that are required to generate, translate, or verify PIN data.</p>
|
|
@@ -2359,12 +2359,12 @@ export interface ReEncryptDataInput {
|
|
|
2359
2359
|
* <p>The WrappedKeyBlock containing the encryption key of incoming ciphertext data.</p>
|
|
2360
2360
|
* @public
|
|
2361
2361
|
*/
|
|
2362
|
-
IncomingWrappedKey?: WrappedKey;
|
|
2362
|
+
IncomingWrappedKey?: WrappedKey | undefined;
|
|
2363
2363
|
/**
|
|
2364
2364
|
* <p>The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.</p>
|
|
2365
2365
|
* @public
|
|
2366
2366
|
*/
|
|
2367
|
-
OutgoingWrappedKey?: WrappedKey;
|
|
2367
|
+
OutgoingWrappedKey?: WrappedKey | undefined;
|
|
2368
2368
|
}
|
|
2369
2369
|
/**
|
|
2370
2370
|
* @public
|
|
@@ -2511,22 +2511,22 @@ export interface TranslatePinDataInput {
|
|
|
2511
2511
|
* <p>The attributes and values to use for incoming DUKPT encryption key for PIN block translation.</p>
|
|
2512
2512
|
* @public
|
|
2513
2513
|
*/
|
|
2514
|
-
IncomingDukptAttributes?: DukptDerivationAttributes;
|
|
2514
|
+
IncomingDukptAttributes?: DukptDerivationAttributes | undefined;
|
|
2515
2515
|
/**
|
|
2516
2516
|
* <p>The attributes and values to use for outgoing DUKPT encryption key after PIN block translation.</p>
|
|
2517
2517
|
* @public
|
|
2518
2518
|
*/
|
|
2519
|
-
OutgoingDukptAttributes?: DukptDerivationAttributes;
|
|
2519
|
+
OutgoingDukptAttributes?: DukptDerivationAttributes | undefined;
|
|
2520
2520
|
/**
|
|
2521
2521
|
* <p>The WrappedKeyBlock containing the encryption key under which incoming PIN block data is encrypted.</p>
|
|
2522
2522
|
* @public
|
|
2523
2523
|
*/
|
|
2524
|
-
IncomingWrappedKey?: WrappedKey;
|
|
2524
|
+
IncomingWrappedKey?: WrappedKey | undefined;
|
|
2525
2525
|
/**
|
|
2526
2526
|
* <p>The WrappedKeyBlock containing the encryption key for encrypting outgoing PIN block data.</p>
|
|
2527
2527
|
* @public
|
|
2528
2528
|
*/
|
|
2529
|
-
OutgoingWrappedKey?: WrappedKey;
|
|
2529
|
+
OutgoingWrappedKey?: WrappedKey | undefined;
|
|
2530
2530
|
}
|
|
2531
2531
|
/**
|
|
2532
2532
|
* @public
|
|
@@ -2804,7 +2804,7 @@ export interface VerifyAuthRequestCryptogramInput {
|
|
|
2804
2804
|
* <p>The attributes and values for auth request cryptogram verification. These parameters are required in case using ARPC Method 1 or Method 2 for ARQC verification.</p>
|
|
2805
2805
|
* @public
|
|
2806
2806
|
*/
|
|
2807
|
-
AuthResponseAttributes?: CryptogramAuthResponse;
|
|
2807
|
+
AuthResponseAttributes?: CryptogramAuthResponse | undefined;
|
|
2808
2808
|
}
|
|
2809
2809
|
/**
|
|
2810
2810
|
* @public
|
|
@@ -2825,7 +2825,7 @@ export interface VerifyAuthRequestCryptogramOutput {
|
|
|
2825
2825
|
* <p>The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography.</p>
|
|
2826
2826
|
* @public
|
|
2827
2827
|
*/
|
|
2828
|
-
AuthResponseValue?: string;
|
|
2828
|
+
AuthResponseValue?: string | undefined;
|
|
2829
2829
|
}
|
|
2830
2830
|
/**
|
|
2831
2831
|
* @public
|
|
@@ -2896,7 +2896,7 @@ export interface VerifyMacInput {
|
|
|
2896
2896
|
* <p>The length of the MAC.</p>
|
|
2897
2897
|
* @public
|
|
2898
2898
|
*/
|
|
2899
|
-
MacLength?: number;
|
|
2899
|
+
MacLength?: number | undefined;
|
|
2900
2900
|
}
|
|
2901
2901
|
/**
|
|
2902
2902
|
* @public
|
|
@@ -3012,17 +3012,17 @@ export interface VerifyPinDataInput {
|
|
|
3012
3012
|
* <p>The length of PIN being verified.</p>
|
|
3013
3013
|
* @public
|
|
3014
3014
|
*/
|
|
3015
|
-
PinDataLength?: number;
|
|
3015
|
+
PinDataLength?: number | undefined;
|
|
3016
3016
|
/**
|
|
3017
3017
|
* <p>The attributes and values for the DUKPT encrypted PIN block data.</p>
|
|
3018
3018
|
* @public
|
|
3019
3019
|
*/
|
|
3020
|
-
DukptAttributes?: DukptAttributes;
|
|
3020
|
+
DukptAttributes?: DukptAttributes | undefined;
|
|
3021
3021
|
/**
|
|
3022
3022
|
* <p>Parameter information of a WrappedKeyBlock for encryption key exchange.</p>
|
|
3023
3023
|
* @public
|
|
3024
3024
|
*/
|
|
3025
|
-
EncryptionWrappedKey?: WrappedKey;
|
|
3025
|
+
EncryptionWrappedKey?: WrappedKey | undefined;
|
|
3026
3026
|
}
|
|
3027
3027
|
/**
|
|
3028
3028
|
* @public
|
|
@@ -3,7 +3,7 @@ import { PaymentCryptographyDataServiceException as __BaseException } from "./Pa
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
Message?: string;
|
|
6
|
+
Message?: string | undefined;
|
|
7
7
|
constructor(
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
@@ -24,7 +24,7 @@ export interface AmexAttributes {
|
|
|
24
24
|
PanSequenceNumber: string | undefined;
|
|
25
25
|
ApplicationTransactionCounter: string | undefined;
|
|
26
26
|
AuthorizationRequestKeyIdentifier: string | undefined;
|
|
27
|
-
CurrentPinAttributes?: CurrentPinAttributes;
|
|
27
|
+
CurrentPinAttributes?: CurrentPinAttributes | undefined;
|
|
28
28
|
}
|
|
29
29
|
export interface AmexCardSecurityCodeVersion1 {
|
|
30
30
|
CardExpiryDate: string | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const PaddingType: {
|
|
|
41
41
|
};
|
|
42
42
|
export type PaddingType = (typeof PaddingType)[keyof typeof PaddingType];
|
|
43
43
|
export interface AsymmetricEncryptionAttributes {
|
|
44
|
-
PaddingType?: PaddingType;
|
|
44
|
+
PaddingType?: PaddingType | undefined;
|
|
45
45
|
}
|
|
46
46
|
export interface CardHolderVerificationValue {
|
|
47
47
|
UnpredictableNumber: string | undefined;
|
|
@@ -304,7 +304,7 @@ export interface CryptogramVerificationArpcMethod1 {
|
|
|
304
304
|
}
|
|
305
305
|
export interface CryptogramVerificationArpcMethod2 {
|
|
306
306
|
CardStatusUpdate: string | undefined;
|
|
307
|
-
ProprietaryAuthenticationData?: string;
|
|
307
|
+
ProprietaryAuthenticationData?: string | undefined;
|
|
308
308
|
}
|
|
309
309
|
export type CryptogramAuthResponse =
|
|
310
310
|
| CryptogramAuthResponse.ArpcMethod1Member
|
|
@@ -357,10 +357,10 @@ export type DukptEncryptionMode =
|
|
|
357
357
|
(typeof DukptEncryptionMode)[keyof typeof DukptEncryptionMode];
|
|
358
358
|
export interface DukptEncryptionAttributes {
|
|
359
359
|
KeySerialNumber: string | undefined;
|
|
360
|
-
Mode?: DukptEncryptionMode;
|
|
361
|
-
DukptKeyDerivationType?: DukptDerivationType;
|
|
362
|
-
DukptKeyVariant?: DukptKeyVariant;
|
|
363
|
-
InitializationVector?: string;
|
|
360
|
+
Mode?: DukptEncryptionMode | undefined;
|
|
361
|
+
DukptKeyDerivationType?: DukptDerivationType | undefined;
|
|
362
|
+
DukptKeyVariant?: DukptKeyVariant | undefined;
|
|
363
|
+
InitializationVector?: string | undefined;
|
|
364
364
|
}
|
|
365
365
|
export declare const EmvMajorKeyDerivationMode: {
|
|
366
366
|
readonly EMV_OPTION_A: "EMV_OPTION_A";
|
|
@@ -379,8 +379,8 @@ export interface EmvEncryptionAttributes {
|
|
|
379
379
|
PrimaryAccountNumber: string | undefined;
|
|
380
380
|
PanSequenceNumber: string | undefined;
|
|
381
381
|
SessionDerivationData: string | undefined;
|
|
382
|
-
Mode?: EmvEncryptionMode;
|
|
383
|
-
InitializationVector?: string;
|
|
382
|
+
Mode?: EmvEncryptionMode | undefined;
|
|
383
|
+
InitializationVector?: string | undefined;
|
|
384
384
|
}
|
|
385
385
|
export declare const EncryptionMode: {
|
|
386
386
|
readonly CBC: "CBC";
|
|
@@ -396,8 +396,8 @@ export type EncryptionMode =
|
|
|
396
396
|
(typeof EncryptionMode)[keyof typeof EncryptionMode];
|
|
397
397
|
export interface SymmetricEncryptionAttributes {
|
|
398
398
|
Mode: EncryptionMode | undefined;
|
|
399
|
-
InitializationVector?: string;
|
|
400
|
-
PaddingType?: PaddingType;
|
|
399
|
+
InitializationVector?: string | undefined;
|
|
400
|
+
PaddingType?: PaddingType | undefined;
|
|
401
401
|
}
|
|
402
402
|
export type EncryptionDecryptionAttributes =
|
|
403
403
|
| EncryptionDecryptionAttributes.AsymmetricMember
|
|
@@ -518,13 +518,13 @@ export declare namespace WrappedKeyMaterial {
|
|
|
518
518
|
}
|
|
519
519
|
export interface WrappedKey {
|
|
520
520
|
WrappedKeyMaterial: WrappedKeyMaterial | undefined;
|
|
521
|
-
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
521
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm | undefined;
|
|
522
522
|
}
|
|
523
523
|
export interface DecryptDataInput {
|
|
524
524
|
KeyIdentifier: string | undefined;
|
|
525
525
|
CipherText: string | undefined;
|
|
526
526
|
DecryptionAttributes: EncryptionDecryptionAttributes | undefined;
|
|
527
|
-
WrappedKey?: WrappedKey;
|
|
527
|
+
WrappedKey?: WrappedKey | undefined;
|
|
528
528
|
}
|
|
529
529
|
export interface DecryptDataOutput {
|
|
530
530
|
KeyArn: string | undefined;
|
|
@@ -534,7 +534,7 @@ export interface DecryptDataOutput {
|
|
|
534
534
|
export declare class InternalServerException extends __BaseException {
|
|
535
535
|
readonly name: "InternalServerException";
|
|
536
536
|
readonly $fault: "server";
|
|
537
|
-
Message?: string;
|
|
537
|
+
Message?: string | undefined;
|
|
538
538
|
constructor(
|
|
539
539
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
540
540
|
);
|
|
@@ -542,7 +542,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
542
542
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
543
543
|
readonly name: "ResourceNotFoundException";
|
|
544
544
|
readonly $fault: "client";
|
|
545
|
-
ResourceId?: string;
|
|
545
|
+
ResourceId?: string | undefined;
|
|
546
546
|
constructor(
|
|
547
547
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
548
548
|
);
|
|
@@ -550,7 +550,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
550
550
|
export declare class ThrottlingException extends __BaseException {
|
|
551
551
|
readonly name: "ThrottlingException";
|
|
552
552
|
readonly $fault: "client";
|
|
553
|
-
Message?: string;
|
|
553
|
+
Message?: string | undefined;
|
|
554
554
|
constructor(
|
|
555
555
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
556
556
|
);
|
|
@@ -562,7 +562,7 @@ export interface ValidationExceptionField {
|
|
|
562
562
|
export declare class ValidationException extends __BaseException {
|
|
563
563
|
readonly name: "ValidationException";
|
|
564
564
|
readonly $fault: "client";
|
|
565
|
-
fieldList?: ValidationExceptionField[];
|
|
565
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
566
566
|
constructor(
|
|
567
567
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
568
568
|
);
|
|
@@ -606,7 +606,7 @@ export interface VisaAttributes {
|
|
|
606
606
|
PanSequenceNumber: string | undefined;
|
|
607
607
|
ApplicationTransactionCounter: string | undefined;
|
|
608
608
|
AuthorizationRequestKeyIdentifier: string | undefined;
|
|
609
|
-
CurrentPinAttributes?: CurrentPinAttributes;
|
|
609
|
+
CurrentPinAttributes?: CurrentPinAttributes | undefined;
|
|
610
610
|
}
|
|
611
611
|
export type DerivationMethodAttributes =
|
|
612
612
|
| DerivationMethodAttributes.AmexMember
|
|
@@ -680,25 +680,25 @@ export interface DukptAttributes {
|
|
|
680
680
|
}
|
|
681
681
|
export interface DukptDerivationAttributes {
|
|
682
682
|
KeySerialNumber: string | undefined;
|
|
683
|
-
DukptKeyDerivationType?: DukptDerivationType;
|
|
684
|
-
DukptKeyVariant?: DukptKeyVariant;
|
|
683
|
+
DukptKeyDerivationType?: DukptDerivationType | undefined;
|
|
684
|
+
DukptKeyVariant?: DukptKeyVariant | undefined;
|
|
685
685
|
}
|
|
686
686
|
export interface EncryptDataInput {
|
|
687
687
|
KeyIdentifier: string | undefined;
|
|
688
688
|
PlainText: string | undefined;
|
|
689
689
|
EncryptionAttributes: EncryptionDecryptionAttributes | undefined;
|
|
690
|
-
WrappedKey?: WrappedKey;
|
|
690
|
+
WrappedKey?: WrappedKey | undefined;
|
|
691
691
|
}
|
|
692
692
|
export interface EncryptDataOutput {
|
|
693
693
|
KeyArn: string | undefined;
|
|
694
|
-
KeyCheckValue?: string;
|
|
694
|
+
KeyCheckValue?: string | undefined;
|
|
695
695
|
CipherText: string | undefined;
|
|
696
696
|
}
|
|
697
697
|
export interface GenerateCardValidationDataInput {
|
|
698
698
|
KeyIdentifier: string | undefined;
|
|
699
699
|
PrimaryAccountNumber: string | undefined;
|
|
700
700
|
GenerationAttributes: CardGenerationAttributes | undefined;
|
|
701
|
-
ValidationDataLength?: number;
|
|
701
|
+
ValidationDataLength?: number | undefined;
|
|
702
702
|
}
|
|
703
703
|
export interface GenerateCardValidationDataOutput {
|
|
704
704
|
KeyArn: string | undefined;
|
|
@@ -718,7 +718,7 @@ export type MacAlgorithm = (typeof MacAlgorithm)[keyof typeof MacAlgorithm];
|
|
|
718
718
|
export interface MacAlgorithmDukpt {
|
|
719
719
|
KeySerialNumber: string | undefined;
|
|
720
720
|
DukptKeyVariant: DukptKeyVariant | undefined;
|
|
721
|
-
DukptDerivationType?: DukptDerivationType;
|
|
721
|
+
DukptDerivationType?: DukptDerivationType | undefined;
|
|
722
722
|
}
|
|
723
723
|
export declare const SessionKeyDerivationMode: {
|
|
724
724
|
readonly AMEX: "AMEX";
|
|
@@ -833,7 +833,7 @@ export interface GenerateMacInput {
|
|
|
833
833
|
KeyIdentifier: string | undefined;
|
|
834
834
|
MessageData: string | undefined;
|
|
835
835
|
GenerationAttributes: MacAttributes | undefined;
|
|
836
|
-
MacLength?: number;
|
|
836
|
+
MacLength?: number | undefined;
|
|
837
837
|
}
|
|
838
838
|
export interface GenerateMacOutput {
|
|
839
839
|
KeyArn: string | undefined;
|
|
@@ -859,8 +859,8 @@ export interface GenerateMacEmvPinChangeInput {
|
|
|
859
859
|
export interface VisaAmexDerivationOutputs {
|
|
860
860
|
AuthorizationRequestKeyArn: string | undefined;
|
|
861
861
|
AuthorizationRequestKeyCheckValue: string | undefined;
|
|
862
|
-
CurrentPinPekArn?: string;
|
|
863
|
-
CurrentPinPekKeyCheckValue?: string;
|
|
862
|
+
CurrentPinPekArn?: string | undefined;
|
|
863
|
+
CurrentPinPekKeyCheckValue?: string | undefined;
|
|
864
864
|
}
|
|
865
865
|
export interface GenerateMacEmvPinChangeOutput {
|
|
866
866
|
NewPinPekArn: string | undefined;
|
|
@@ -871,7 +871,7 @@ export interface GenerateMacEmvPinChangeOutput {
|
|
|
871
871
|
NewPinPekKeyCheckValue: string | undefined;
|
|
872
872
|
SecureMessagingIntegrityKeyCheckValue: string | undefined;
|
|
873
873
|
SecureMessagingConfidentialityKeyCheckValue: string | undefined;
|
|
874
|
-
VisaAmexDerivationOutputs?: VisaAmexDerivationOutputs;
|
|
874
|
+
VisaAmexDerivationOutputs?: VisaAmexDerivationOutputs | undefined;
|
|
875
875
|
}
|
|
876
876
|
export interface Ibm3624NaturalPin {
|
|
877
877
|
DecimalizationTable: string | undefined;
|
|
@@ -996,10 +996,10 @@ export interface GeneratePinDataInput {
|
|
|
996
996
|
GenerationKeyIdentifier: string | undefined;
|
|
997
997
|
EncryptionKeyIdentifier: string | undefined;
|
|
998
998
|
GenerationAttributes: PinGenerationAttributes | undefined;
|
|
999
|
-
PinDataLength?: number;
|
|
999
|
+
PinDataLength?: number | undefined;
|
|
1000
1000
|
PrimaryAccountNumber: string | undefined;
|
|
1001
1001
|
PinBlockFormat: PinBlockFormatForPinData | undefined;
|
|
1002
|
-
EncryptionWrappedKey?: WrappedKey;
|
|
1002
|
+
EncryptionWrappedKey?: WrappedKey | undefined;
|
|
1003
1003
|
}
|
|
1004
1004
|
export type PinData =
|
|
1005
1005
|
| PinData.PinOffsetMember
|
|
@@ -1075,8 +1075,8 @@ export interface ReEncryptDataInput {
|
|
|
1075
1075
|
CipherText: string | undefined;
|
|
1076
1076
|
IncomingEncryptionAttributes: ReEncryptionAttributes | undefined;
|
|
1077
1077
|
OutgoingEncryptionAttributes: ReEncryptionAttributes | undefined;
|
|
1078
|
-
IncomingWrappedKey?: WrappedKey;
|
|
1079
|
-
OutgoingWrappedKey?: WrappedKey;
|
|
1078
|
+
IncomingWrappedKey?: WrappedKey | undefined;
|
|
1079
|
+
OutgoingWrappedKey?: WrappedKey | undefined;
|
|
1080
1080
|
}
|
|
1081
1081
|
export interface ReEncryptDataOutput {
|
|
1082
1082
|
KeyArn: string | undefined;
|
|
@@ -1144,10 +1144,10 @@ export interface TranslatePinDataInput {
|
|
|
1144
1144
|
IncomingTranslationAttributes: TranslationIsoFormats | undefined;
|
|
1145
1145
|
OutgoingTranslationAttributes: TranslationIsoFormats | undefined;
|
|
1146
1146
|
EncryptedPinBlock: string | undefined;
|
|
1147
|
-
IncomingDukptAttributes?: DukptDerivationAttributes;
|
|
1148
|
-
OutgoingDukptAttributes?: DukptDerivationAttributes;
|
|
1149
|
-
IncomingWrappedKey?: WrappedKey;
|
|
1150
|
-
OutgoingWrappedKey?: WrappedKey;
|
|
1147
|
+
IncomingDukptAttributes?: DukptDerivationAttributes | undefined;
|
|
1148
|
+
OutgoingDukptAttributes?: DukptDerivationAttributes | undefined;
|
|
1149
|
+
IncomingWrappedKey?: WrappedKey | undefined;
|
|
1150
|
+
OutgoingWrappedKey?: WrappedKey | undefined;
|
|
1151
1151
|
}
|
|
1152
1152
|
export interface TranslatePinDataOutput {
|
|
1153
1153
|
PinBlock: string | undefined;
|
|
@@ -1267,12 +1267,12 @@ export interface VerifyAuthRequestCryptogramInput {
|
|
|
1267
1267
|
AuthRequestCryptogram: string | undefined;
|
|
1268
1268
|
MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
|
|
1269
1269
|
SessionKeyDerivationAttributes: SessionKeyDerivation | undefined;
|
|
1270
|
-
AuthResponseAttributes?: CryptogramAuthResponse;
|
|
1270
|
+
AuthResponseAttributes?: CryptogramAuthResponse | undefined;
|
|
1271
1271
|
}
|
|
1272
1272
|
export interface VerifyAuthRequestCryptogramOutput {
|
|
1273
1273
|
KeyArn: string | undefined;
|
|
1274
1274
|
KeyCheckValue: string | undefined;
|
|
1275
|
-
AuthResponseValue?: string;
|
|
1275
|
+
AuthResponseValue?: string | undefined;
|
|
1276
1276
|
}
|
|
1277
1277
|
export interface VerifyCardValidationDataInput {
|
|
1278
1278
|
KeyIdentifier: string | undefined;
|
|
@@ -1289,7 +1289,7 @@ export interface VerifyMacInput {
|
|
|
1289
1289
|
MessageData: string | undefined;
|
|
1290
1290
|
Mac: string | undefined;
|
|
1291
1291
|
VerificationAttributes: MacAttributes | undefined;
|
|
1292
|
-
MacLength?: number;
|
|
1292
|
+
MacLength?: number | undefined;
|
|
1293
1293
|
}
|
|
1294
1294
|
export interface VerifyMacOutput {
|
|
1295
1295
|
KeyArn: string | undefined;
|
|
@@ -1333,9 +1333,9 @@ export interface VerifyPinDataInput {
|
|
|
1333
1333
|
EncryptedPinBlock: string | undefined;
|
|
1334
1334
|
PrimaryAccountNumber: string | undefined;
|
|
1335
1335
|
PinBlockFormat: PinBlockFormatForPinData | undefined;
|
|
1336
|
-
PinDataLength?: number;
|
|
1337
|
-
DukptAttributes?: DukptAttributes;
|
|
1338
|
-
EncryptionWrappedKey?: WrappedKey;
|
|
1336
|
+
PinDataLength?: number | undefined;
|
|
1337
|
+
DukptAttributes?: DukptAttributes | undefined;
|
|
1338
|
+
EncryptionWrappedKey?: WrappedKey | undefined;
|
|
1339
1339
|
}
|
|
1340
1340
|
export interface VerifyPinDataOutput {
|
|
1341
1341
|
VerificationKeyArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-payment-cryptography-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Payment Cryptography Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography-data",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|