Class OpenSSHKnownHosts.HostEntry
java.lang.Object
net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.HostEntry
- All Implemented Interfaces:
OpenSSHKnownHosts.KnownHostEntry
- Enclosing class:
OpenSSHKnownHosts
public static class OpenSSHKnownHosts.HostEntry
extends Object
implements OpenSSHKnownHosts.KnownHostEntry
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHostEntry
(OpenSSHKnownHosts.Marker marker, String hostPart, KeyType type, PublicKey key) HostEntry
(OpenSSHKnownHosts.Marker marker, String hostPart, KeyType type, PublicKey key, String comment) HostEntry
(OpenSSHKnownHosts.Marker marker, String hostPart, KeyType type, PublicKey key, String comment, LoggerFactory loggerFactory) -
Method Summary
-
Field Details
-
marker
-
hostPart
-
type
-
key
-
comment
-
matcher
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
HostEntry
public HostEntry(OpenSSHKnownHosts.Marker marker, String hostPart, KeyType type, PublicKey key) throws SSHException - Throws:
SSHException
-
HostEntry
public HostEntry(OpenSSHKnownHosts.Marker marker, String hostPart, KeyType type, PublicKey key, String comment) throws SSHException - Throws:
SSHException
-
HostEntry
public HostEntry(OpenSSHKnownHosts.Marker marker, String hostPart, KeyType type, PublicKey key, String comment, LoggerFactory loggerFactory) throws SSHException - Throws:
SSHException
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceOpenSSHKnownHosts.KnownHostEntry
-
getFingerprint
- Specified by:
getFingerprint
in interfaceOpenSSHKnownHosts.KnownHostEntry
-
appliesTo
- Specified by:
appliesTo
in interfaceOpenSSHKnownHosts.KnownHostEntry
- Throws:
IOException
-
appliesTo
- Specified by:
appliesTo
in interfaceOpenSSHKnownHosts.KnownHostEntry
- Throws:
IOException
-
verify
- Specified by:
verify
in interfaceOpenSSHKnownHosts.KnownHostEntry
- Throws:
IOException
-
getLine
- Specified by:
getLine
in interfaceOpenSSHKnownHosts.KnownHostEntry
-
getKeyString
-
getHostPart
-
getComment
-