com.jcraft.jsch

Interface SignatureDSA

Known Implementing Classes:
SignatureDSA

public interface SignatureDSA

Method Summary

void
init()
void
setPrvKey(byte[] x, byte[] p, byte[] q, byte[] g)
void
setPubKey(byte[] y, byte[] p, byte[] q, byte[] g)
byte[]
sign()
void
update(byte[] H)
boolean
verify(byte[] sig)

Method Details

init

public void init()
            throws Exception

setPrvKey

public void setPrvKey(byte[] x,
                      byte[] p,
                      byte[] q,
                      byte[] g)
            throws Exception

setPubKey

public void setPubKey(byte[] y,
                      byte[] p,
                      byte[] q,
                      byte[] g)
            throws Exception

sign

public byte[] sign()
            throws Exception

update

public void update(byte[] H)
            throws Exception

verify

public boolean verify(byte[] sig)
            throws Exception