Save This Page
Home » crypto-143 » org.bouncycastle.crypto » [javadoc | source]
public interface: DSA [javadoc | source]

All Known Implementing Classes:
    GOST3410Signer, ECDSASigner, ECGOST3410Signer, ECNRSigner, DSASigner

interface for classes implementing algorithms modeled similar to the Digital Signature Alorithm.
Method from org.bouncycastle.crypto.DSA Summary:
generateSignature,   init,   verifySignature
Method from org.bouncycastle.crypto.DSA Detail:
 public BigInteger[] generateSignature(byte[] message)
    sign the passed in message (usually the output of a hash function).
 public  void init(boolean forSigning,
    CipherParameters param)
    initialise the signer for signature generation or signature verification.
 public boolean verifySignature(byte[] message,
    BigInteger r,
    BigInteger s)
    verify the message message against the signature values r and s.