Class KeyDerivationParameters
- java.lang.Object
-
- com.google.crypto.tink.Parameters
-
- com.google.crypto.tink.keyderivation.KeyDerivationParameters
-
- Direct Known Subclasses:
PrfBasedKeyDerivationParameters
public abstract class KeyDerivationParameters extends Parameters
The public part of aKeyDerivationKey.
-
-
Constructor Summary
Constructors Constructor Description KeyDerivationParameters()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ParametersgetDerivedKeyParameters()booleanhasIdRequirement()Whether this key needs a specific ID when it is in a Keyset.
-
-
-
Method Detail
-
getDerivedKeyParameters
public abstract Parameters getDerivedKeyParameters()
-
hasIdRequirement
public boolean hasIdRequirement()
Whether this key needs a specific ID when it is in a Keyset.Tink Keyset derivation always copies the ID of a key to the derived key. Hence,a
KeyDerivationKeyneeds a specific ID if and only if the derived key needs a specific ID, and so this is always equal togetDerivedParameters().hasIdRequirement().- Specified by:
hasIdRequirementin classParameters
-
-