| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if accept the server key anywayThe clientSession, SocketAddress ClientSessionThe remote host address remoteAddress, KnownHostEntry Any original entry, PublicKey KnownHostEntry whose key did not matchAny expected server expected, PublicKey PublicKeyThe presented server actual)PublicKeyInvoked when a matching known host key was found but it does not match the presented one. |
| acceptModifiedServerKey | back to summary |
|---|---|
| public boolean acceptModifiedServerKey(ClientSession clientSession, SocketAddress remoteAddress, KnownHostEntry entry, PublicKey expected, PublicKey actual) throws Exception Invoked when a matching known host key was found but it does not match the presented one.
| |