net.ssh.jsch.jce
Class SignatureRSA
java.lang.Object
   net.ssh.jsch.jce.SignatureRSA
net.ssh.jsch.jce.SignatureRSA
- All Implemented Interfaces: 
- SignatureRSAInterface
- public class SignatureRSA 
- extends java.lang.Object- implements SignatureRSAInterface
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SignatureRSA
public SignatureRSA()
init
public void init()
          throws java.lang.Exception
- 
- Specified by:
- initin interface- SignatureRSAInterface
 
- 
- Throws:
- java.lang.Exception
 
setPubKey
public void setPubKey(byte[] e,
                      byte[] n)
               throws java.lang.Exception
- 
- Specified by:
- setPubKeyin interface- SignatureRSAInterface
 
- 
- Throws:
- java.lang.Exception
 
setPrvKey
public void setPrvKey(byte[] d,
                      byte[] n)
               throws java.lang.Exception
- 
- Specified by:
- setPrvKeyin interface- SignatureRSAInterface
 
- 
- Throws:
- java.lang.Exception
 
sign
public byte[] sign()
            throws java.lang.Exception
- 
- Specified by:
- signin interface- SignatureRSAInterface
 
- 
- Throws:
- java.lang.Exception
 
update
public void update(byte[] foo)
            throws java.lang.Exception
- 
- Specified by:
- updatein interface- SignatureRSAInterface
 
- 
- Throws:
- java.lang.Exception
 
verify
public boolean verify(byte[] sig)
               throws java.lang.Exception
- 
- Specified by:
- verifyin interface- SignatureRSAInterface
 
- 
- Throws:
- java.lang.Exception