Class NexoDerivedKey
- java.lang.Object
-
- com.adyen.model.terminal.security.NexoDerivedKey
-
public class NexoDerivedKey extends Object
A container for Nexo derived keys Nexo derived keys is a 80 byte struct containing key data: a 32 byte cipher key, a 32 byte HMAC key and a 16 byte initialization vector (IV). These 80 bytes are derived from a passphrase.
-
-
Field Summary
Fields Modifier and Type Field Description static intNEXO_CIPHER_KEY_LENGTHstatic intNEXO_HMAC_KEY_LENGTHstatic intNEXO_IV_LENGTH
-
Constructor Summary
Constructors Constructor Description NexoDerivedKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getCipherKey()byte[]getHmacKey()byte[]getIv()voidsetCipherKey(byte[] cipherKey)voidsetHmacKey(byte[] hmacKey)voidsetIv(byte[] iv)
-
-
-
Field Detail
-
NEXO_HMAC_KEY_LENGTH
public static final int NEXO_HMAC_KEY_LENGTH
- See Also:
- Constant Field Values
-
NEXO_CIPHER_KEY_LENGTH
public static final int NEXO_CIPHER_KEY_LENGTH
- See Also:
- Constant Field Values
-
NEXO_IV_LENGTH
public static final int NEXO_IV_LENGTH
- See Also:
- Constant Field Values
-
-