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 |
|---|
OpenSSHKnownHosts.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, waitappliesToprotected final OpenSSHKnownHosts.Marker marker
protected final KeyType type
protected final java.security.PublicKey key
public OpenSSHKnownHosts.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.HostEntryjava.io.IOExceptionpublic java.lang.String getLine()
getLine in interface OpenSSHKnownHosts.HostEntryprotected abstract java.lang.String getHostPart()