Uses of Class
org.cryptomator.cryptolib.api.Masterkey
-
Packages that use Masterkey Package Description org.cryptomator.cryptolib.api High-level encryption library used in Cryptomator.org.cryptomator.cryptolib.common org.cryptomator.cryptolib.v1 org.cryptomator.cryptolib.v2 -
-
Uses of Masterkey in org.cryptomator.cryptolib.api
Methods in org.cryptomator.cryptolib.api that return Masterkey Modifier and Type Method Description MasterkeyMasterkey. copy()static MasterkeyMasterkey. from(DestroyableSecretKey encKey, DestroyableSecretKey macKey)static MasterkeyMasterkey. generate(SecureRandom csprng)MasterkeyMasterkeyLoader. loadKey(URI keyId)Loads a master key.Methods in org.cryptomator.cryptolib.api with parameters of type Masterkey Modifier and Type Method Description CryptorCryptorProvider. provide(Masterkey masterkey, SecureRandom random)Creates a new Cryptor instance for the given key -
Uses of Masterkey in org.cryptomator.cryptolib.common
Methods in org.cryptomator.cryptolib.common that return Masterkey Modifier and Type Method Description MasterkeyMasterkeyFileAccess. load(InputStream in, CharSequence passphrase)MasterkeyMasterkeyFileAccess. load(Path filePath, CharSequence passphrase)Loads the JSON contents from the given file and derives a KEK from the given passphrase to unwrap the contained keys.Methods in org.cryptomator.cryptolib.common with parameters of type Masterkey Modifier and Type Method Description voidMasterkeyFileAccess. persist(Masterkey masterkey, OutputStream out, CharSequence passphrase, int vaultVersion)voidMasterkeyFileAccess. persist(Masterkey masterkey, Path filePath, CharSequence passphrase)Derives a KEK from the given passphrase and wraps the key material frommasterkey.voidMasterkeyFileAccess. persist(Masterkey masterkey, Path filePath, CharSequence passphrase, int vaultVersion) -
Uses of Masterkey in org.cryptomator.cryptolib.v1
Methods in org.cryptomator.cryptolib.v1 with parameters of type Masterkey Modifier and Type Method Description org.cryptomator.cryptolib.v1.CryptorImplCryptorProviderImpl. provide(Masterkey masterkey, SecureRandom random) -
Uses of Masterkey in org.cryptomator.cryptolib.v2
Methods in org.cryptomator.cryptolib.v2 with parameters of type Masterkey Modifier and Type Method Description org.cryptomator.cryptolib.v2.CryptorImplCryptorProviderImpl. provide(Masterkey masterkey, SecureRandom random)
-