Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard

A presentation model that bridges a TrustManager with UI components.

Functions

Link copied to clipboard
fun TrustEntry.getDetails(signedVical: SignedVical?, signedRical: SignedRical?): String

Generates a brief detail string describing the contents of a TrustEntry, such as the number of certificates contained within a VICAL or RICAL.

Link copied to clipboard

Generates a descriptive fallback name for a TrustEntry based on its specific type and underlying data (e.g., Common Name for an X.509 cert, Provider for a VICAL/RICAL).

Link copied to clipboard
fun TrustEntryEditor(trustEntryInfo: TrustEntryInfo, imageLoader: ImageLoader, newMetadata: MutableState<TrustMetadata>)

A Composable that provides a UI for editing the mutable TrustMetadata associated with a specific trust entry.

Link copied to clipboard
fun TrustEntryList(trustManagerModel: TrustManagerModel, title: String, imageLoader: ImageLoader, noItems: @Composable () -> Unit = {}, onTrustEntryClicked: (trustEntryInfo: TrustEntryInfo) -> Unit, modifier: Modifier = Modifier)

A Composable that displays a scrollable list of trust entries managed by a TrustManagerModel.

Link copied to clipboard
fun TrustEntryRicalEntryViewer(trustManagerModel: TrustManagerModel, ricalTrustEntryId: String, certNum: Int)

A Composable that displays the details of a specific individual certificate embedded within a larger RICAL trust entry.

Link copied to clipboard
fun TrustEntryVicalEntryViewer(trustManagerModel: TrustManagerModel, vicalTrustEntryId: String, certNum: Int)

A Composable that displays the details of a specific individual certificate embedded within a larger VICAL trust entry.

Link copied to clipboard
fun TrustEntryViewer(trustManagerModel: TrustManagerModel, trustEntryId: String, justImported: Boolean, imageLoader: ImageLoader, onViewSignerCertificateChain: (certificateChain: X509CertChain) -> Unit, onViewVicalEntry: (vicalCertNum: Int) -> Unit, onViewRicalEntry: (ricalCertNum: Int) -> Unit)

A Composable that displays the full details of a specific trust entry.