Package | Description |
---|---|
org.apache.sshd.common.cipher |
Cipher
implementations. |
org.apache.sshd.common.config.keys | |
org.apache.sshd.common.digest |
Digest implementations. |
org.apache.sshd.common.kex | |
org.apache.sshd.common.kex.dh | |
org.apache.sshd.common.session.helpers | |
org.apache.sshd.server.subsystem.sftp |
Modifier and Type | Method and Description |
---|---|
Digest |
ECCurves.getDigestForParams() |
Modifier and Type | Method and Description |
---|---|
static java.util.AbstractMap.SimpleImmutableEntry<java.lang.Boolean,java.lang.String> |
KeyUtils.checkFingerPrint(java.lang.String expected,
Digest d,
java.security.PublicKey key) |
static java.lang.String |
KeyUtils.getFingerPrint(Digest d,
java.security.PublicKey key) |
static java.lang.String |
KeyUtils.getFingerPrint(Digest d,
java.lang.String s) |
static java.lang.String |
KeyUtils.getFingerPrint(Digest d,
java.lang.String s,
java.nio.charset.Charset charset) |
static byte[] |
KeyUtils.getRawFingerprint(Digest d,
java.security.PublicKey key) |
Modifier and Type | Method and Description |
---|---|
static java.util.AbstractMap.SimpleImmutableEntry<java.lang.Boolean,java.lang.String> |
KeyUtils.checkFingerPrint(java.lang.String expected,
Factory<? extends Digest> f,
java.security.PublicKey key) |
static java.lang.String |
KeyUtils.getFingerPrint(Factory<? extends Digest> f,
java.security.PublicKey key) |
static java.lang.String |
KeyUtils.getFingerPrint(Factory<? extends Digest> f,
java.lang.String s) |
static java.lang.String |
KeyUtils.getFingerPrint(Factory<? extends Digest> f,
java.lang.String s,
java.nio.charset.Charset charset) |
static byte[] |
KeyUtils.getRawFingerprint(Factory<? extends Digest> f,
java.security.PublicKey key) |
Constructor and Description |
---|
KeyRandomArt(java.security.PublicKey key,
Digest d) |
Constructor and Description |
---|
KeyRandomArt(java.security.PublicKey key,
Factory<? extends Digest> f) |
Modifier and Type | Class and Description |
---|---|
class |
BaseDigest
Base class for Digest algorithms based on the JCE provider.
|
Modifier and Type | Method and Description |
---|---|
static <D extends Digest> |
DigestUtils.findDigestByAlgorithm(java.lang.String algo,
java.util.Comparator<? super java.lang.String> comp,
java.util.Collection<? extends D> digests) |
Modifier and Type | Method and Description |
---|---|
Digest |
BuiltinDigests.create() |
Modifier and Type | Method and Description |
---|---|
int |
BaseDigest.compareTo(Digest that) |
static BuiltinDigests |
BuiltinDigests.fromDigest(Digest d) |
static java.lang.String |
DigestUtils.getFingerPrint(Digest d,
byte... buf) |
static java.lang.String |
DigestUtils.getFingerPrint(Digest d,
byte[] buf,
int offset,
int len) |
static java.lang.String |
DigestUtils.getFingerPrint(Digest d,
java.lang.String s) |
static java.lang.String |
DigestUtils.getFingerPrint(Digest d,
java.lang.String s,
java.nio.charset.Charset charset) |
static byte[] |
DigestUtils.getRawFingerprint(Digest d,
byte... buf) |
static byte[] |
DigestUtils.getRawFingerprint(Digest d,
byte[] buf,
int offset,
int len) |
Modifier and Type | Method and Description |
---|---|
static BuiltinDigests |
BuiltinDigests.fromFactory(NamedFactory<? extends Digest> factory) |
static java.lang.String |
DigestUtils.getFingerPrint(Factory<? extends Digest> f,
byte... buf) |
static java.lang.String |
DigestUtils.getFingerPrint(Factory<? extends Digest> f,
byte[] buf,
int offset,
int len) |
static java.lang.String |
DigestUtils.getFingerPrint(Factory<? extends Digest> f,
java.lang.String s) |
static java.lang.String |
DigestUtils.getFingerPrint(Factory<? extends Digest> f,
java.lang.String s,
java.nio.charset.Charset charset) |
Modifier and Type | Field and Description |
---|---|
private Factory<? extends Digest> |
DHG.factory |
Modifier and Type | Method and Description |
---|---|
Digest |
DHG.getHash() |
Digest |
KeyExchange.getHash()
The message digest used by this key exchange algorithm.
|
Digest |
ECDH.getHash() |
abstract Digest |
AbstractDH.getHash() |
Constructor and Description |
---|
DHG(Factory<? extends Digest> digestFactory) |
DHG(Factory<? extends Digest> digestFactory,
java.math.BigInteger pValue,
java.math.BigInteger gValue) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
AbstractDHKeyExchange.hash |
Modifier and Type | Method and Description |
---|---|
Digest |
AbstractDHKeyExchange.getHash() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
SessionHelper.resizeKey(byte[] e,
int kdfSize,
Digest hash,
byte[] k,
byte[] h)
Method used while putting new keys into use that will resize the key used to
initialize the cipher to the needed length.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSftpSubsystemHelper.doCheckFileHash(int id,
java.nio.file.Path file,
NamedFactory<? extends Digest> factory,
long startOffset,
long length,
int blockSize,
Buffer buffer) |