Package | Description |
---|---|
com.sshtools.common.hosts | |
com.sshtools.j2ssh.transport | |
com.sshtools.j2ssh.transport.kex | |
com.sshtools.j2ssh.transport.publickey |
Modifier and Type | Method and Description |
---|---|
void |
DialogHostKeyVerification.onDeniedHost(java.lang.String host) |
abstract void |
AbstractHostKeyVerification.onDeniedHost(java.lang.String host) |
void |
DialogKnownHostsKeyVerification.onDeniedHost(java.lang.String host) |
void |
DialogKnownHostsKeyVerification.onHostKeyMismatch(java.lang.String host,
SshPublicKey recorded,
SshPublicKey actual) |
void |
DialogHostKeyVerification.onHostKeyMismatch(java.lang.String host,
java.lang.String recordedFingerprint,
java.lang.String actualFingerprint) |
abstract void |
AbstractHostKeyVerification.onHostKeyMismatch(java.lang.String host,
java.lang.String allowedHostKey,
java.lang.String actualHostKey) |
void |
DialogKnownHostsKeyVerification.onUnknownHost(java.lang.String host,
SshPublicKey key) |
void |
DialogHostKeyVerification.onUnknownHost(java.lang.String host,
java.lang.String fingerprint) |
abstract void |
AbstractHostKeyVerification.onUnknownHost(java.lang.String host,
java.lang.String hostKeyFingerprint) |
boolean |
AbstractHostKeyVerification.verifyHost(java.lang.String host,
SshPublicKey pk) |
Modifier and Type | Class and Description |
---|---|
class |
AlgorithmInitializationException
Thrown by the transport protocol if an error occurs during any type of
algorithm initialization.
|
class |
AlgorithmNotAgreedException
Thrown by the transport protocol if an algortihm cannot be agreed between
the client and server.
|
class |
AlgorithmNotSupportedException
Thrown by the transport protocol if an algorithm is not supported by the
underlying JCE.
|
class |
AlgorithmOperationException
Thrown by the transport protocol if an algorithm operation error occurs.
|
class |
InvalidHostFileException
Thrown by abstract host key verifications when a host file is invalid
|
class |
InvalidMessageException
Thrown by
SshMessage implementations when an invalid message is
found. |
class |
MessageStoreEOFException
Thrown by the message store when the store reaches EOF.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractKnownHostsKeyVerification.onHostKeyMismatch(java.lang.String host,
SshPublicKey allowedHostKey,
SshPublicKey actualHostKey)
Called by the
verifyHost method when the host key supplied
by the host does not match the current key recording in the known hosts
file. |
abstract void |
AbstractKnownHostsKeyVerification.onUnknownHost(java.lang.String host,
SshPublicKey key)
Called by the
verifyHost method when the host key supplied
is not recorded in the known_hosts file. |
void |
TransportProtocolCommon.setKexTimeout(long seconds) |
void |
TransportProtocolCommon.setKexTransferLimit(long kilobytes) |
boolean |
HostKeyVerification.verifyHost(java.lang.String host,
SshPublicKey pk)
Called by the transport protocol to verify the identity of the server
through the supplied public key.
|
boolean |
AbstractKnownHostsKeyVerification.verifyHost(java.lang.String host,
SshPublicKey pk)
Verifies a host key against the list of known_hosts.
|
boolean |
IgnoreHostKeyVerification.verifyHost(java.lang.String host,
SshPublicKey pk)
Simply returns
true to all requests. |
protected boolean |
TransportProtocolClient.verifyHostKey(byte[] key,
byte[] sig,
byte[] sigdata) |
Constructor and Description |
---|
TransportProtocolClient(HostKeyVerification hosts)
Creates a new TransportProtocolClient object.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyExchangeException |
Modifier and Type | Class and Description |
---|---|
class |
InvalidSshKeyException |
class |
InvalidSshKeySignatureException |
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.