Package org.bouncycastle.crypto
Interface KeyWrapperUsingSecureRandom<T extends Parameters>
- Type Parameters:
T
- the parameter type for the wrapper.
- All Superinterfaces:
KeyWrapper<T>
,OperatorUsingSecureRandom<KeyWrapperUsingSecureRandom<T>>
- All Known Implementing Classes:
FipsKeyWrapperUsingSecureRandom
public interface KeyWrapperUsingSecureRandom<T extends Parameters>
extends KeyWrapper<T>, OperatorUsingSecureRandom<KeyWrapperUsingSecureRandom<T>>
Interface describing a KeyWrapper 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.KeyWrapper
getParameters, wrap
-
Method Details
-
withSecureRandom
Return a variant of this signer using the passed in random as its source of randomness.- Specified by:
withSecureRandom
in interfaceOperatorUsingSecureRandom<T extends Parameters>
- Parameters:
random
- the SecureRandom to use.- Returns:
- a signer which will use random where random data is required.
-