Package | Description |
---|---|
org.apache.sshd.client.config.hosts | |
org.apache.sshd.client.keyverifier | |
org.apache.sshd.common | |
org.apache.sshd.common.cipher |
Cipher
implementations. |
org.apache.sshd.common.kex | |
org.apache.sshd.common.mac |
Mac
implementations. |
org.apache.sshd.common.session.helpers |
Modifier and Type | Field and Description |
---|---|
static NamedFactory<Mac> |
KnownHostHashValue.DEFAULT_DIGEST |
private NamedFactory<Mac> |
KnownHostHashValue.digester |
private Factory<Mac> |
KnownHostDigest.factory |
Modifier and Type | Method and Description |
---|---|
Mac |
KnownHostDigest.create() |
Modifier and Type | Method and Description |
---|---|
NamedFactory<Mac> |
KnownHostHashValue.getDigester() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
KnownHostHashValue.calculateHashValue(java.lang.String host,
int port,
Mac mac,
byte[] salt) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
KnownHostHashValue.calculateHashValue(java.lang.String host,
int port,
Factory<? extends Mac> factory,
byte[] salt) |
void |
KnownHostHashValue.setDigester(NamedFactory<Mac> digester) |
Constructor and Description |
---|
KnownHostDigest(java.lang.String name,
Factory<Mac> factory) |
Modifier and Type | Method and Description |
---|---|
protected NamedFactory<Mac> |
KnownHostsServerKeyVerifier.getHostValueDigester(ClientSession clientSession,
java.net.SocketAddress remoteAddress,
SshdSocketAddress hostIdentity)
Invoked by
KnownHostsServerKeyVerifier.prepareKnownHostEntry(ClientSession, SocketAddress, PublicKey) in order to query whether to
use a hashed value instead of a plain one for the written host name/address - default returns null -
i.e., no hashing |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<NamedFactory<Mac>> |
BaseBuilder.macFactories |
Modifier and Type | Method and Description |
---|---|
static java.util.List<NamedFactory<Mac>> |
BaseBuilder.setUpDefaultMacs(boolean ignoreUnsupported) |
Modifier and Type | Method and Description |
---|---|
S |
BaseBuilder.macFactories(java.util.List<NamedFactory<Mac>> macFactories) |
Modifier and Type | Field and Description |
---|---|
protected Mac |
ChaCha20Cipher.mac |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NamedFactory<Mac>> |
AbstractKexFactoryManager.macFactories |
Modifier and Type | Method and Description |
---|---|
java.util.List<NamedFactory<Mac>> |
KexFactoryManager.getMacFactories()
Retrieve the list of named factories for
Mac . |
java.util.List<NamedFactory<Mac>> |
AbstractKexFactoryManager.getMacFactories() |
Modifier and Type | Method and Description |
---|---|
void |
KexFactoryManager.setMacFactories(java.util.List<NamedFactory<Mac>> macFactories) |
void |
AbstractKexFactoryManager.setMacFactories(java.util.List<NamedFactory<Mac>> macFactories) |
Modifier and Type | Class and Description |
---|---|
class |
BaseMac
Base class for
Mac implementations based on the JCE provider. |
class |
Poly1305Mac
Poly1305 one-time message authentication code.
|
Modifier and Type | Method and Description |
---|---|
Mac |
BuiltinMacs.create() |
Modifier and Type | Method and Description |
---|---|
static BuiltinMacs |
BuiltinMacs.fromFactory(NamedFactory<Mac> factory) |
Modifier and Type | Field and Description |
---|---|
protected Mac |
AbstractSession.inMac |
private Mac |
AbstractSession.MessageCodingSettings.mac |
protected Mac |
AbstractSession.outMac |
Modifier and Type | Method and Description |
---|---|
Mac |
AbstractSession.MessageCodingSettings.getMac() |
Constructor and Description |
---|
MessageCodingSettings(Cipher cipher,
Mac mac,
Compression compression,
Cipher.Mode mode,
byte[] key,
byte[] iv) |