Package org.bouncycastle.crypto
Interface KeyUnwrapperUsingSecureRandom<T extends Parameters>
- Type Parameters:
T- the parameter type for the un-wrapper.
- All Superinterfaces:
KeyUnwrapper<T>,OperatorUsingSecureRandom<KeyUnwrapperUsingSecureRandom<T>>
- All Known Implementing Classes:
FipsKeyUnwrapperUsingSecureRandom
public interface KeyUnwrapperUsingSecureRandom<T extends Parameters>
extends KeyUnwrapper<T>, OperatorUsingSecureRandom<KeyUnwrapperUsingSecureRandom<T>>
Interface describing a KeyUnwrapper which also requires a SecureRandom as part of its configuration.
-
Method Summary
Modifier and TypeMethodDescriptionwithSecureRandom(SecureRandom random) Return a variant of this signer using the passed in random as its source of randomness.Methods inherited from interface org.bouncycastle.crypto.KeyUnwrapper
getParameters, unwrap
-
Method Details
-
withSecureRandom
Return a variant of this signer using the passed in random as its source of randomness.- Specified by:
withSecureRandomin interfaceOperatorUsingSecureRandom<T extends Parameters>- Parameters:
random- the SecureRandom to use.- Returns:
- a signer which will use random where random data is required.
-