Package com.amilesend.onedrive.crypto
Class EncryptedEnvelope
java.lang.Object
com.amilesend.onedrive.crypto.EncryptedEnvelope
The envelope that encapsulates encrypted content that is used to persist to the file system.
-
Constructor Summary
Constructors -
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
-
-
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
public int hashCode() -
toString
-