Modifier and Type | Class and Description |
---|---|
class |
KeyPairDSA
Usually not to be used by applications.
|
class |
KeyPairECDSA
Usually not to be used by applications.
|
class |
KeyPairPKCS8
Usually not to be used by an application.
|
class |
KeyPairRSA
Usually not to be used by applications.
|
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.
|
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.
|
This is an inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.