public static class OpenSSHKnownHosts.SimpleEntry extends OpenSSHKnownHosts.AbstractEntry
key, marker, type
Constructor and Description |
---|
OpenSSHKnownHosts.SimpleEntry(OpenSSHKnownHosts.Marker marker,
java.lang.String hostnames,
KeyType type,
java.security.PublicKey key) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(KeyType type,
java.lang.String host) |
boolean |
appliesTo(java.lang.String host) |
protected java.lang.String |
getHostPart() |
getFingerprint, getLine, getType, verify
public OpenSSHKnownHosts.SimpleEntry(OpenSSHKnownHosts.Marker marker, java.lang.String hostnames, KeyType type, java.security.PublicKey key)
protected java.lang.String getHostPart()
getHostPart
in class OpenSSHKnownHosts.AbstractEntry
public boolean appliesTo(java.lang.String host) throws java.io.IOException
java.io.IOException
public boolean appliesTo(KeyType type, java.lang.String host) throws java.io.IOException
java.io.IOException