Mdoc Claim
A decoded claim of an mso_mdoc credential, mapped into an SDK-native type so apps never touch EUDI's MsoMdocClaim. Claims form a tree: a CBOR map/array (e.g. driving_privileges) becomes a group whose nested entries are exposed as children, so the UI can render true indented sub-rows.
Exactly one shape applies per node:
leaf text — value non-null, imageBytes null, children empty.
leaf image — imageBytes non-null (e.g. the
portrait), value null.group — children non-empty (object entries or array items), value and imageBytes null.
Constructors
Properties
Issuer-provided localized label for this element (from the credential metadata claims[*].display), resolved for the current locale, or null when the issuer supplied none. Prefer this over formatting identifier. Only set on top-level claims.
The element identifier or, for nested entries, the map key / array index. Raw (not prettified) — the UI formats it.
Raw image bytes for an image leaf (decode with BitmapFactory.decodeByteArray), else null.