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

    Modifier and Type
    Method
    Description
    Returns EncryptionMaterials which the caller can use for encryption.
  • Method Details

    • 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.