ServerKeyVerifier that delegates verification to the instance found in the ClientSession metadata
The verifier can be specified at the SshClient level, which may have connections to multiple hosts. This
technique lets each connection have its own verifier instance.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | verifyServerKey(ClientSession
the current session, SocketAddress ClientSessionthe host's remoteAddress, PublicKey SocketAddressthe presented server serverKey)PublicKeyImplements org. Verify that the server key provided is really the one of the host. |
| DelegatingServerKeyVerifier | back to summary |
|---|---|
| public DelegatingServerKeyVerifier() | |
| verifyServerKey | back to summary |
|---|---|
| public boolean verifyServerKey(ClientSession session, SocketAddress remoteAddress, PublicKey serverKey) Implements org. Doc from org. Verify that the server key provided is really the one of the host.
| |