net.schmizz.sshj.transport.verification
Class OpenSSHKnownHosts.AbstractEntry
java.lang.Object
net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.AbstractEntry
- All Implemented Interfaces:
- OpenSSHKnownHosts.HostEntry
- Direct Known Subclasses:
- OpenSSHKnownHosts.HashedEntry, OpenSSHKnownHosts.SimpleEntry
- Enclosing class:
- OpenSSHKnownHosts
public abstract static class OpenSSHKnownHosts.AbstractEntry
- extends Object
- implements OpenSSHKnownHosts.HostEntry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
marker
protected final OpenSSHKnownHosts.Marker marker
type
protected final KeyType type
key
protected final PublicKey key
OpenSSHKnownHosts.AbstractEntry
public OpenSSHKnownHosts.AbstractEntry(OpenSSHKnownHosts.Marker marker,
KeyType type,
PublicKey key)
verify
public boolean verify(PublicKey key)
throws IOException
- Specified by:
verify
in interface OpenSSHKnownHosts.HostEntry
- Throws:
IOException
getLine
public String getLine()
- Specified by:
getLine
in interface OpenSSHKnownHosts.HostEntry
getHostPart
protected abstract String getHostPart()
Copyright © 2009-2012. All Rights Reserved.