public abstract static class OpenSSHKnownHosts.AbstractEntry extends Object implements OpenSSHKnownHosts.HostEntry
Modifier and Type | Field and Description |
---|---|
protected PublicKey |
key |
protected OpenSSHKnownHosts.Marker |
marker |
protected KeyType |
type |
Constructor and Description |
---|
OpenSSHKnownHosts.AbstractEntry(OpenSSHKnownHosts.Marker marker,
KeyType type,
PublicKey key) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getHostPart() |
String |
getLine() |
boolean |
verify(PublicKey key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appliesTo
protected final OpenSSHKnownHosts.Marker marker
protected final KeyType type
protected final PublicKey key
public OpenSSHKnownHosts.AbstractEntry(OpenSSHKnownHosts.Marker marker, KeyType type, PublicKey key)
public boolean verify(PublicKey key) throws IOException
verify
in interface OpenSSHKnownHosts.HostEntry
IOException
public String getLine()
getLine
in interface OpenSSHKnownHosts.HostEntry
protected abstract String getHostPart()
Copyright © 2009-2013. All Rights Reserved.