Interface FileKeyEncryptor
public interface FileKeyEncryptor
File Key Encryptor abstracts cipher operations for encrypting a File Key
-
Method Summary
Modifier and TypeMethodDescriptiongetEncryptedFileKey(FileKey fileKey, CipherKey cipherKey) Get Encrypted File Key from File Key
-
Method Details
-
getEncryptedFileKey
EncryptedFileKey getEncryptedFileKey(FileKey fileKey, CipherKey cipherKey) throws GeneralSecurityException Get Encrypted File Key from File Key- Parameters:
fileKey- File KeycipherKey- Cipher Key for encrypting File Key- Returns:
- Encrypted File Key
- Throws:
GeneralSecurityException- Thrown on failure of encryption operations
-