Uses of Class
com.sshtools.j2ssh.transport.TransportProtocolException
-
Packages that use TransportProtocolException Package Description com.sshtools.common.hosts com.sshtools.j2ssh.transport com.sshtools.j2ssh.transport.kex com.sshtools.j2ssh.transport.publickey -
-
Uses of TransportProtocolException in com.sshtools.common.hosts
Methods in com.sshtools.common.hosts that throw TransportProtocolException Modifier and Type Method Description abstract void
AbstractHostKeyVerification. onDeniedHost(java.lang.String host)
void
DialogHostKeyVerification. onDeniedHost(java.lang.String host)
void
DialogKnownHostsKeyVerification. onDeniedHost(java.lang.String host)
abstract void
AbstractHostKeyVerification. onHostKeyMismatch(java.lang.String host, java.lang.String allowedHostKey, java.lang.String actualHostKey)
void
DialogHostKeyVerification. onHostKeyMismatch(java.lang.String host, java.lang.String recordedFingerprint, java.lang.String actualFingerprint)
void
DialogKnownHostsKeyVerification. onHostKeyMismatch(java.lang.String host, SshPublicKey recorded, SshPublicKey actual)
abstract void
AbstractHostKeyVerification. onUnknownHost(java.lang.String host, java.lang.String hostKeyFingerprint)
void
DialogHostKeyVerification. onUnknownHost(java.lang.String host, java.lang.String fingerprint)
void
DialogKnownHostsKeyVerification. onUnknownHost(java.lang.String host, SshPublicKey key)
boolean
AbstractHostKeyVerification. verifyHost(java.lang.String host, SshPublicKey pk)
-
Uses of TransportProtocolException in com.sshtools.j2ssh.transport
Subclasses of TransportProtocolException in com.sshtools.j2ssh.transport Modifier and Type Class 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 invalidclass
InvalidMessageException
Thrown bySshMessage
implementations when an invalid message is found.class
MessageStoreEOFException
Thrown by the message store when the store reaches EOF.Methods in com.sshtools.j2ssh.transport that throw TransportProtocolException Modifier and Type Method Description abstract void
AbstractKnownHostsKeyVerification. onHostKeyMismatch(java.lang.String host, SshPublicKey allowedHostKey, SshPublicKey actualHostKey)
Called by theverifyHost
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 theverifyHost
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
AbstractKnownHostsKeyVerification. verifyHost(java.lang.String host, SshPublicKey pk)
Verifies a host key against the list of known_hosts.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
IgnoreHostKeyVerification. verifyHost(java.lang.String host, SshPublicKey pk)
Simply returnstrue
to all requests.protected boolean
TransportProtocolClient. verifyHostKey(byte[] key, byte[] sig, byte[] sigdata)
Constructors in com.sshtools.j2ssh.transport that throw TransportProtocolException Constructor Description TransportProtocolClient(HostKeyVerification hosts)
Creates a new TransportProtocolClient object. -
Uses of TransportProtocolException in com.sshtools.j2ssh.transport.kex
Subclasses of TransportProtocolException in com.sshtools.j2ssh.transport.kex Modifier and Type Class Description class
KeyExchangeException
-
Uses of TransportProtocolException in com.sshtools.j2ssh.transport.publickey
Subclasses of TransportProtocolException in com.sshtools.j2ssh.transport.publickey Modifier and Type Class Description class
InvalidSshKeyException
class
InvalidSshKeySignatureException
-