net.schmizz.sshj.transport.verification
Class OpenSSHKnownHosts.SimpleEntry

java.lang.Object
  extended by net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.AbstractEntry
      extended by net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.SimpleEntry
All Implemented Interfaces:
OpenSSHKnownHosts.HostEntry
Enclosing class:
OpenSSHKnownHosts

public static class OpenSSHKnownHosts.SimpleEntry
extends OpenSSHKnownHosts.AbstractEntry


Field Summary
 
Fields inherited from class net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.AbstractEntry
key, marker, type
 
Constructor Summary
OpenSSHKnownHosts.SimpleEntry(OpenSSHKnownHosts.Marker marker, String hostnames, KeyType type, PublicKey key)
           
 
Method Summary
 boolean appliesTo(KeyType type, String host)
           
protected  String getHostPart()
           
 
Methods inherited from class net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.AbstractEntry
getLine, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenSSHKnownHosts.SimpleEntry

public OpenSSHKnownHosts.SimpleEntry(OpenSSHKnownHosts.Marker marker,
                                     String hostnames,
                                     KeyType type,
                                     PublicKey key)
Method Detail

getHostPart

protected String getHostPart()
Specified by:
getHostPart in class OpenSSHKnownHosts.AbstractEntry

appliesTo

public boolean appliesTo(KeyType type,
                         String host)
                  throws IOException
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.