public abstract class KeyDerivationParameters extends Parameters
KeyDerivationKey.| Constructor and Description |
|---|
KeyDerivationParameters() |
| Modifier and Type | Method and Description |
|---|---|
abstract Parameters |
getDerivedKeyParameters() |
boolean |
hasIdRequirement()
Whether this key needs a specific ID when it is in a Keyset.
|
public abstract Parameters getDerivedKeyParameters()
public boolean hasIdRequirement()
Tink Keyset derivation always copies the ID of a key to the derived key. Hence,a KeyDerivationKey needs a specific ID if and only if the derived key needs a specific ID, and
so this is always equal to getDerivedParameters().hasIdRequirement().
hasIdRequirement in class Parameters