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 SummaryConstructorsConstructorDescriptionEncryptedEnvelope(byte[] encryptedContent, byte[] iv, String description) Creates a newEncryptedEnvelopeinstance.
- 
Method SummaryModifier 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- 
EncryptedEnvelopeCreates a newEncryptedEnvelopeinstance.- Parameters:
- encryptedContent- The encrypted bytes.
- iv- The associated initialization vector.
- description- The description of the contents.
 
 
- 
- 
Method Details- 
getEncryptedContentpublic byte[] getEncryptedContent()The encrypted bytes.
- 
getIvpublic byte[] getIv()The associated initialization vector.
- 
getDescriptionThe description of the contents.
- 
setEncryptedContentpublic void setEncryptedContent(byte[] encryptedContent) The encrypted bytes.
- 
setIvpublic void setIv(byte[] iv) The associated initialization vector.
- 
setDescriptionThe description of the contents.
- 
equals
- 
hashCode
- 
toString
 
-