Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.j2ssh.transport » [javadoc | source]
com.sshtools.j2ssh.transport
public interface: HostKeyVerification [javadoc | source]

All Known Implementing Classes:
    ConsoleKnownHostsKeyVerification, IgnoreHostKeyVerification, AbstractHostKeyVerification, ConsoleHostKeyVerification, AbstractKnownHostsKeyVerification, DialogKnownHostsKeyVerification, DialogHostKeyVerification, SinkHostKeyVerification, SystemVerification

An interface to allow the transport protocol to verify the public key supplied by the server during key-exchange

Method from com.sshtools.j2ssh.transport.HostKeyVerification Summary:
verifyHost
Method from com.sshtools.j2ssh.transport.HostKeyVerification Detail:
 public boolean verifyHost(String host,
    SshPublicKey pk) throws TransportProtocolException

    Called by the transport protocol to verify the identity of the server through the supplied public key.