public static class OpenSSHKnownHosts.HashedEntry extends OpenSSHKnownHosts.AbstractEntry
key, marker, type| Constructor and Description |
|---|
HashedEntry(OpenSSHKnownHosts.Marker marker,
java.lang.String hash,
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, verifypublic HashedEntry(OpenSSHKnownHosts.Marker marker, java.lang.String hash, KeyType type, java.security.PublicKey key) throws SSHException
SSHExceptionpublic boolean appliesTo(java.lang.String host)
throws java.io.IOException
java.io.IOExceptionpublic boolean appliesTo(KeyType type, java.lang.String host) throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getHostPart()
getHostPart in class OpenSSHKnownHosts.AbstractEntry