T
- The parameters class for this signer.public abstract class FipsOutputSigner<T extends Parameters> extends java.lang.Object implements OutputSigner<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 int |
getSignature(byte[] output,
int off)
Output the signature value for what has been written to the signer's output stream.
|
abstract UpdateOutputStream |
getSigningStream()
Returns a stream that will accept data for the purpose of calculating
a signature.
|
public abstract T getParameters()
OutputSigner
getParameters
in interface OutputSigner<T extends Parameters>
public abstract UpdateOutputStream getSigningStream()
OutputSigner
getSigningStream
in interface OutputSigner<T extends Parameters>
public abstract byte[] getSignature() throws PlainInputProcessingException
OutputSigner
getSignature
in interface OutputSigner<T extends Parameters>
PlainInputProcessingException
- if the input provided cannot be processed.public abstract int getSignature(byte[] output, int off) throws PlainInputProcessingException
OutputSigner
getSignature
in interface OutputSigner<T extends Parameters>
output
- output array to write the signature to.off
- offset to start writing the signature at.PlainInputProcessingException
- if the input provided cannot be processed.