Class EciesEncryptedResponse
java.lang.Object
io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse
public class EciesEncryptedResponse extends Object
Response object for endpoints returning data encrypted by ECIES.
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
Constructors Constructor Description EciesEncryptedResponse()Default constructor.EciesEncryptedResponse(String encryptedData, String mac)Constructor with Base64 encoded encrypted data and MAC of key and data. -
Method Summary
Modifier and Type Method Description StringgetEncryptedData()Get Base64 encoded encrypted data payload.StringgetMac()Get Base64 encoded MAC signature of the response.voidsetEncryptedData(String encryptedData)Set Base64 encoded encrypted data payload.voidsetMac(String mac)Set Base64 encoded MAC signature of the response.
-
Constructor Details
-
EciesEncryptedResponse
public EciesEncryptedResponse()Default constructor. -
EciesEncryptedResponse
Constructor with Base64 encoded encrypted data and MAC of key and data.- Parameters:
encryptedData- Encrypted data.mac- MAC of key and data.
-
-
Method Details
-
getEncryptedData
Get Base64 encoded encrypted data payload.- Returns:
- Encrypted data.
-
setEncryptedData
Set Base64 encoded encrypted data payload.- Parameters:
encryptedData- Encrypted data.
-
getMac
Get Base64 encoded MAC signature of the response.- Returns:
- MAC of the response.
-
setMac
Set Base64 encoded MAC signature of the response.- Parameters:
mac- MAC of the response.
-