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