public class KeyPairRSA extends KeyPair
Constructor | Description |
---|---|
KeyPairRSA(JSch jsch) |
|
KeyPairRSA(JSch jsch,
byte[] n_array,
byte[] pub_array,
byte[] prv_array) |
Modifier and Type | Method | Description |
---|---|---|
void |
dispose() |
|
byte[] |
forSSHAgent() |
|
int |
getKeySize() |
|
int |
getKeyType() |
|
byte[] |
getPublicKeyBlob() |
Returns the blob of the public key.
|
byte[] |
getSignature(byte[] data) |
|
Signature |
getVerifier() |
decrypt, decrypt, finalize, genKeyPair, genKeyPair, getFingerPrint, getPublicKeyComment, isEncrypted, load, load, load, setPassphrase, setPassphrase, setPublicKeyComment, writePrivateKey, writePrivateKey, writePrivateKey, writePrivateKey, writePublicKey, writePublicKey, writeSECSHPublicKey, writeSECSHPublicKey
public KeyPairRSA(JSch jsch)
public KeyPairRSA(JSch jsch, byte[] n_array, byte[] pub_array, byte[] prv_array)
public byte[] getPublicKeyBlob()
KeyPair
getPublicKeyBlob
in class KeyPair
public int getKeyType()
getKeyType
in class KeyPair
public int getKeySize()
public byte[] getSignature(byte[] data)
getSignature
in class KeyPair
public Signature getVerifier()
getVerifier
in class KeyPair
public byte[] forSSHAgent() throws JSchException
forSSHAgent
in class KeyPair
JSchException