TrustEntryBasedTrustManager
Common interface for TrustManagerInterface implementations built on top of TrustEntry.
Inheritors
Properties
Functions
Link copied to clipboard
Retrieves all TrustEntry items currently managed.
Link copied to clipboard
Gets all trust points known to this TrustManagerInterface instance.
Link copied to clipboard
open suspend fun verify(chain: List<X509Cert>, atTime: Instant = Clock.System.now(), validateCaValidity: Boolean = true): TrustResult
Checks if an entity identifying itself via a certificate chain is trusted.
abstract suspend fun verify(chain: List<X509Cert>, atTime: Instant = Clock.System.now(), validateCaValidity: Boolean = true, docType: String? = null): TrustResult
Checks if an entity identifying itself via a certificate chain is trusted for a specific ISO mdoc document type.