Package | Description |
---|---|
com.sshtools.publickey |
This package contains utility classes for loading/storing public/private keys
and is based on the SSHTools key format architecture.
|
Modifier and Type | Method and Description |
---|---|
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 © 2014. All rights reserved.