verify

abstract suspend fun verify(key: PublicKey): Boolean(source)

Verify the server's host key.

Return

true if the key is trusted, false otherwise.

Parameters

key

The server's public key.