Interface PayloadKeyProducer
public interface PayloadKeyProducer
Abstraction for producing Payload Key from File Key using HMAC-based Extract-and-Expand Key Derivation Function described in RFC 5869
-
Method Summary
Modifier and TypeMethodDescriptiongetPayloadKey(FileKey fileKey, PayloadNonceKey payloadNonceKey) Get Payload Key
-
Method Details
-
getPayloadKey
CipherKey getPayloadKey(FileKey fileKey, PayloadNonceKey payloadNonceKey) throws GeneralSecurityException Get Payload Key- Parameters:
fileKey- File KeypayloadNonceKey- Payload Nonce Key- Returns:
- Payload Cipher Key
- Throws:
GeneralSecurityException- Thrown on key derivation failures
-