net.ssh.jsch
Interface SignatureDSAInterface
- All Known Implementing Classes:
- SignatureDSA
public interface 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[] H)
|
boolean |
verify(byte[] sig)
|
init
void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
setPubKey
void setPubKey(byte[] y,
byte[] p,
byte[] q,
byte[] g)
throws java.lang.Exception
- Throws:
java.lang.Exception
setPrvKey
void setPrvKey(byte[] x,
byte[] p,
byte[] q,
byte[] g)
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