Top Description Constructors Methods
org.bouncycastle.crypto.fips

public abstract Class FipsOutputSigner<T extends Parameters>

extends Object
implements OutputSigner<T extends Parameters>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.OutputSigner
Known Direct Subclasses
org.bouncycastle.crypto.fips.FipsOutputSignerUsingSecureRandom
Type Parameters
<T>
The parameters class for this signer.
Imports
org.bouncycastle.crypto.OutputSigner, .Parameters, .PlainInputProcessingException

Base class for a FIPS signature generator..

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public abstract T
getParameters()

Redeclares org.bouncycastle.crypto.OutputSigner.getParameters.

Return the parameters for this output signer.
public abstract byte[]
getSignature()

Redeclares org.bouncycastle.crypto.OutputSigner.getSignature.

Return the signature calculated on what has been written to the calculator's output stream.
public abstract int
getSignature(byte[]
output array to write the signature to.
output
,
int
offset to start writing the signature at.
off
)

Redeclares org.bouncycastle.crypto.OutputSigner.getSignature.

Output the signature value for what has been written to the signer's output stream.
public abstract UpdateOutputStream
getSigningStream()

Redeclares org.bouncycastle.crypto.OutputSigner.getSigningStream.

Returns a stream that will accept data for the purpose of calculating a signature.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FipsOutputSignerback to summary
pack-priv FipsOutputSigner()

Method Detail

getParametersback to summary
public abstract T getParameters()

Redeclares org.bouncycastle.crypto.OutputSigner.getParameters.

Doc from org.bouncycastle.crypto.OutputSigner.getParameters.

Return the parameters for this output signer.

Returns:T

the signer's parameters.

getSignatureback to summary
public abstract byte[] getSignature() throws PlainInputProcessingException

Redeclares org.bouncycastle.crypto.OutputSigner.getSignature.

Doc from org.bouncycastle.crypto.OutputSigner.getSignature.

Return the signature calculated on what has been written to the calculator's output stream.

Returns:byte[]

a signature.

Exceptions
PlainInputProcessingException:
if the input provided cannot be processed.
getSignatureback to summary
public abstract int getSignature(byte[] output, int off) throws PlainInputProcessingException

Redeclares org.bouncycastle.crypto.OutputSigner.getSignature.

Doc from org.bouncycastle.crypto.OutputSigner.getSignature.

Output the signature value for what has been written to the signer's output stream.

Parameters
output:byte[]

output array to write the signature to.

off:int

offset to start writing the signature at.

Returns:int

the number of bytes output.

Exceptions
PlainInputProcessingException:
if the input provided cannot be processed.
getSigningStreamback to summary
public abstract UpdateOutputStream getSigningStream()

Redeclares org.bouncycastle.crypto.OutputSigner.getSigningStream.

Doc from org.bouncycastle.crypto.OutputSigner.getSigningStream.

Returns a stream that will accept data for the purpose of calculating a signature. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.

Returns:UpdateOutputStream

an UpdateOutputStream