Class PrfBasedKeyDerivationParameters.Builder
- java.lang.Object
-
- com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters.Builder
-
- Enclosing class:
- PrfBasedKeyDerivationParameters
public static class PrfBasedKeyDerivationParameters.Builder extends java.lang.ObjectBuilds a new PrfBasedKeyDerivationParameters instance.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrfBasedKeyDerivationParametersbuild()PrfBasedKeyDerivationParameters.BuildersetDerivedKeyParameters(Parameters derivedKeyParameters)The parameters of the keys which are in the result keyset when the user callsKeysetDeriver.deriveKeyset().PrfBasedKeyDerivationParameters.BuildersetPrfParameters(PrfParameters prfParameters)Sets the parameters of the PRF used to create randomness from the salt.
-
-
-
Method Detail
-
setPrfParameters
@CanIgnoreReturnValue public PrfBasedKeyDerivationParameters.Builder setPrfParameters(PrfParameters prfParameters)
Sets the parameters of the PRF used to create randomness from the salt.
-
setDerivedKeyParameters
@CanIgnoreReturnValue public PrfBasedKeyDerivationParameters.Builder setDerivedKeyParameters(Parameters derivedKeyParameters)
The parameters of the keys which are in the result keyset when the user callsKeysetDeriver.deriveKeyset().
-
build
public PrfBasedKeyDerivationParameters build() throws java.security.GeneralSecurityException
- Throws:
java.security.GeneralSecurityException
-
-