net.sf.jftp.net
Class SftpVerification

java.lang.Object
  extended bycom.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification
      extended bynet.sf.jftp.net.SftpVerification
All Implemented Interfaces:
com.sshtools.j2ssh.transport.HostKeyVerification

public class SftpVerification
extends com.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification


Constructor Summary
SftpVerification(java.lang.String tmp)
           
 
Method Summary
 void onDeniedHost(java.lang.String host)
           
 void onHostKeyMismatch(java.lang.String host, com.sshtools.j2ssh.transport.publickey.SshPublicKey recordedFingerprint, com.sshtools.j2ssh.transport.publickey.SshPublicKey actualFingerprint)
           
 void onUnknownHost(java.lang.String host, com.sshtools.j2ssh.transport.publickey.SshPublicKey fingerprint)
           
 
Methods inherited from class com.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification
allowedHosts, allowHost, isHostFileWriteable, removeAllowedHost, saveHostFile, toString, verifyHost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SftpVerification

public SftpVerification(java.lang.String tmp)
                 throws com.sshtools.j2ssh.transport.InvalidHostFileException
Method Detail

onDeniedHost

public void onDeniedHost(java.lang.String host)
                  throws com.sshtools.j2ssh.transport.TransportProtocolException
Throws:
com.sshtools.j2ssh.transport.TransportProtocolException

onHostKeyMismatch

public void onHostKeyMismatch(java.lang.String host,
                              com.sshtools.j2ssh.transport.publickey.SshPublicKey recordedFingerprint,
                              com.sshtools.j2ssh.transport.publickey.SshPublicKey actualFingerprint)
                       throws com.sshtools.j2ssh.transport.TransportProtocolException
Throws:
com.sshtools.j2ssh.transport.TransportProtocolException

onUnknownHost

public void onUnknownHost(java.lang.String host,
                          com.sshtools.j2ssh.transport.publickey.SshPublicKey fingerprint)
                   throws com.sshtools.j2ssh.transport.TransportProtocolException
Throws:
com.sshtools.j2ssh.transport.TransportProtocolException