Class EncryptedDataContainer

java.lang.Object
com.dracoon.sdk.crypto.model.DataContainer
com.dracoon.sdk.crypto.model.EncryptedDataContainer

public class EncryptedDataContainer extends DataContainer
Holds encrypted data.
  • Constructor Details

    • EncryptedDataContainer

      public EncryptedDataContainer(byte[] content, byte[] tag)
      Constructs a new encrypted data container.
      Parameters:
      content - The encrypted data.
      tag - The encryption tag.
  • Method Details

    • getTag

      public byte[] getTag()
      Returns the encryption tag
      Returns:
      the encryption tag bytes