net.sf.jftp.net
Class SftpVerification
java.lang.Object
com.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification
net.sf.jftp.net.SftpVerification
- All Implemented Interfaces:
- com.sshtools.j2ssh.transport.HostKeyVerification
- public class SftpVerification
- extends com.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification
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 |
SftpVerification
public SftpVerification(java.lang.String tmp)
throws com.sshtools.j2ssh.transport.InvalidHostFileException
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