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
Methods in org.apache.sshd.client.keyverifier that return KnownHostsServerKeyVerifier.HostEntryPair Modifier and Type Method Description protected KnownHostsServerKeyVerifier.HostEntryPair
KnownHostsServerKeyVerifier. findKnownHostEntry(ClientSession clientSession, SocketAddress remoteAddress, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)
Methods in org.apache.sshd.client.keyverifier that return types with arguments of type KnownHostsServerKeyVerifier.HostEntryPair Modifier and Type Method Description protected Collection<KnownHostsServerKeyVerifier.HostEntryPair>
KnownHostsServerKeyVerifier. getLoadedHostsEntries()
protected List<KnownHostsServerKeyVerifier.HostEntryPair>
DefaultKnownHostsServerKeyVerifier. reloadKnownHosts(ClientSession session, Path file)
protected List<KnownHostsServerKeyVerifier.HostEntryPair>
KnownHostsServerKeyVerifier. reloadKnownHosts(ClientSession session, Path file)
Methods in org.apache.sshd.client.keyverifier with parameters of type KnownHostsServerKeyVerifier.HostEntryPair Modifier and Type Method Description protected void
KnownHostsServerKeyVerifier. handleModifiedServerKeyUpdateFailure(ClientSession clientSession, SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, PublicKey serverKey, Path file, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, Throwable reason)
Invoked if#updateModifiedServerKey(ClientSession, SocketAddress, HostEntryPair, PublicKey, Path)
throws an exception.protected void
KnownHostsServerKeyVerifier. updateModifiedServerKey(ClientSession clientSession, SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, PublicKey actual, Path file, 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 boolean
KnownHostsServerKeyVerifier. acceptKnownHostEntries(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)
protected KnownHostsServerKeyVerifier.HostEntryPair
KnownHostsServerKeyVerifier. findKnownHostEntry(ClientSession clientSession, SocketAddress remoteAddress, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)
protected void
KnownHostsServerKeyVerifier. handleKnownHostsFileUpdateFailure(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Path file, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, Throwable reason)
Invoked whenKnownHostsServerKeyVerifier.updateKnownHostsFile(ClientSession, SocketAddress, PublicKey, Path, Collection)
fails - by default just issues a warning.protected void
KnownHostsServerKeyVerifier. handleModifiedServerKeyUpdateFailure(ClientSession clientSession, SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, PublicKey serverKey, Path file, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, Throwable reason)
Invoked if#updateModifiedServerKey(ClientSession, SocketAddress, HostEntryPair, PublicKey, Path)
throws an exception.protected void
KnownHostsServerKeyVerifier. setLoadedHostsEntries(Collection<KnownHostsServerKeyVerifier.HostEntryPair> keys)
protected KnownHostEntry
KnownHostsServerKeyVerifier. updateKnownHostsFile(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Path file, 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 void
KnownHostsServerKeyVerifier. updateModifiedServerKey(ClientSession clientSession, SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, PublicKey actual, Path file, 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
.
-