Class OpenSSHKnownHosts.BadHostEntry
- java.lang.Object
-
- net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.BadHostEntry
-
- All Implemented Interfaces:
OpenSSHKnownHosts.KnownHostEntry
- Enclosing class:
- OpenSSHKnownHosts
public static class OpenSSHKnownHosts.BadHostEntry extends java.lang.Object implements OpenSSHKnownHosts.KnownHostEntry
-
-
Constructor Summary
Constructors Constructor Description BadHostEntry(java.lang.String line)
-
-
-
Method Detail
-
getType
public KeyType getType()
- Specified by:
getTypein interfaceOpenSSHKnownHosts.KnownHostEntry
-
getFingerprint
public java.lang.String getFingerprint()
- Specified by:
getFingerprintin interfaceOpenSSHKnownHosts.KnownHostEntry
-
appliesTo
public boolean appliesTo(java.lang.String host) throws java.io.IOException- Specified by:
appliesToin interfaceOpenSSHKnownHosts.KnownHostEntry- Throws:
java.io.IOException
-
appliesTo
public boolean appliesTo(KeyType type, java.lang.String host) throws java.io.IOException
- Specified by:
appliesToin interfaceOpenSSHKnownHosts.KnownHostEntry- Throws:
java.io.IOException
-
verify
public boolean verify(java.security.PublicKey key) throws java.io.IOException- Specified by:
verifyin interfaceOpenSSHKnownHosts.KnownHostEntry- Throws:
java.io.IOException
-
getLine
public java.lang.String getLine()
- Specified by:
getLinein interfaceOpenSSHKnownHosts.KnownHostEntry
-
-