T - the parameters type for the signer.public interface OutputSigner<T extends Parameters>
| Modifier and Type | Method and Description |
|---|---|
T |
getParameters()
Return the parameters for this output signer.
|
byte[] |
getSignature()
Return the signature calculated on what has been written to the calculator's output stream.
|
int |
getSignature(byte[] output,
int off)
Output the signature value for what has been written to the signer's output stream.
|
UpdateOutputStream |
getSigningStream()
Returns a stream that will accept data for the purpose of calculating
a signature.
|
T getParameters()
UpdateOutputStream getSigningStream()
byte[] getSignature()
throws PlainInputProcessingException
PlainInputProcessingException - if the input provided cannot be processed.int getSignature(byte[] output,
int off)
throws PlainInputProcessingException
output - output array to write the signature to.off - offset to start writing the signature at.PlainInputProcessingException - if the input provided cannot be processed.