Modifier and Type | Method and Description |
---|---|
static KeyPair |
KeyPair.genKeyPair(JSch jsch,
int type)
Creates a new key pair with default key size of 1024 bits.
|
static KeyPair |
KeyPair.genKeyPair(JSch jsch,
int type,
int key_size)
Creates a new key pair.
|
String |
HostKey.getFingerPrint(JSch jsch)
returns the key's fingerprint (i.e. a lowercase hexadecimal
representation of the MD5 of the key.)
|
static KeyPair |
KeyPair.load(JSch jsch,
byte[] prvkey,
byte[] pubkey) |
static KeyPair |
KeyPair.load(JSch jsch,
String prvkey)
Loads a key pair from a pair of files.
|
static KeyPair |
KeyPair.load(JSch jsch,
String prvfile,
String pubfile)
Loads a key pair from a pair of files.
|
Constructor and Description |
---|
KeyPair(JSch jsch)
Creates a new KeyPair.
|
KeyPairDSA(JSch jsch) |
KeyPairDSA(JSch jsch,
byte[] P_array,
byte[] Q_array,
byte[] G_array,
byte[] pub_array,
byte[] prv_array) |
KeyPairECDSA(JSch jsch) |
KeyPairECDSA(JSch jsch,
byte[] name,
byte[] r_array,
byte[] s_array,
byte[] prv_array) |
KeyPairPKCS8(JSch jsch) |
KeyPairRSA(JSch jsch) |
KeyPairRSA(JSch jsch,
byte[] n_array,
byte[] pub_array,
byte[] prv_array) |
This is an inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.