public abstract class KeyDerivationKey extends Key
Tink Key Derivation is given by the primitive which maps a byte[] salt to a Keyset.
For each key, a KeyDerivationKey maps a byte[] salt to a new "derived" Key. For a Keyset containing multiple derivation keys, the derived keyset is obtained by mapping
each key according to this map (for the same byte[] salt), and inserting them into a new
keyset.
| Constructor and Description |
|---|
KeyDerivationKey() |
| Modifier and Type | Method and Description |
|---|---|
abstract KeyDerivationParameters |
getParameters()
Returns a
Parameters object containing all the information about the key which is not
randomly chosen. |
equalsKey, getIdRequirementOrNullpublic abstract KeyDerivationParameters getParameters()
KeyParameters object containing all the information about the key which is not
randomly chosen.
Implementations need to ensure that getParameters().hasIdRequirement() returns true
if and only if getIdRequirementOrNull is non-null.
getParameters in class Key