Uses of Class
org.cryptomator.cryptolib.common.DestroyableSecretKey
Packages that use DestroyableSecretKey
Package
Description
High-level encryption library used in Cryptomator.
-
Uses of DestroyableSecretKey in org.cryptomator.cryptolib.api
Subclasses of DestroyableSecretKey in org.cryptomator.cryptolib.apiMethods in org.cryptomator.cryptolib.api that return DestroyableSecretKeyModifier and TypeMethodDescriptionMasterkey.getEncKey()Get the encryption subkey.Masterkey.getMacKey()Get the MAC subkey.Methods in org.cryptomator.cryptolib.api with parameters of type DestroyableSecretKeyModifier and TypeMethodDescriptionstatic MasterkeyMasterkey.from(DestroyableSecretKey encKey, DestroyableSecretKey macKey) -
Uses of DestroyableSecretKey in org.cryptomator.cryptolib.common
Methods in org.cryptomator.cryptolib.common that return DestroyableSecretKeyModifier and TypeMethodDescriptionDestroyableSecretKey.copy()Returns an independent copy of this keystatic DestroyableSecretKeyCasts or converts a givenSecretKeyto a DestroyableSecretKeystatic DestroyableSecretKeyDestroyableSecretKey.generate(SecureRandom csprng, String algorithm, int keyLenBytes) Creates a new key of given length and for use with given algorithm using entropy from the given csprng.static DestroyableSecretKeyAesKeyWrap.unwrap(DestroyableSecretKey kek, byte[] wrappedKey, String wrappedKeyAlgorithm) Methods in org.cryptomator.cryptolib.common with parameters of type DestroyableSecretKeyModifier and TypeMethodDescriptionstatic DestroyableSecretKeyAesKeyWrap.unwrap(DestroyableSecretKey kek, byte[] wrappedKey, String wrappedKeyAlgorithm) static byte[]AesKeyWrap.wrap(DestroyableSecretKey kek, SecretKey key)