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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecryptionMaterials
decryptMaterials(DecryptionMaterialsRequest request)
EncryptionMaterials
getMaterialsForEncrypt(EncryptionMaterialsRequest request)
Prepares materials for an encrypt request.
-
-
-
Method Detail
-
getMaterialsForEncrypt
EncryptionMaterials getMaterialsForEncrypt(EncryptionMaterialsRequest request)
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
DecryptionMaterials decryptMaterials(DecryptionMaterialsRequest request)
-
-