Class EciesEncryptedResponse

java.lang.Object
io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse

public class EciesEncryptedResponse
extends Object
Response object for endpoints returning data encrypted by ECIES.
Author:
Roman Strobl, roman.strobl@wultra.com
  • Constructor Details

    • EciesEncryptedResponse

      public EciesEncryptedResponse()
      Default constructor.
    • EciesEncryptedResponse

      public EciesEncryptedResponse​(String encryptedData, 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 Details

    • getEncryptedData

      public String getEncryptedData()
      Get Base64 encoded encrypted data payload.
      Returns:
      Encrypted data.
    • setEncryptedData

      public void setEncryptedData​(String encryptedData)
      Set Base64 encoded encrypted data payload.
      Parameters:
      encryptedData - Encrypted data.
    • getMac

      public String getMac()
      Get Base64 encoded MAC signature of the response.
      Returns:
      MAC of the response.
    • setMac

      public void setMac​(String mac)
      Set Base64 encoded MAC signature of the response.
      Parameters:
      mac - MAC of the response.