| Modifier and Type | Field and Description |
|---|---|
| private final PublicKey |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final PublicKey | |
| public boolean | verifyServerKey(ClientSession
the current sshClientSession, 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. |
| requiredKey | back to summary |
|---|---|
| private final PublicKey requiredKey | |
| RequiredServerKeyVerifier | back to summary |
|---|---|
| public RequiredServerKeyVerifier(PublicKey requiredKey) | |
| getRequiredKey | back to summary |
|---|---|
| public final PublicKey getRequiredKey() | |
| verifyServerKey | back to summary |
|---|---|
| public boolean verifyServerKey(ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey) Implements org. Doc from org. Verify that the server key provided is really the one of the host.
| |