public static class OpenSSHKnownHosts.BadHostEntry extends java.lang.Object implements OpenSSHKnownHosts.KnownHostEntry
| Constructor and Description |
|---|
BadHostEntry(java.lang.String line) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesTo(KeyType type,
java.lang.String host) |
boolean |
appliesTo(java.lang.String host) |
java.lang.String |
getFingerprint() |
java.lang.String |
getLine() |
KeyType |
getType() |
boolean |
verify(java.security.PublicKey key) |
public KeyType getType()
getType in interface OpenSSHKnownHosts.KnownHostEntrypublic java.lang.String getFingerprint()
getFingerprint in interface OpenSSHKnownHosts.KnownHostEntrypublic boolean appliesTo(java.lang.String host)
throws java.io.IOException
appliesTo in interface OpenSSHKnownHosts.KnownHostEntryjava.io.IOExceptionpublic boolean appliesTo(KeyType type, java.lang.String host) throws java.io.IOException
appliesTo in interface OpenSSHKnownHosts.KnownHostEntryjava.io.IOExceptionpublic boolean verify(java.security.PublicKey key)
throws java.io.IOException
verify in interface OpenSSHKnownHosts.KnownHostEntryjava.io.IOExceptionpublic java.lang.String getLine()
getLine in interface OpenSSHKnownHosts.KnownHostEntry