public static class OpenSSHKnownHosts.CommentEntry extends java.lang.Object implements OpenSSHKnownHosts.HostEntry
| Constructor and Description |
|---|
OpenSSHKnownHosts.CommentEntry(java.lang.String comment) |
public OpenSSHKnownHosts.CommentEntry(java.lang.String comment)
public KeyType getType()
getType in interface OpenSSHKnownHosts.HostEntrypublic java.lang.String getFingerprint()
getFingerprint in interface OpenSSHKnownHosts.HostEntrypublic boolean appliesTo(java.lang.String host)
throws java.io.IOException
appliesTo in interface OpenSSHKnownHosts.HostEntryjava.io.IOExceptionpublic boolean appliesTo(KeyType type, java.lang.String host)
appliesTo in interface OpenSSHKnownHosts.HostEntrypublic boolean verify(java.security.PublicKey key)
verify in interface OpenSSHKnownHosts.HostEntrypublic java.lang.String getLine()
getLine in interface OpenSSHKnownHosts.HostEntry