java.lang.Object
io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model.EciesPayload

public class EciesPayload extends Object
The EciesPayload structure represents ECIES payload transmitted over the network.
Author:
Roman Strobl, roman.strobl@wultra.com
  • Constructor Summary

    Constructors
    Constructor
    Description
    EciesPayload(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.