Class EciesEncryptedRequest
java.lang.Object
io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest
public class EciesEncryptedRequest extends Object
Request object with data encrypted by ECIES encryption.
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
Constructors Constructor Description EciesEncryptedRequest() -
Method Summary
Modifier and Type Method Description StringgetEncryptedData()Get Base64 encoded encrypted data.StringgetEphemeralPublicKey()Get Base64 encoded ephemeral public key.StringgetMac()Get Base64 encoded MAC of key and data.StringgetNonce()Get Base64 encoded nonce for IV derivation.voidsetEncryptedData(String encryptedData)Set Base64 encoded encrypted data.voidsetEphemeralPublicKey(String ephemeralPublicKey)Set Base64 encoded ephemeral public key.voidsetMac(String mac)Set Base64 encoded MAC of key and data.voidsetNonce(String nonce)Set Base64 encoded nonce for IV derivation.
-
Constructor Details
-
EciesEncryptedRequest
public EciesEncryptedRequest()
-
-
Method Details
-
getEphemeralPublicKey
Get Base64 encoded ephemeral public key.- Returns:
- Ephemeral public key.
-
setEphemeralPublicKey
Set Base64 encoded ephemeral public key.- Parameters:
ephemeralPublicKey- Ephemeral public key.
-
getEncryptedData
Get Base64 encoded encrypted data.- Returns:
- Encrypted data.
-
setEncryptedData
Set Base64 encoded encrypted data.- Parameters:
encryptedData- Encrypted data.
-
getMac
Get Base64 encoded MAC of key and data.- Returns:
- MAC of key and data.
-
setMac
Set Base64 encoded MAC of key and data.- Parameters:
mac- MAC of key and data.
-
getNonce
Get Base64 encoded nonce for IV derivation.- Returns:
- Nonce for IV derivation.
-
setNonce
Set Base64 encoded nonce for IV derivation.- Parameters:
nonce- Nonce for IV derivation.
-