| Package | Description |
|---|---|
| com.maverick.ssh | |
| 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 |
|---|---|
SshException |
SshIOException.getRealException()
Get the real exception
|
| Modifier and Type | Method and Description |
|---|---|
static String |
SshKeyFingerprint.getFingerprint(byte[] encoded)
Generate an SSH key fingerprint as defined in
draft-ietf-secsh-fingerprint-00.txt.
|
static String |
SshKeyFingerprint.getFingerprint(byte[] encoded,
String algorithm)
Generate an SSH key fingerprint with a specific algorithm.
|
| Constructor and Description |
|---|
SshIOException(SshException realEx)
Construct the exception with the real exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ComponentFactory.changePositionofAlgorithm(String name,
int position) |
abstract SshDsaPrivateKey |
ComponentManager.createDsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y)
Create an instance of a DSA private key.
|
abstract SshDsaPublicKey |
ComponentManager.createDsaPublicKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger y)
Create an instance of a DSA public key.
|
String |
ComponentFactory.createNewOrdering(int[] ordering) |
abstract SshRsaPrivateCrtKey |
ComponentManager.createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger crtCoefficient)
Create an instance of an RSA co-effecient private key.
|
abstract SshRsaPrivateCrtKey |
ComponentManager.createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient)
Create an instance of an RSA co-efficent private key.
|
abstract SshRsaPrivateKey |
ComponentManager.createRsaPrivateKey(BigInteger modulus,
BigInteger privateExponent)
Create an instance of an RSA private key.
|
abstract SshRsaPublicKey |
ComponentManager.createRsaPublicKey(BigInteger modulus,
BigInteger publicExponent,
int version)
Create an instance of an RSA public key.
|
abstract SshRsaPublicKey |
ComponentManager.createSsh2RsaPublicKey()
Create an instance of an SSH2 RSA public key.
|
BigInteger |
SshRsaPrivateCrtKey.doPrivate(BigInteger input) |
BigInteger |
SshRsaPublicKey.doPublic(BigInteger input) |
abstract SshKeyPair |
ComponentManager.generateDsaKeyPair(int bits)
Generate a new DSA public/private key pair.
|
abstract SshKeyPair |
ComponentManager.generateEcdsaKeyPair(int bits)
Generate a new ECDSA key pair.
|
abstract SshKeyPair |
ComponentManager.generateRsaKeyPair(int bits,
int version)
Generate an RSA public/private pair.
|
byte[] |
SshPublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result will be
passed into init to recreate the key.
|
String |
SshPublicKey.getFingerprint()
Return an SSH fingerprint of the public key
|
T |
ComponentFactory.getInstance(String name)
Get a new instance of a supported component.
|
abstract SshSecureRandomGenerator |
ComponentManager.getRND()
Get the secure random number generator.
|
protected void |
ComponentManager.init() |
void |
SshHmac.init(byte[] keydata) |
void |
SshPublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
SshSecureRandomGenerator.nextBytes(byte[] bytes,
int off,
int len) |
boolean |
SshPublicKey.verifySignature(byte[] signature,
byte[] data)
Verify the signature.
|
| Modifier and Type | Method and Description |
|---|---|
SshDsaPrivateKey |
JCEComponentManager.createDsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y) |
SshDsaPublicKey |
JCEComponentManager.createDsaPublicKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger y) |
SshRsaPrivateCrtKey |
JCEComponentManager.createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger crtCoefficient) |
SshRsaPrivateCrtKey |
JCEComponentManager.createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient) |
SshRsaPrivateKey |
JCEComponentManager.createRsaPrivateKey(BigInteger modulus,
BigInteger privateExponent) |
SshRsaPublicKey |
JCEComponentManager.createRsaPublicKey(BigInteger modulus,
BigInteger publicExponent,
int version) |
SshRsaPublicKey |
JCEComponentManager.createSsh2RsaPublicKey() |
BigInteger |
Ssh2RsaPrivateCrtKey.doPrivate(BigInteger input) |
BigInteger |
Ssh2RsaPublicKey.doPublic(BigInteger input) |
SshKeyPair |
JCEComponentManager.generateDsaKeyPair(int bits) |
SshKeyPair |
JCEComponentManager.generateEcdsaKeyPair(int bits) |
SshKeyPair |
JCEComponentManager.generateRsaKeyPair(int bits,
int version) |
byte[] |
Ssh1RsaPublicKey.getEncoded()
Get the encoded format required by SSH1
|
byte[] |
SshX509RsaSha1PublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result
will be passed into init to recreate the key.
|
byte[] |
SshX509DsaPublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result
will be passed into init to recreate the key.
|
byte[] |
Ssh2RsaPublicKey.getEncoded() |
byte[] |
SshX509RsaPublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result
will be passed into init to recreate the key.
|
byte[] |
Ssh2EcdsaSha2NistPublicKey.getEncoded() |
byte[] |
Ssh2DsaPublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result
will be passed into init to recreate the key.
|
String |
Ssh2RsaPublicKey.getFingerprint() |
String |
Ssh2EcdsaSha2NistPublicKey.getFingerprint() |
String |
Ssh2DsaPublicKey.getFingerprint() |
SshSecureRandomGenerator |
JCEComponentManager.getRND() |
void |
HmacSha512.init(byte[] keydata) |
void |
HmacSha196.init(byte[] keydata) |
void |
HmacSha1.init(byte[] keydata) |
void |
HmacSha256.init(byte[] keydata) |
void |
AbstractHmac.init(byte[] keydata) |
void |
SshX509RsaSha1PublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
SshX509DsaPublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
Ssh2RsaPublicKey.init(byte[] blob,
int start,
int len) |
void |
SshX509RsaPublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
Ssh2EcdsaSha2NistPublicKey.init(byte[] blob,
int start,
int len) |
void |
Ssh2DsaPublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
SecureRND.nextBytes(byte[] bytes,
int off,
int len) |
boolean |
Ssh2RsaPublicKey.verifySignature(byte[] signature,
byte[] data) |
boolean |
Ssh2EcdsaSha2NistPublicKey.verifySignature(byte[] signature,
byte[] data) |
boolean |
Ssh2DsaPublicKey.verifySignature(byte[] signature,
byte[] data)
Verify the signature.
|
| Constructor and Description |
|---|
Ssh2DsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y) |
| Modifier and Type | Method and Description |
|---|---|
static SshKeyPair |
SshKeyPairGenerator.generateKeyPair(String algorithm,
int bits)
Generates a new key pair.
|
Copyright © 2013. All Rights Reserved.