public static class OpenSSHKnownHosts.CommentEntry extends java.lang.Object implements OpenSSHKnownHosts.HostEntry
Constructor and Description |
---|
CommentEntry(java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(KeyType type,
java.lang.String host) |
java.lang.String |
getLine() |
boolean |
verify(java.security.PublicKey key) |
public boolean appliesTo(KeyType type, java.lang.String host)
appliesTo
in interface OpenSSHKnownHosts.HostEntry
public boolean verify(java.security.PublicKey key)
verify
in interface OpenSSHKnownHosts.HostEntry
public java.lang.String getLine()
getLine
in interface OpenSSHKnownHosts.HostEntry