public class

DSADigestSigner

extends Object
implements Signer
java.lang.Object
   ↳ org.bouncycastle.crypto.signers.DSADigestSigner

Summary

Public Constructors
DSADigestSigner(DSA signer, Digest digest)
Public Methods
byte[] generateSignature()
Generate a signature for the message we've been loaded with using the key we were initialised with.
void init(boolean forSigning, CipherParameters parameters)
Initialise the signer for signing or verification.
void reset()
reset the internal state
void update(byte[] input, int inOff, int length)
update the internal digest with the byte array in
void update(byte input)
update the internal digest with the byte b
boolean verifySignature(byte[] signature)
return true if the internal state represents the signature described in the passed in array.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.crypto.Signer

Public Constructors

public DSADigestSigner (DSA signer, Digest digest)

Public Methods

public byte[] generateSignature ()

Generate a signature for the message we've been loaded with using the key we were initialised with.

public void init (boolean forSigning, CipherParameters parameters)

Initialise the signer for signing or verification.

Parameters
forSigning true if for signing, false otherwise
parameters necessary parameters.

public void reset ()

reset the internal state

public void update (byte[] input, int inOff, int length)

update the internal digest with the byte array in

public void update (byte input)

update the internal digest with the byte b

public boolean verifySignature (byte[] signature)

return true if the internal state represents the signature described in the passed in array.