com.jcraft.jsch

Interface SignatureRSA

Known Implementing Classes:
SignatureRSA

public interface SignatureRSA

Method Summary

void
init()
void
setPrvKey(byte[] d, byte[] n)
void
setPubKey(byte[] e, byte[] n)
byte[]
sign()
void
update(byte[] H)
boolean
verify(byte[] sig)

Method Details

init

public void init()
            throws Exception

setPrvKey

public void setPrvKey(byte[] d,
                      byte[] n)
            throws Exception

setPubKey

public void setPubKey(byte[] e,
                      byte[] n)
            throws Exception

sign

public byte[] sign()
            throws Exception

update

public void update(byte[] H)
            throws Exception

verify

public boolean verify(byte[] sig)
            throws Exception