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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputSignerUsingSecureRandom<T>
withSecureRandom(java.security.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 Detail
-
withSecureRandom
OutputSignerUsingSecureRandom<T> withSecureRandom(java.security.SecureRandom random)
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.
-
-