Uses of Class
org.cryptomator.cryptolib.common.DestroyableSecretKey
-
Packages that use DestroyableSecretKey Package Description org.cryptomator.cryptolib.api High-level encryption library used in Cryptomator.org.cryptomator.cryptolib.common -
-
Uses of DestroyableSecretKey in org.cryptomator.cryptolib.api
Subclasses of DestroyableSecretKey in org.cryptomator.cryptolib.api Modifier and Type Class Description classMasterkeyMethods in org.cryptomator.cryptolib.api that return DestroyableSecretKey Modifier and Type Method Description DestroyableSecretKeyMasterkey. getEncKey()Get the encryption subkey.DestroyableSecretKeyMasterkey. getMacKey()Get the MAC subkey.Methods in org.cryptomator.cryptolib.api with parameters of type DestroyableSecretKey Modifier and Type Method Description static MasterkeyMasterkey. from(DestroyableSecretKey encKey, DestroyableSecretKey macKey) -
Uses of DestroyableSecretKey in org.cryptomator.cryptolib.common
Methods in org.cryptomator.cryptolib.common that return DestroyableSecretKey Modifier and Type Method Description DestroyableSecretKeyDestroyableSecretKey. copy()Returns an independent copy of this keystatic DestroyableSecretKeyDestroyableSecretKey. from(Key secretKey)Casts 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 DestroyableSecretKey Modifier and Type Method Description static DestroyableSecretKeyAesKeyWrap. unwrap(DestroyableSecretKey kek, byte[] wrappedKey, String wrappedKeyAlgorithm)static byte[]AesKeyWrap. wrap(DestroyableSecretKey kek, SecretKey key)
-