Class EciesPayload
java.lang.Object
io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model.EciesPayload
The EciesPayload structure represents ECIES payload transmitted over the network.
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
ConstructorsConstructorDescriptionEciesPayload(byte[] ephemeralPublicKey, byte[] mac, byte[] encryptedData, byte[] nonce) Constructor for V3.0 and V3.1 protocol versions of ECIES structure.EciesPayload(byte[] ephemeralPublicKey, byte[] mac, byte[] encryptedData, byte[] nonce, byte[] associatedData, Long timestamp) Constructor for V3.2 protocol version of ECIES structure. -
Method Summary
-
Constructor Details
-
EciesPayload
public EciesPayload(byte[] ephemeralPublicKey, byte[] mac, byte[] encryptedData, byte[] nonce) Constructor for V3.0 and V3.1 protocol versions of ECIES structure.- Parameters:
ephemeralPublicKey- Ephemeral public key.mac- Message authentication code.encryptedData- Encrypted data.nonce- Nonce.
-
EciesPayload
public EciesPayload(byte[] ephemeralPublicKey, byte[] mac, byte[] encryptedData, byte[] nonce, byte[] associatedData, Long timestamp) Constructor for V3.2 protocol version of ECIES structure.- Parameters:
ephemeralPublicKey- Ephemeral public key.mac- Message authentication code.encryptedData- Encrypted data.nonce- Nonce.associatedData- Associated data for ECIES.timestamp- Unix timestamp in milliseconds.
-