net.ssh.jsch
Interface SignatureRSAInterface

All Known Implementing Classes:
SignatureRSA

public interface SignatureRSAInterface


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 Detail

init

void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

setPubKey

void setPubKey(byte[] e,
               byte[] n)
               throws java.lang.Exception
Throws:
java.lang.Exception

setPrvKey

void setPrvKey(byte[] d,
               byte[] n)
               throws java.lang.Exception
Throws:
java.lang.Exception

update

void update(byte[] H)
            throws java.lang.Exception
Throws:
java.lang.Exception

verify

boolean verify(byte[] sig)
               throws java.lang.Exception
Throws:
java.lang.Exception

sign

byte[] sign()
            throws java.lang.Exception
Throws:
java.lang.Exception