public class SignatureDSA extends Object implements com.jcraft.jsch.SignatureDSA
| Constructor and Description |
|---|
SignatureDSA() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public void init()
throws Exception
init in interface com.jcraft.jsch.SignatureExceptionpublic void setPubKey(byte[] y,
byte[] p,
byte[] q,
byte[] g)
throws Exception
setPubKey in interface com.jcraft.jsch.SignatureDSAExceptionpublic void setPrvKey(byte[] x,
byte[] p,
byte[] q,
byte[] g)
throws Exception
setPrvKey in interface com.jcraft.jsch.SignatureDSAExceptionpublic byte[] sign()
throws Exception
sign in interface com.jcraft.jsch.SignatureExceptionpublic void update(byte[] foo)
throws Exception
update in interface com.jcraft.jsch.SignatureExceptionCopyright © 2017. All rights reserved.