Uses of Class
com.dracoon.sdk.crypto.model.PlainFileKey
Packages that use PlainFileKey
-
Uses of PlainFileKey in com.dracoon.sdk.crypto
Methods in com.dracoon.sdk.crypto that return PlainFileKeyModifier and TypeMethodDescriptionstatic PlainFileKeyCrypto.decryptFileKey(EncryptedFileKey encFileKey, UserPrivateKey userPrivateKey, char[] password) Decrypts a file key.static PlainFileKeyCrypto.generateFileKey(PlainFileKey.Version version) Generates a random file key.
IMPORTANT!!!: Never reuse the returned file key! Use the returned file key only for the encryption of one file!
The file key consists of a cryptographic key and initialization vector.Methods in com.dracoon.sdk.crypto with parameters of type PlainFileKeyModifier and TypeMethodDescriptionstatic FileDecryptionCipherCrypto.createFileDecryptionCipher(PlainFileKey fileKey) Creates a file decryption cipher.static FileEncryptionCipherCrypto.createFileEncryptionCipher(PlainFileKey fileKey) Creates a file encryption cipher.static EncryptedFileKeyCrypto.encryptFileKey(PlainFileKey plainFileKey, UserPublicKey userPublicKey) Encrypts a file key. -
Uses of PlainFileKey in com.dracoon.sdk.crypto.internal
Methods in com.dracoon.sdk.crypto.internal with parameters of type PlainFileKeyModifier and TypeMethodDescriptionprotected voidAesGcmFileCipher.init(boolean encryption, PlainFileKey fileKey) Constructors in com.dracoon.sdk.crypto.internal with parameters of type PlainFileKeyModifierConstructorDescriptionAesGcmFileDecryptionCipher(PlainFileKey fileKey) AesGcmFileEncryptionCipher(PlainFileKey fileKey)