true/false regardless
| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| public final boolean | |
| public final 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. |
| acceptance | back to summary |
|---|---|
| private final boolean acceptance | |
| StaticServerKeyVerifier | back to summary |
|---|---|
| protected StaticServerKeyVerifier(boolean acceptance) | |
| handleAcceptance | back to summary |
|---|---|
| protected void handleAcceptance(ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey) | |
| handleRejection | back to summary |
|---|---|
| protected void handleRejection(ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey) | |
| isAccepted | back to summary |
|---|---|
| public final boolean isAccepted() | |
| verifyServerKey | back to summary |
|---|---|
| public final 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.
| |