Class EncryptionMaterialsHandler
- java.lang.Object
-
- com.amazonaws.encryptionsdk.model.EncryptionMaterialsHandler
-
public class EncryptionMaterialsHandler extends Object
Handler to abstract the differences between the originalEncryptionMaterials
and 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 CryptoAlgorithm
getAlgorithm()
SecretKey
getCleartextDataKey()
List<KeyBlob>
getEncryptedDataKeys()
Map<String,String>
getEncryptionContext()
List<MasterKey>
getMasterKeys()
Deprecated.List<String>
getRequiredEncryptionContextKeys()
PrivateKey
getTrailingSignatureKey()
-
-
-
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.
-
-