Package | Description |
---|---|
com.maverick.ssh |
This package contains a set of general interface contracts for SSH communication that
provide the core set of functionality available in both the SSH1 and SSH2 protocol specifications.
|
com.maverick.util |
A set of SSHTools utility classes.
|
com.sshtools.publickey |
This package contains utility classes for loading/storing public/private keys
and is based on the SSHTools key format architecture.
|
Constructor and Description |
---|
PublicKeyAuthentication(File identityFile,
String passphrase) |
PublicKeyAuthentication(InputStream identityFile,
String passphrase) |
PublicKeyAuthentication(String identityFile,
String passphrase) |
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.