RicalTrustManager

class RicalTrustManager(val signedRical: SignedRical, val identifier: String = "default") : TrustManager

An implementation of TrustManager backed by a RICAL according to ISO/IEC 18013-5 Second Edition Annex F.

Parameters

signedRical
identifier

an identifier for the TrustManager.

Constructors

Link copied to clipboard
constructor(signedRical: SignedRical, identifier: String = "default")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val identifier: String
Link copied to clipboard

Functions

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

Gets all trust points known to this TrustManager instance.

Link copied to clipboard
open suspend override fun verify(chain: List<X509Cert>, atTime: Instant): TrustResult

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