TrustManager

interface TrustManager

Interface for checking if an entity is trusted.

This can be used for both issuers and relying parties.

This looks up a database of trusted entities to render verdicts, see TrustManagerLocal for an implementation that uses a local trust store.

Inheritors

Properties

Link copied to clipboard
abstract val identifier: String

An identifier for the TrustManager instance.

Functions

Link copied to clipboard
abstract suspend fun getTrustPoints(): List<TrustPoint>

Gets all trust points known to this TrustManager instance.

Link copied to clipboard
abstract suspend fun verify(chain: List<X509Cert>, atTime: Instant = Clock.System.now()): TrustResult

Checks if an entity identifying itself via a certificate chain is trusted.