java.lang.Object
com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
All Implemented Interfaces:
CryptographicMaterials, DecryptionMaterials, EncryptionMaterials
Direct Known Subclasses:
AsymmetricRawMaterials

public class WrappedRawMaterials extends AbstractRawMaterials
Represents cryptographic materials used to manage unique record-level keys. This class specifically implements Envelope Encryption where a unique content key is randomly generated each time this class is constructed which is then encrypted with the Wrapping Key and then persisted in the Description. If a wrapped key is present in the Description, then that content key is unwrapped and used to decrypt the actual data in the record.

Other possibly implementations might use a Key-Derivation Function to derive a unique key per record.

Author:
Greg Rubin