net.ssh.jsch.jce
Class SignatureDSA
java.lang.Object
   net.ssh.jsch.jce.SignatureDSA
net.ssh.jsch.jce.SignatureDSA
- All Implemented Interfaces: 
- SignatureDSAInterface
- public class SignatureDSA 
- extends java.lang.Object- implements SignatureDSAInterface
 
| 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[] foo)
 | 
|  boolean | verify(byte[] sig)
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SignatureDSA
public SignatureDSA()
init
public void init()
          throws java.lang.Exception
- 
- Specified by:
- initin interface- SignatureDSAInterface
 
- 
- Throws:
- java.lang.Exception
 
setPubKey
public void setPubKey(byte[] y,
                      byte[] p,
                      byte[] q,
                      byte[] g)
               throws java.lang.Exception
- 
- Specified by:
- setPubKeyin interface- SignatureDSAInterface
 
- 
- Throws:
- java.lang.Exception
 
setPrvKey
public void setPrvKey(byte[] x,
                      byte[] p,
                      byte[] q,
                      byte[] g)
               throws java.lang.Exception
- 
- Specified by:
- setPrvKeyin interface- SignatureDSAInterface
 
- 
- Throws:
- java.lang.Exception
 
sign
public byte[] sign()
            throws java.lang.Exception
- 
- Specified by:
- signin interface- SignatureDSAInterface
 
- 
- Throws:
- java.lang.Exception
 
update
public void update(byte[] foo)
            throws java.lang.Exception
- 
- Specified by:
- updatein interface- SignatureDSAInterface
 
- 
- Throws:
- java.lang.Exception
 
verify
public boolean verify(byte[] sig)
               throws java.lang.Exception
- 
- Specified by:
- verifyin interface- SignatureDSAInterface
 
- 
- Throws:
- java.lang.Exception