ServerKeyVerifier is used on the client side to authenticate the key provided by the server.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the key is accepted for the hostthe current clientSession, SocketAddress ClientSessionthe host's remoteAddress, PublicKey SocketAddressthe presented server serverKey)PublicKeyVerify that the server key provided is really the one of the host. |
| verifyServerKey | back to summary |
|---|---|
| public boolean verifyServerKey(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey) Verify that the server key provided is really the one of the host.
| |