MobileWalletCredential

data class MobileWalletCredential(val id: String, val format: String, val issuer: String?, val subject: String?, val label: String?, val addedAt: String?, val credentialDataJson: String, val metadataJson: String? = null)

Credential entry suitable for mobile UI lists and detail display.

The credential content is exposed as a JSON string so Kotlin, Swift, and other consumers can decode it with native platform tools without depending on Kotlinx JSON value types in the public mobile API.

Constructors

Link copied to clipboard
constructor(id: String, format: String, issuer: String?, subject: String?, label: String?, addedAt: String?, credentialDataJson: String, metadataJson: String? = null)

Properties

Link copied to clipboard

ISO-8601 timestamp string for when the credential was added, when known.

Link copied to clipboard

Parsed credential data encoded as JSON for app-side display.

Link copied to clipboard

Credential format, such as jwt_vc_json, vc+sd-jwt, or mso_mdoc.

Link copied to clipboard
val id: String

Wallet-local credential identifier.

Link copied to clipboard

Issuer identifier extracted from the credential when available.

Link copied to clipboard

Optional display label stored with the credential.

Link copied to clipboard

Optional arbitrary metadata stored alongside the credential as JSON.

Link copied to clipboard

Subject identifier extracted from the credential when available.