Uses of Class
org.cryptomator.cryptolib.api.Masterkey
Packages that use Masterkey
Package
Description
High-level encryption library used in Cryptomator.
-
Uses of Masterkey in org.cryptomator.cryptolib.api
Methods in org.cryptomator.cryptolib.api that return MasterkeyModifier and TypeMethodDescriptionMasterkey.copy()static MasterkeyMasterkey.from(DestroyableSecretKey encKey, DestroyableSecretKey macKey) static MasterkeyMasterkey.generate(SecureRandom csprng) Loads a master key.Methods in org.cryptomator.cryptolib.api with parameters of type MasterkeyModifier and TypeMethodDescriptionCryptorProvider.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 MasterkeyModifier and TypeMethodDescriptionMasterkeyFileAccess.load(InputStream in, CharSequence passphrase) MasterkeyFileAccess.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 MasterkeyModifier and TypeMethodDescriptionvoidMasterkeyFileAccess.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 MasterkeyModifier and TypeMethodDescriptionorg.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 MasterkeyModifier and TypeMethodDescriptionorg.cryptomator.cryptolib.v2.CryptorImplCryptorProviderImpl.provide(Masterkey masterkey, SecureRandom random)