Uses of Class
org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair
-
Packages that use KnownHostsServerKeyVerifier.HostEntryPair Package Description org.apache.sshd.client.keyverifier -
-
Uses of KnownHostsServerKeyVerifier.HostEntryPair in org.apache.sshd.client.keyverifier
Fields in org.apache.sshd.client.keyverifier with type parameters of type KnownHostsServerKeyVerifier.HostEntryPair Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<java.util.function.Supplier<? extends java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair>>>KnownHostsServerKeyVerifier. keysSupplierMethods in org.apache.sshd.client.keyverifier that return types with arguments of type KnownHostsServerKeyVerifier.HostEntryPair Modifier and Type Method Description protected java.util.List<KnownHostsServerKeyVerifier.HostEntryPair>KnownHostsServerKeyVerifier. findKnownHostEntries(ClientSession clientSession, java.net.SocketAddress remoteAddress, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)protected java.util.function.Supplier<java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair>>KnownHostsServerKeyVerifier. getKnownHostSupplier(ClientSession clientSession, java.nio.file.Path file)protected java.util.List<KnownHostsServerKeyVerifier.HostEntryPair>DefaultKnownHostsServerKeyVerifier. reloadKnownHosts(ClientSession session, java.nio.file.Path file)protected java.util.List<KnownHostsServerKeyVerifier.HostEntryPair>KnownHostsServerKeyVerifier. reloadKnownHosts(ClientSession session, java.nio.file.Path file)Methods in org.apache.sshd.client.keyverifier with parameters of type KnownHostsServerKeyVerifier.HostEntryPair Modifier and Type Method Description protected voidKnownHostsServerKeyVerifier. handleModifiedServerKeyUpdateFailure(ClientSession clientSession, java.net.SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, java.security.PublicKey serverKey, java.nio.file.Path file, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, java.lang.Throwable reason)Invoked if#updateModifiedServerKey(ClientSession, SocketAddress, HostEntryPair, PublicKey, Path)throws an exception.protected voidKnownHostsServerKeyVerifier. updateModifiedServerKey(ClientSession clientSession, java.net.SocketAddress remoteAddress, java.security.PublicKey serverKey, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, KnownHostsServerKeyVerifier.HostEntryPair match)protected voidKnownHostsServerKeyVerifier. updateModifiedServerKey(ClientSession clientSession, java.net.SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, java.security.PublicKey actual, java.nio.file.Path file, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)Invoked if a matching host entry was found, but the key did not match andKnownHostsServerKeyVerifier.acceptModifiedServerKey(ClientSession, SocketAddress, KnownHostEntry, PublicKey, PublicKey)returnedtrue.Method parameters in org.apache.sshd.client.keyverifier with type arguments of type KnownHostsServerKeyVerifier.HostEntryPair Modifier and Type Method Description protected booleanKnownHostsServerKeyVerifier. acceptKnownHostEntries(ClientSession clientSession, java.net.SocketAddress remoteAddress, java.security.PublicKey serverKey, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)protected java.util.List<KnownHostsServerKeyVerifier.HostEntryPair>KnownHostsServerKeyVerifier. findKnownHostEntries(ClientSession clientSession, java.net.SocketAddress remoteAddress, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)protected voidKnownHostsServerKeyVerifier. handleKnownHostsFileUpdateFailure(ClientSession clientSession, java.net.SocketAddress remoteAddress, java.security.PublicKey serverKey, java.nio.file.Path file, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, java.lang.Throwable reason)Invoked whenKnownHostsServerKeyVerifier.updateKnownHostsFile(ClientSession, SocketAddress, PublicKey, Path, Collection)fails - by default just issues a warning.protected voidKnownHostsServerKeyVerifier. handleModifiedServerKeyUpdateFailure(ClientSession clientSession, java.net.SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, java.security.PublicKey serverKey, java.nio.file.Path file, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, java.lang.Throwable reason)Invoked if#updateModifiedServerKey(ClientSession, SocketAddress, HostEntryPair, PublicKey, Path)throws an exception.protected voidKnownHostsServerKeyVerifier. setLoadedHostsEntries(java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> keys)protected KnownHostEntryKnownHostsServerKeyVerifier. updateKnownHostsFile(ClientSession clientSession, java.net.SocketAddress remoteAddress, java.security.PublicKey serverKey, java.nio.file.Path file, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)Invoked if a new previously unknown host key has been accepted - by default appends a new entry at the end of the currently monitored known hosts fileprotected voidKnownHostsServerKeyVerifier. updateModifiedServerKey(ClientSession clientSession, java.net.SocketAddress remoteAddress, java.security.PublicKey serverKey, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, KnownHostsServerKeyVerifier.HostEntryPair match)protected voidKnownHostsServerKeyVerifier. updateModifiedServerKey(ClientSession clientSession, java.net.SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, java.security.PublicKey actual, java.nio.file.Path file, java.util.Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)Invoked if a matching host entry was found, but the key did not match andKnownHostsServerKeyVerifier.acceptModifiedServerKey(ClientSession, SocketAddress, KnownHostEntry, PublicKey, PublicKey)returnedtrue.
-