public abstract static class OpenSSHKnownHosts.AbstractEntry extends java.lang.Object implements OpenSSHKnownHosts.HostEntry
Modifier and Type | Field and Description |
---|---|
protected java.security.PublicKey |
key |
protected OpenSSHKnownHosts.Marker |
marker |
protected KeyType |
type |
Constructor and Description |
---|
AbstractEntry(OpenSSHKnownHosts.Marker marker,
KeyType type,
java.security.PublicKey key) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getHostPart() |
java.lang.String |
getLine() |
boolean |
verify(java.security.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 java.security.PublicKey key
public AbstractEntry(OpenSSHKnownHosts.Marker marker, KeyType type, java.security.PublicKey key)
public boolean verify(java.security.PublicKey key) throws java.io.IOException
verify
in interface OpenSSHKnownHosts.HostEntry
java.io.IOException
public java.lang.String getLine()
getLine
in interface OpenSSHKnownHosts.HostEntry
protected abstract java.lang.String getHostPart()