Class EncryptionMaterialsHandler
- java.lang.Object
-
- com.amazonaws.encryptionsdk.model.EncryptionMaterialsHandler
-
public class EncryptionMaterialsHandler extends Object
Handler to abstract the differences between the originalEncryptionMaterialsand the MPL'sEncryptionMaterials.
-
-
Constructor Summary
Constructors Constructor Description EncryptionMaterialsHandler(EncryptionMaterials materials)EncryptionMaterialsHandler(software.amazon.cryptography.materialproviders.model.EncryptionMaterials mplMaterials)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CryptoAlgorithmgetAlgorithm()SecretKeygetCleartextDataKey()List<KeyBlob>getEncryptedDataKeys()Map<String,String>getEncryptionContext()List<MasterKey>getMasterKeys()Deprecated.List<String>getRequiredEncryptionContextKeys()PrivateKeygetTrailingSignatureKey()
-
-
-
Constructor Detail
-
EncryptionMaterialsHandler
public EncryptionMaterialsHandler(EncryptionMaterials materials)
-
EncryptionMaterialsHandler
public EncryptionMaterialsHandler(software.amazon.cryptography.materialproviders.model.EncryptionMaterials mplMaterials)
-
-
Method Detail
-
getAlgorithm
public CryptoAlgorithm getAlgorithm()
-
getCleartextDataKey
public SecretKey getCleartextDataKey()
-
getTrailingSignatureKey
public PrivateKey getTrailingSignatureKey()
-
getMasterKeys
@Deprecated public List<MasterKey> getMasterKeys()
Deprecated.
-
-