Skip to content

Commit e9e5849

Browse files
committed
Move and rename file
1 parent e393e54 commit e9e5849

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

src/typings/cloudDevice/securityKey.ts renamed to src/security/encryptionCredentialDetails.ts

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,26 @@
1717
* See the LICENSE file for more info.
1818
*/
1919

20-
/**
21-
* Cloud Device API
22-
* Definition of Cloud Device API Schema
23-
*
24-
*/
25-
2620

27-
28-
export class SecurityKey {
21+
/**
22+
* Details of the encryption credential used for encrypting the request payload (nexoBlob)
23+
*/
24+
export class EncryptionCredentialDetails {
25+
/**
26+
* The version of the Adyen-specific crypto implementation.
27+
*/
2928
'AdyenCryptoVersion': number;
29+
/**
30+
* The unique identifier of the key.
31+
*/
3032
'KeyIdentifier': string;
33+
/**
34+
* The version of the key.
35+
*/
3136
'KeyVersion': number;
37+
/**
38+
* The passphrase used to derive the encryption key.
39+
*/
3240
'Passphrase': string;
3341

3442
static discriminator: string | undefined = undefined;
@@ -56,7 +64,6 @@ export class SecurityKey {
5664
} ];
5765

5866
static getAttributeTypeMap() {
59-
return SecurityKey.attributeTypeMap;
67+
return EncryptionCredentialDetails.attributeTypeMap;
6068
}
6169
}
62-

0 commit comments

Comments
 (0)