Class EncryptDecryptData
java.lang.Object
es.kukenan.smartfi.microservice.security.gateway.utils.EncryptDecryptData
Decode Encode operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getDecryptedData(String payload, String symmetricKey, byte[] seed, String keyString, String ivString, String platform) Information From Encrypt Data operation.byte[]getEncryptedData(byte[] body, String symmetricKey, byte[] seed, String keyString, String ivString, String platform) Information From Encrypt Data operation.
-
Constructor Details
-
EncryptDecryptData
public EncryptDecryptData()
-
-
Method Details
-
getDecryptedData
public byte[] getDecryptedData(String payload, String symmetricKey, byte[] seed, String keyString, String ivString, String platform) Information From Encrypt Data operation.- Parameters:
payload- encrypted bodysymmetricKey- symmetric keyseed- seed establishedkeyString- AES Key for decryptionivString- AES iv for decryptionplatform- Application platform- Returns:
- LoginRequest login request object
-
getEncryptedData
public byte[] getEncryptedData(byte[] body, String symmetricKey, byte[] seed, String keyString, String ivString, String platform) Information From Encrypt Data operation.- Parameters:
body- encrypted bodysymmetricKey- symmetric keyseed- seed establishedkeyString- AES Key for decryptionivString- AES iv for decryptionplatform- Application platform- Returns:
- LoginRequest login requeest object
-