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.
|
com.sshtools.ssh.components |
This package contains an abstract cryptographic provider for the SSH protocol.
|
com.sshtools.ssh.components.jce |
This package contains a set of algoritm implementations that enable the Maverick API
to use a Java Cryptography Extension provider.
|
Modifier and Type | Method and Description |
---|---|
static SshKeyPair |
SshKeyPairGenerator.generateKeyPair(String algorithm,
int bits)
Generates a new key pair.
|
SshKeyPair |
SshPrivateKeyFile.toKeyPair(String passphrase)
Decode the private key using the users passphrase.
|
Modifier and Type | Method and Description |
---|---|
static SshPrivateKeyFile |
SshPrivateKeyFileFactory.create(SshKeyPair pair,
String passphrase,
String comment,
int format) |
static void |
SshPrivateKeyFileFactory.createFile(SshKeyPair key,
String passphrase,
String comment,
int format,
File toFile)
Take a SshPrivateKey and write it to a
file.
|
Modifier and Type | Method and Description |
---|---|
abstract SshKeyPair |
ComponentManager.generateDsaKeyPair(int bits)
Generate a new DSA public/private key pair.
|
abstract SshKeyPair |
ComponentManager.generateRsaKeyPair(int bits)
Generate an RSA public/private pair.
|
static SshKeyPair |
SshKeyPair.getKeyPair(SshPrivateKey prv,
SshPublicKey pub)
Wraps a public/private key pair into an SshKeyPair instance.
|
Modifier and Type | Method and Description |
---|---|
SshKeyPair |
JCEComponentManager.generateDsaKeyPair(int bits) |
SshKeyPair |
JCEComponentManager.generateRsaKeyPair(int bits) |
Copyright © 2014. All rights reserved.