private static class OpenSshServerKeyVerifier.HostKeyFile
extends org.apache.sshd.common.util.io.ModifiableFileWatcher
implements java.util.function.Supplier<java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>>
Modifier and Type | Field and Description |
---|---|
private java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> |
entries |
Constructor and Description |
---|
HostKeyFile(java.nio.file.Path path) |
Modifier and Type | Method and Description |
---|---|
java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> |
get() |
private java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> |
reload(java.nio.file.Path path) |
checkReloadRequired, exists, getPath, lastModified, resetReloadAttributes, size, toPathResource, toPathResource, toString, updateReloadAttributes, validateStrictConfigFilePermissions
private java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> entries
public java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> get()
get
in interface java.util.function.Supplier<java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>>
private java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> reload(java.nio.file.Path path) throws java.io.IOException
java.io.IOException