public class DSAPlainDigestSigner extends Object implements org.bouncycastle.crypto.Signer
| Constructor and Description |
|---|
DSAPlainDigestSigner(org.bouncycastle.crypto.DSA signer,
org.bouncycastle.crypto.Digest digest) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateSignature() |
void |
init(boolean forSigning,
org.bouncycastle.crypto.CipherParameters parameters) |
void |
reset() |
void |
update(byte input) |
void |
update(byte[] input,
int inOff,
int length) |
boolean |
verifySignature(byte[] signature) |
public DSAPlainDigestSigner(org.bouncycastle.crypto.DSA signer,
org.bouncycastle.crypto.Digest digest)
public void init(boolean forSigning,
org.bouncycastle.crypto.CipherParameters parameters)
init in interface org.bouncycastle.crypto.Signerpublic void update(byte input)
update in interface org.bouncycastle.crypto.Signerpublic void update(byte[] input,
int inOff,
int length)
update in interface org.bouncycastle.crypto.Signerpublic byte[] generateSignature()
generateSignature in interface org.bouncycastle.crypto.Signerpublic boolean verifySignature(byte[] signature)
verifySignature in interface org.bouncycastle.crypto.Signerpublic void reset()
reset in interface org.bouncycastle.crypto.SignerCopyright © 2019. All rights reserved.