Class 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