java.lang.Object
org.cryptomator.cryptolib.common.MasterkeyFile
Representation of encrypted masterkey json file. Used by
MasterkeyFileAccess to load and persist keys.-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]byte[]intintbyte[]intbyte[] -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
version
@SerializedName("version") public int version -
scryptSalt
@SerializedName("scryptSalt") public byte[] scryptSalt -
scryptCostParam
@SerializedName("scryptCostParam") public int scryptCostParam -
scryptBlockSize
@SerializedName("scryptBlockSize") public int scryptBlockSize -
encMasterKey
@SerializedName("primaryMasterKey") public byte[] encMasterKey -
macMasterKey
@SerializedName("hmacMasterKey") public byte[] macMasterKey -
versionMac
@SerializedName("versionMac") public byte[] versionMac
-
-
Constructor Details
-
MasterkeyFile
public MasterkeyFile()
-
-
Method Details
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-