HostKeyVerifier

Verifies the identity of a server by checking its host key.

Implementations of this interface determine whether a server's host key is trusted. This is typically done by consulting a known_hosts database.

Inheritors

Functions

Link copied to clipboard
open suspend fun addKeys(keys: List<PublicKey>)
Link copied to clipboard
open suspend fun removeKeys(keys: List<PublicKey>)
Link copied to clipboard
abstract suspend fun verify(key: PublicKey): Boolean

Verify the server's host key.