Class MasterKey<K extends MasterKey<K>>

  • Type Parameters:
    K - the concrete type of the MasterKey
    Direct Known Subclasses:
    JceMasterKey, KmsMasterKey

    public abstract class MasterKey<K extends MasterKey<K>>
    extends MasterKeyProvider<K>
    Represents the cryptographic key used to protect the DataKey (which, in turn, protects the data). All MasterKeys extend MasterKeyProvider because they are all capable of providing exactly themselves. This simplifies implementation when only a single MasterKey is used and/or expected.