Interface ServerKeyVerifier

    • Method Detail

      • verifyServerKey

        boolean verifyServerKey​(ClientSession clientSession,
                                SocketAddress remoteAddress,
                                PublicKey serverKey)
        Verify that the server key provided is really the one of the host.
        Parameters:
        clientSession - the current ClientSession
        remoteAddress - the host's SocketAddress
        serverKey - the presented server PublicKey
        Returns:
        true if the key is accepted for the host