| Package | Description |
|---|---|
| com.maverick.ssh.components |
This package contains an abstract cryptographic provider for the SSH protocol.
|
| com.maverick.ssh.components.jce |
This package contains a set of algoritm implementations that enable the Maverick API
to use a Java Cryptography Extension provider.
|
| com.sshtools.publickey |
| 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,
int version)
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,
int version) |
| 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.
|
Copyright © 2012. All Rights Reserved.