T
- The parameters class for this signer.public abstract class FipsOutputSignerUsingSecureRandom<T extends Parameters> extends FipsOutputSigner<T> implements OutputSignerUsingSecureRandom<T>
Modifier and Type | Method and Description |
---|---|
abstract T |
getParameters()
Return the parameters for this output signer.
|
abstract byte[] |
getSignature()
Return the signature calculated on what has been written to the calculator's output stream.
|
abstract UpdateOutputStream |
getSigningStream()
Returns a stream that will accept data for the purpose of calculating
a signature.
|
abstract FipsOutputSignerUsingSecureRandom<T> |
withSecureRandom(java.security.SecureRandom random)
Return a variant of this signer using the passed in random as its source of randomness.
|
getSignature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSignature
public abstract T getParameters()
OutputSigner
getParameters
in interface OutputSigner<T extends Parameters>
getParameters
in class FipsOutputSigner<T extends Parameters>
public abstract UpdateOutputStream getSigningStream()
OutputSigner
getSigningStream
in interface OutputSigner<T extends Parameters>
getSigningStream
in class FipsOutputSigner<T extends Parameters>
public abstract byte[] getSignature() throws PlainInputProcessingException
OutputSigner
getSignature
in interface OutputSigner<T extends Parameters>
getSignature
in class FipsOutputSigner<T extends Parameters>
PlainInputProcessingException
- if the input provided cannot be processed.public abstract FipsOutputSignerUsingSecureRandom<T> withSecureRandom(java.security.SecureRandom random)
OutputSignerUsingSecureRandom
withSecureRandom
in interface OperatorUsingSecureRandom<OutputSignerUsingSecureRandom<T extends Parameters>>
withSecureRandom
in interface OutputSignerUsingSecureRandom<T extends Parameters>
random
- the SecureRandom to use.