Package com.adyen.terminal.security
Class NexoCrypto
- java.lang.Object
-
- com.adyen.terminal.security.NexoCrypto
-
public class NexoCrypto extends Object
-
-
Constructor Summary
Constructors Constructor Description NexoCrypto(SecurityKey securityKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdecrypt(SaleToPOISecuredMessage saleToPoiSecuredMessage)SaleToPOISecuredMessageencrypt(String saleToPoiMessageJson, MessageHeader messageHeader)
-
-
-
Constructor Detail
-
NexoCrypto
public NexoCrypto(SecurityKey securityKey) throws NexoCryptoException
- Throws:
NexoCryptoException
-
-
Method Detail
-
encrypt
public SaleToPOISecuredMessage encrypt(String saleToPoiMessageJson, MessageHeader messageHeader) throws Exception
- Throws:
Exception
-
decrypt
public String decrypt(SaleToPOISecuredMessage saleToPoiSecuredMessage) throws Exception
- Throws:
Exception
-
-