protected boolean |
KnownHostsServerKeyVerifier.acceptKnownHostEntries(ClientSession clientSession,
SocketAddress remoteAddress,
PublicKey serverKey,
Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts) |
protected List<KnownHostsServerKeyVerifier.HostEntryPair> |
KnownHostsServerKeyVerifier.findKnownHostEntries(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)
|
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 file
|
protected void |
KnownHostsServerKeyVerifier.updateModifiedServerKey(ClientSession clientSession,
SocketAddress remoteAddress,
KnownHostsServerKeyVerifier.HostEntryPair match,
PublicKey actual,
Path file,
Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts)
|
protected void |
KnownHostsServerKeyVerifier.updateModifiedServerKey(ClientSession clientSession,
SocketAddress remoteAddress,
PublicKey serverKey,
Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts,
KnownHostsServerKeyVerifier.HostEntryPair match) |