public class SignatureRSA extends Object implements com.jcraft.jsch.SignatureRSA
| Constructor and Description |
|---|
SignatureRSA() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
setPrvKey(byte[] d,
byte[] n) |
void |
setPubKey(byte[] e,
byte[] n) |
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[] e,
byte[] n)
throws Exception
setPubKey in interface com.jcraft.jsch.SignatureRSAExceptionpublic void setPrvKey(byte[] d,
byte[] n)
throws Exception
setPrvKey in interface com.jcraft.jsch.SignatureRSAExceptionpublic 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.