Class NonPersonalizedEncryptedPayloadModel
java.lang.Object
io.getlime.security.powerauth.rest.api.model.entity.NonPersonalizedEncryptedPayloadModel
public class NonPersonalizedEncryptedPayloadModel extends Object
Class representing a payload encrypted using non-personalized end-to-end encryption.
- Author:
- Petr Dvorak, petr@wultra.com
-
Constructor Summary
Constructors Constructor Description NonPersonalizedEncryptedPayloadModel() -
Method Summary
Modifier and Type Method Description StringgetAdHocIndex()Get ad-hoc index.StringgetApplicationKey()Get application key.StringgetEncryptedData()Get encrypted data.StringgetEphemeralPublicKey()Get ephemeral public key.StringgetMac()Get MAC.StringgetMacIndex()Get MAC index.StringgetNonce()Get nonce.StringgetSessionIndex()Get session index.voidsetAdHocIndex(String adHocIndex)Set ad-hoc index.voidsetApplicationKey(String applicationKey)Set application key.voidsetEncryptedData(String encryptedData)Set encrypted data.voidsetEphemeralPublicKey(String ephemeralPublicKey)Set ephemeral public key.voidsetMac(String mac)Set MAC.voidsetMacIndex(String macIndex)Set MAC index.voidsetNonce(String nonce)Set nonce.voidsetSessionIndex(String sessionIndex)Set session index.
-
Constructor Details
-
NonPersonalizedEncryptedPayloadModel
public NonPersonalizedEncryptedPayloadModel()
-
-
Method Details
-
getApplicationKey
Get application key.- Returns:
- Application key.
-
setApplicationKey
Set application key.- Parameters:
applicationKey- Application key.
-
getSessionIndex
Get session index.- Returns:
- Session index.
-
setSessionIndex
Set session index.- Parameters:
sessionIndex- Session index.
-
getAdHocIndex
Get ad-hoc index.- Returns:
- Ad-hoc index.
-
setAdHocIndex
Set ad-hoc index.- Parameters:
adHocIndex- Ad-hoc index.
-
getMacIndex
Get MAC index.- Returns:
- MAC index.
-
setMacIndex
Set MAC index.- Parameters:
macIndex- MAC index.
-
getNonce
Get nonce.- Returns:
- Nonce.
-
setNonce
Set nonce.- Parameters:
nonce- Nonce.
-
getEphemeralPublicKey
Get ephemeral public key.- Returns:
- Ephemeral public key.
-
setEphemeralPublicKey
Set ephemeral public key.- Parameters:
ephemeralPublicKey- Ephemeral public key.
-
getMac
Get MAC.- Returns:
- MAC.
-
setMac
Set MAC.- Parameters:
mac- MAC.
-
getEncryptedData
Get encrypted data.- Returns:
- Encrypted data.
-
setEncryptedData
Set encrypted data.- Parameters:
encryptedData- Encrypted data.
-