TrustEntryInfo

data class TrustEntryInfo(val entry: TrustEntry, val manager: TrustManager, val signedVical: SignedVical?, val signedRical: SignedRical?)

A UI-friendly data container that holds a TrustEntry alongside its parsed representation and resolved display attributes.

This class is typically emitted by the TrustManagerModel to provide Compose components with pre-parsed data, preventing the UI layer from having to repeatedly parse CBOR/ASN.1 structures during recomposition.

Constructors

Link copied to clipboard
constructor(entry: TrustEntry, manager: TrustManager, signedVical: SignedVical?, signedRical: SignedRical?)

Properties

Link copied to clipboard

The underlying raw TrustEntry (e.g., X.509, VICAL, or RICAL).

Link copied to clipboard

The TrustManager instance managing this entry.

Link copied to clipboard

The parsed SignedRical if the entry is a RICAL, otherwise null.

Link copied to clipboard

The parsed SignedVical if the entry is a VICAL, otherwise null.

Functions

Link copied to clipboard

Resolves the display name for a TrustEntry.