Package | Description |
---|---|
com.sshtools.common.publickey | |
com.sshtools.server |
Modifier and Type | Method and Description |
---|---|
void |
SshPrivateKeyFile.changePassphrase(String oldpassphrase,
String newpassprase)
Change the passphrase of the key file.
|
SshKeyPair |
SshPrivateKeyFile.toKeyPair(String passphrase)
Decode the private key using the users passphrase.
|
Modifier and Type | Method and Description |
---|---|
void |
SshServerContext.loadHostKey(InputStream in,
String type,
int bitlength) |
void |
SshServerContext.loadHostKey(InputStream in,
String type,
int bitlength,
int privateKeyFormat,
int publicKeyFormat,
String passPhrase) |
void |
SshServerContext.loadHostKey(InputStream in,
String type,
int bitlength,
String passPhrase) |
SshKeyPair |
SshServerContext.loadKey(File key,
String passphrase) |
SshKeyPair |
SshServerContext.loadKey(InputStream in,
String passphrase) |
void |
SshServerContext.loadOrGenerateHostKey(File key,
String type,
int bitlength)
Load a host key from file, if the file does not exist then generate the
key.
|
void |
SshServerContext.loadOrGenerateHostKey(File key,
String type,
int bitlength,
int publicKeyFormat,
String passPhrase)
Load a host key from file, if the file does not exist then generate the
key.
|
void |
SshServerContext.loadOrGenerateHostKey(File key,
String type,
int bitlength,
String passPhrase) |
void |
SshServerContext.loadSshCertificate(File keyFile,
String passphrase,
File certFile) |
Copyright © 2016. All rights reserved.