VicalTrustManager

class VicalTrustManager(val signedVical: SignedVical, val identifier: String = "default") : TrustManager

An implementation of TrustManager backed by a VICAL according to ISO/IEC 18013-5 Annex C.

Parameters

signedVical
identifier

an identifier for the TrustManager.

Constructors

Link copied to clipboard
constructor(signedVical: SignedVical, 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.