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