Package | Description |
---|---|
com.maverick.sshd |
This package contains the base implementation of the SSH server.
|
com.maverick.util |
A set of SSHTools utility classes.
|
com.sshtools.publickey |
Modifier and Type | Method and Description |
---|---|
void |
SshContext.loadHostKey(InputStream in,
String type,
int bitlength) |
void |
SshContext.loadHostKey(InputStream in,
String type,
int bitlength,
int privateKeyFormat,
int publicKeyFormat,
String passPhrase) |
void |
SshContext.loadHostKey(InputStream in,
String type,
int bitlength,
String passPhrase) |
SshKeyPair |
SshContext.loadKey(File key,
String passphrase) |
SshKeyPair |
SshContext.loadKey(InputStream in,
String passphrase) |
void |
SshContext.loadOrGenerateHostKey(File key,
String type,
int bitlength)
Load a host key from file, if the file does not exist then generate the
key.
|
void |
SshContext.loadOrGenerateHostKey(File key,
String type,
int bitlength,
int privateKeyFormat,
int publicKeyFormat,
String passPhrase)
Load a host key from file, if the file does not exist then generate the
key.
|
void |
SshContext.loadOrGenerateHostKey(File key,
String type,
int bitlength,
String passPhrase) |
void |
SshContext.loadSshCertificate(File keyFile,
String passphrase,
File certFile) |
void |
SshContext.loadSshCertificate(SshCertificate cert) |
Modifier and Type | Method and Description |
---|---|
static void |
SshPrivateKeyFileFactory.changePassphrase(File keyFile,
String passphrase,
String newPassphrase)
Take a file in any of the supported public key formats and convert to the
requested format.
|
void |
SshPrivateKeyFile.changePassphrase(String oldpassphrase,
String newpassprase)
Change the passphrase of the key file.
|
static void |
SshPrivateKeyFileFactory.convertFile(File keyFile,
String passphrase,
String comment,
int toFormat,
File toFile)
Take a file in any of the supported public key formats and convert to the
requested format.
|
SshKeyPair |
SshPrivateKeyFile.toKeyPair(String passphrase)
Decode the private key using the users passphrase.
|
Copyright © 2024. All rights reserved.