org.glassfish.cluster.ssh.util
Class HostVerifier

java.lang.Object
  extended by org.glassfish.cluster.ssh.util.HostVerifier
All Implemented Interfaces:
com.trilead.ssh2.ServerHostKeyVerifier

public class HostVerifier
extends java.lang.Object
implements com.trilead.ssh2.ServerHostKeyVerifier

Author:
Rajiv Mordani

Constructor Summary
HostVerifier(com.trilead.ssh2.KnownHosts knownHosts)
           
 
Method Summary
 boolean verifyServerHostKey(java.lang.String hostName, int port, java.lang.String serverHostKeyAlgorithm, byte[] serverHostKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostVerifier

public HostVerifier(com.trilead.ssh2.KnownHosts knownHosts)
Method Detail

verifyServerHostKey

public boolean verifyServerHostKey(java.lang.String hostName,
                                   int port,
                                   java.lang.String serverHostKeyAlgorithm,
                                   byte[] serverHostKey)
                            throws java.io.IOException
Specified by:
verifyServerHostKey in interface com.trilead.ssh2.ServerHostKeyVerifier
Throws:
java.io.IOException


Copyright © 2012 GlassFish Community. All Rights Reserved.