Interface CryptographicMaterialsManager
-
- All Known Implementing Classes:
DefaultCryptoMaterialsManager
public interface CryptographicMaterialsManagerPrepares the cryptographic materials used to encrypt and decrypt S3 objects. A CryptographicMaterialsManager uses Keyrings to obtain the encryption and decryption materials appropriate for each request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecryptionMaterialsdecryptMaterials(DecryptMaterialsRequest request)Returns decryption materials appropriate for the given request.EncryptionMaterialsgetEncryptionMaterials(EncryptionMaterialsRequest request)Returns encryption materials appropriate for the given request.
-
-
-
Method Detail
-
getEncryptionMaterials
EncryptionMaterials getEncryptionMaterials(EncryptionMaterialsRequest request)
Returns encryption materials appropriate for the given request.- Parameters:
request- the encryption materials request containing encryption context, commitment policy, and other configuration- Returns:
- encryption materials including plaintext data key, encrypted data keys, algorithm suite, and encryption context
-
decryptMaterials
DecryptionMaterials decryptMaterials(DecryptMaterialsRequest request)
Returns decryption materials appropriate for the given request.- Parameters:
request- the decrypt materials request containing algorithm suite, encrypted data keys, and encryption context- Returns:
- decryption materials including plaintext data key and encryption context
-
-