Package com.amazonaws.encryptionsdk
Interface CryptoMaterialsManager
- All Known Implementing Classes:
CachingCryptoMaterialsManager
,DefaultCryptoMaterialsManager
public interface CryptoMaterialsManager
The crypto materials manager is responsible for preparing the cryptographic materials needed to
process a request - notably, preparing the cleartext data key and (if applicable) trailing
signature keys on both encrypt and decrypt.
-
Method Summary
Modifier and TypeMethodDescriptiondecryptMaterials(DecryptionMaterialsRequest request)
Prepares materials for an encrypt request.
-
Method Details
-
getMaterialsForEncrypt
Prepares materials for an encrypt request. The resulting materials result must have a cleartext data key and (if applicable for the crypto algorithm in use) a trailing signature key.The encryption context returned may be different from the one passed in the materials request, and will be serialized (in cleartext) within the encrypted message.
- Parameters:
request
-- Returns:
- See Also:
EncryptionMaterials
,EncryptionMaterialsRequest
-
decryptMaterials
-