TrustManagerModel

class TrustManagerModel(val trustManager: TrustEntryBasedTrustManager, coroutineScope: CoroutineScope)

A presentation model that bridges a TrustEntryBasedTrustManager with UI components.

This class observes the underlying TrustEntryBasedTrustManager for changes and exposes the current list of trust entries as a reactive StateFlow of TrustEntryInfo objects. It handles the parsing of raw trust entries into UI-friendly data structures.

Constructors

Link copied to clipboard
constructor(trustManager: TrustEntryBasedTrustManager, coroutineScope: CoroutineScope)

Properties

Link copied to clipboard

The underlying TrustManager being observed.

Link copied to clipboard

A StateFlow containing the current, parsed list of trust entries.