public static class

OpenSSHKnownHosts.CommentEntry

extends Object
implements OpenSSHKnownHosts.HostEntry
java.lang.Object
   ↳ net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.CommentEntry

Summary

Fields
private final String comment
Public Constructors
OpenSSHKnownHosts.CommentEntry(String comment)
Public Methods
boolean appliesTo(KeyType type, String host)
String getLine()
boolean verify(PublicKey key)
[Expand]
Inherited Methods
From class java.lang.Object
From interface net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.HostEntry

Fields

private final String comment

Public Constructors

public OpenSSHKnownHosts.CommentEntry (String comment)

Parameters
comment

Public Methods

public boolean appliesTo (KeyType type, String host)

Parameters
type
host

public String getLine ()

public boolean verify (PublicKey key)

Parameters
key