Class EncryptedEnvelope
java.lang.Object
com.amilesend.client.crypto.EncryptedEnvelope
The envelope that encapsulates encrypted content that is used to persist to the file system.
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedEnvelope(byte[] encryptedContent, byte[] iv, String description) Creates a newEncryptedEnvelopeinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe description of the contents.byte[]The encrypted bytes.byte[]getIv()The associated initialization vector.inthashCode()voidsetDescription(String description) The description of the contents.voidsetEncryptedContent(byte[] encryptedContent) The encrypted bytes.voidsetIv(byte[] iv) The associated initialization vector.toString()
-
Constructor Details
-
EncryptedEnvelope
Creates a newEncryptedEnvelopeinstance.- Parameters:
encryptedContent- The encrypted bytes.iv- The associated initialization vector.description- The description of the contents.
-
-
Method Details
-
getEncryptedContent
public byte[] getEncryptedContent()The encrypted bytes. -
getIv
public byte[] getIv()The associated initialization vector. -
getDescription
The description of the contents. -
setEncryptedContent
public void setEncryptedContent(byte[] encryptedContent) The encrypted bytes. -
setIv
public void setIv(byte[] iv) The associated initialization vector. -
setDescription
The description of the contents. -
equals
-
hashCode
-
toString
-