public class

RSADigestSigner

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

Summary

Public Constructors
RSADigestSigner(Digest digest)
Public Methods
byte[] generateSignature()
Generate a signature for the message we've been loaded with using the key we were initialised with.
String getAlgorithmName()
This method is deprecated. No replacement.
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 RSADigestSigner (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 String getAlgorithmName ()

This method is deprecated.
No replacement.

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.