Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class AttributeDisplayInfoHtml(val name: String, val value: String) : AttributeDisplayInfo
Link copied to clipboard
data class AttributeDisplayInfoImage(val name: String, val image: Bitmap) : AttributeDisplayInfo
Link copied to clipboard
Link copied to clipboard
data class CredentialInfo(val format: CredentialFormat, val description: String, val usageCount: Int, val signedAt: Instant?, val validFrom: Instant?, val validUntil: Instant?, val expectedUpdate: Instant?, val replacementPending: Boolean, val details: Map<String, String>)
Link copied to clipboard
data class DocumentDetails(val attributes: Map<String, AttributeDisplayInfo>)

A class containing human-readable information (mainly PII) about a document.

Link copied to clipboard
data class DocumentInfo(val documentId: String, val attentionNeeded: Boolean, val requireUserAuthenticationToViewDocument: Boolean, val name: String, val typeName: String, val documentArtwork: Bitmap, val issuerName: String, val issuerDocumentDescription: String, val issuerLogo: Bitmap, val lastRefresh: Instant, val status: String, val attributes: Map<String, AttributeDisplayInfo>, val credentialInfos: List<CredentialInfo>)
Link copied to clipboard
class DocumentModel(context: Context, settingsModel: SettingsModel, documentStore: DocumentStore, secureAreaRepository: SecureAreaRepository, documentTypeRepository: DocumentTypeRepository, walletServerProvider: WalletServerProvider, walletApplication: WalletApplication)
Link copied to clipboard
data class EventInfo(val timestamp: String, val requesterInfo: EventLogger.RequesterInfo?, val requestedFields: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class NfcTunnelScanner(provisioningViewModel: ProvisioningViewModel) : MrtdNfcReader<Unit>

Reads from NFC-card serving commands that come from NFC tunnel.

Link copied to clipboard
Link copied to clipboard
class PermissionTracker(activity: ComponentActivity, permissions: Map<String, Int>)

An object that tracks granted permissions and obtains required ones as needed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ReaderDataElement(val mdocDataElement: MdocDataElement?, val value: ByteArray, val bitmap: Bitmap?)
Link copied to clipboard
data class ReaderDocument(val docType: String, val msoValidFrom: Instant, val msoValidUntil: Instant, val msoSigned: Instant, val msoExpectedUpdate: Instant?, val namespaces: List<ReaderNamespace>, val infoTexts: List<String>, val warningTexts: List<String>)
Link copied to clipboard
class ReaderModel(val context: Context, val documentTypeRepository: DocumentTypeRepository, val settingsModel: SettingsModel)
Link copied to clipboard
data class ReaderNamespace(val name: String, val dataElements: Map<String, ReaderDataElement>)
Link copied to clipboard
data class ReaderResponse(val documents: List<ReaderDocument>)
Link copied to clipboard
class SettingsModel(walletApplication: WalletApplication, sharedPreferences: SharedPreferences)
Link copied to clipboard
class SizedResolutionFilter(targetResolution: Size) : ResolutionFilter
Link copied to clipboard
Link copied to clipboard

Configuration for the Wallet Application.

Functions

Link copied to clipboard
fun createDrivingPrivilegesHtml(encodedElementValue: ByteArray): String

Creates a string with HTML that renders the Driving Privileges field in a more human-readable format.

Link copied to clipboard
suspend fun Document.renderDocumentDetails(context: Context, documentTypeRepository: DocumentTypeRepository): DocumentDetails
Link copied to clipboard
fun ScanQrCodeDialog(title: @Composable () -> Unit? = null, text: @Composable () -> Unit? = null, additionalContent: @Composable () -> Unit? = null, dismissButton: String, onCodeScanned: (data: String) -> Boolean, onDismiss: () -> Unit, onNoCodeDetected: () -> Unit = {}, modifier: Modifier? = null)

Shows a dialog for scanning QR codes.

Link copied to clipboard
suspend fun signWithUnlock(activity: FragmentActivity, title: String, subtitle: String, secureArea: SecureArea, alias: String, messageToSign: ByteString): ByteString
Link copied to clipboard
fun <T> Flow<T>.timedChunk(periodMs: Duration): Flow<List<T>>