Package com.dracoon.sdk.crypto.model
Class EncryptedDataContainer
java.lang.Object
com.dracoon.sdk.crypto.model.DataContainer
com.dracoon.sdk.crypto.model.EncryptedDataContainer
Holds encrypted data.
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedDataContainer(byte[] content, byte[] tag) Constructs a new encrypted data container. -
Method Summary
Methods inherited from class com.dracoon.sdk.crypto.model.DataContainer
getContent
-
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
-