Class EncryptionMaterialsHandler


  • public class EncryptionMaterialsHandler
    extends Object
    Handler to abstract the differences between the original EncryptionMaterials and the MPL's EncryptionMaterials.
    • Constructor Detail

      • EncryptionMaterialsHandler

        public EncryptionMaterialsHandler​(EncryptionMaterials materials)
      • EncryptionMaterialsHandler

        public EncryptionMaterialsHandler​(software.amazon.cryptography.materialproviders.model.EncryptionMaterials mplMaterials)
    • Method Detail

      • getEncryptionContext

        public Map<String,​String> getEncryptionContext()
      • getEncryptedDataKeys

        public List<KeyBlob> getEncryptedDataKeys()
      • getCleartextDataKey

        public SecretKey getCleartextDataKey()
      • getTrailingSignatureKey

        public PrivateKey getTrailingSignatureKey()
      • getRequiredEncryptionContextKeys

        public List<String> getRequiredEncryptionContextKeys()