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