MobileWalletCredentialRegistryRecord

data class MobileWalletCredentialRegistryRecord(val registryEntryId: String, val credentialId: String, val format: MobileWalletDigitalCredentialFormat, val type: String, val fields: List<MobileWalletCredentialRegistryField>, val displayName: String, val subtitle: String = "", val iconPng: ByteArray? = null, val cardArtImageUris: List<String> = emptyList(), val cardArtBackgroundColor: String? = null, val cardArtFallbackPng: ByteArray? = null)

Matcher-visible credential metadata supplied to a platform credential registry.

This is not the credential: no issuer-signed payload, proof, or key material is included. It does carry decoded claim values, which are the user's personal data - the platform matcher runs out of process and cannot ask the wallet for a value it was not given.

Constructors

Link copied to clipboard
constructor(registryEntryId: String, credentialId: String, format: MobileWalletDigitalCredentialFormat, type: String, fields: List<MobileWalletCredentialRegistryField>, displayName: String, subtitle: String = "", iconPng: ByteArray? = null, cardArtImageUris: List<String> = emptyList(), cardArtBackgroundColor: String? = null, cardArtFallbackPng: ByteArray? = null)

Properties

Link copied to clipboard

CSS Color Level 3 background used when no image is available. Not registered with the platform matcher.

Link copied to clipboard

Optional decoded portrait or other local image used when remote art is missing. Not registered with the platform matcher.

Link copied to clipboard

HTTPS card-art URIs in preference order, for Android thumbnail refresh. Not registered with the platform matcher.

Link copied to clipboard

Wallet-local credential identifier.

Link copied to clipboard

Human-readable entry title shown in the platform picker.

Link copied to clipboard

Matcher-visible credential fields, which may contain personal data.

Link copied to clipboard

Credential format represented by the entry.

Link copied to clipboard

Optional already-resolved card-art thumbnail for platform pickers. Android Credential Manager rescales this to a 32x32 entry icon; iOS Identity Document Services ignores it. Presentation preview leaves this empty so remote artwork stays off the consent path.

Link copied to clipboard

Stable platform registry entry identifier.

Link copied to clipboard

Secondary picker line. Never the raw docType or vct when a mapping or humanized type is available.

Link copied to clipboard

Credential type or mdoc document type.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares registry identity, display fields, and thumbnail bytes.

Link copied to clipboard
open override fun hashCode(): Int

Hash of registry identity, display fields, and thumbnail bytes.