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:
getTypein interfaceOpenSSHKnownHosts.KnownHostEntry
-
getFingerprint
- Specified by:
getFingerprintin interfaceOpenSSHKnownHosts.KnownHostEntry
-
appliesTo
- Specified by:
appliesToin interfaceOpenSSHKnownHosts.KnownHostEntry- Throws:
IOException
-
appliesTo
- Specified by:
appliesToin interfaceOpenSSHKnownHosts.KnownHostEntry- Throws:
IOException
-
verify
- Specified by:
verifyin interfaceOpenSSHKnownHosts.KnownHostEntry- Throws:
IOException
-
getLine
- Specified by:
getLinein interfaceOpenSSHKnownHosts.KnownHostEntry
-
getKeyString
-
getHostPart
-
getComment
-