Class DefaultCryptoMaterialsManager

java.lang.Object
com.amazonaws.encryptionsdk.DefaultCryptoMaterialsManager
All Implemented Interfaces:
CryptoMaterialsManager

public class DefaultCryptoMaterialsManager extends Object implements CryptoMaterialsManager
The default implementation of CryptoMaterialsManager, used implicitly when passing a MasterKeyProvider to methods in AwsCrypto.

This default implementation delegates to a specific MasterKeyProvider specified at construction time. It also handles generating trailing signature keys when needed, placing them in the encryption context (and extracting them at decrypt time).