Package com.amazonaws.services.s3.model
Interface EncryptionMaterialsFactory
-
- All Known Subinterfaces:
EncryptionMaterialsProvider
- All Known Implementing Classes:
KMSEncryptionMaterialsProvider
,PutInstructionFileRequest
,SimpleMaterialProvider
,StaticEncryptionMaterialsProvider
public interface EncryptionMaterialsFactory
Factory for providing the latest encryption materials.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionMaterials
getEncryptionMaterials()
Returns EncryptionMaterials which the caller can use for encryption.
-
-
-
Method Detail
-
getEncryptionMaterials
EncryptionMaterials getEncryptionMaterials()
Returns EncryptionMaterials which the caller can use for encryption. Each implementation of EncryptionMaterialsProvider can choose its own strategy for loading encryption material. For example, an implementation might load encryption material from an existing key management system, or load new encryption material when keys are rotated.- Returns:
- EncryptionMaterials which the caller can use to encrypt or decrypt data.
-
-