Package org.bouncycastle.crypto
Interface OutputSignerUsingSecureRandom<T extends Parameters>
- Type Parameters:
T
- the parameters type for the signer.
- All Superinterfaces:
OperatorUsingSecureRandom<OutputSignerUsingSecureRandom<T>>
,OutputSigner<T>
- All Known Implementing Classes:
FipsOutputSignerUsingSecureRandom
public interface OutputSignerUsingSecureRandom<T extends Parameters>
extends OutputSigner<T>, OperatorUsingSecureRandom<OutputSignerUsingSecureRandom<T>>
Interface for an output signer that can make use of a SecureRandom,
-
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.OutputSigner
getParameters, getSignature, getSignature, getSigningStream
-
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.
-