Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.common.hosts » [javadoc | source]
com.sshtools.common.hosts
abstract public class: AbstractHostKeyVerification [javadoc | source]
java.lang.Object
   org.xml.sax.helpers.DefaultHandler
      com.sshtools.common.hosts.AbstractHostKeyVerification

All Implemented Interfaces:
    HostKeyVerification, ErrorHandler, EntityResolver, ContentHandler, DTDHandler

Direct Known Subclasses:
    ConsoleHostKeyVerification, DialogHostKeyVerification

Constructor:
 public AbstractHostKeyVerification() throws InvalidHostFileException 
    Creates a new AbstractHostKeyVerification object.
    Throws:
    InvalidHostFileException -
 public AbstractHostKeyVerification(String hostFileName) throws InvalidHostFileException 
    Creates a new AbstractHostKeyVerification object.
    Parameters:
    hostFileName -
    Throws:
    InvalidHostFileException -
Method from com.sshtools.common.hosts.AbstractHostKeyVerification Summary:
allowHost,   allowedHosts,   deniedHosts,   denyHost,   endElement,   isHostFileWriteable,   onDeniedHost,   onHostKeyMismatch,   onUnknownHost,   removeAllowedHost,   removeDeniedHost,   saveHostFile,   startElement,   toString,   verifyHost
Methods from org.xml.sax.helpers.DefaultHandler:
characters,   endDocument,   endElement,   endPrefixMapping,   error,   fatalError,   ignorableWhitespace,   notationDecl,   processingInstruction,   resolveEntity,   setDocumentLocator,   skippedEntity,   startDocument,   startElement,   startPrefixMapping,   unparsedEntityDecl,   warning
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.common.hosts.AbstractHostKeyVerification Detail:
 public  void allowHost(String host,
    String hostKeyFingerprint,
    boolean always) throws InvalidHostFileException 
 public Map allowedHosts() 
 public List deniedHosts() 
 public  void denyHost(String host,
    boolean always) throws InvalidHostFileException 
 public  void endElement(String uri,
    String localName,
    String qname) throws SAXException 
 public boolean isHostFileWriteable() 
 abstract public  void onDeniedHost(String host) throws TransportProtocolException
 abstract public  void onHostKeyMismatch(String host,
    String allowedHostKey,
    String actualHostKey) throws TransportProtocolException
 abstract public  void onUnknownHost(String host,
    String hostKeyFingerprint) throws TransportProtocolException
 public  void removeAllowedHost(String host) 
 public  void removeDeniedHost(String host) 
 public  void saveHostFile() throws InvalidHostFileException 
 public  void startElement(String uri,
    String localName,
    String qname,
    Attributes attrs) throws SAXException 
 public String toString() 
 public boolean verifyHost(String host,
    SshPublicKey pk) throws TransportProtocolException