Issued Document Handle
High–level stable representation of a stored credential/document.
Backed by EUDI IssuedDocument, but exposes only stable and safe-to-use properties for apps:
document id
display name / issuer name
SD-JWT VC payload
optional VCT type metadata
optional rendered SVG card templates with claim placeholders resolved
signing using holder key
More structured parsing (e.g. credentialSubject.name) is handled at the app layer or via helpers such as vcValue.
When com.dewa.walletsdk.WalletSdkOptions.trustedTypeMetadataRegistries is configured, the SDK attempts to enrich issued documents with VCT metadata and localized rendering templates. This enrichment is optional and cached by the SDK, so metadata and renderingBundle may be null if no metadata registry is configured, the credential type has no metadata, or remote fetching failed.
Properties
Human-readable name resolved from issuer metadata or format.
true when this document is an mso_mdoc credential (e.g. an mDL or mdoc PID) rather than an SD-JWT VC. mdoc documents cannot be presented via the SD-JWT QR flow, so callers typically hide the QR/sharing affordance and render mdocClaims instead.
Issuer display name (falls back to "Unknown issuer").
Optional VCT metadata fetched from a trusted type metadata registry.
Optional localized SVG templates with placeholders already replaced from the reconstructed SD-JWT VC claims.
Functions
Resolves the issuer's revocation/suspension status for this credential via the W3C Bitstring Status List it references. Requires connectivity.
Retrieves the wallet-bound credential associated with this document.
Localized issuer display name (e.g. "e-Boks"), or null when the credential carries no issuer display metadata.
true when the issuer has temporarily suspended this credential. Requires connectivity.
Resolves the friendliest available human-readable name for this credential, preferring localized values for languageCode.
Returns the friendly display names this credential carries across every locale we know about, keyed by BCP-47 language code.
Decoded claims of this mso_mdoc document as SDK-native MdocClaims, or an empty list when this is not an mdoc.
Pins the credential that would be consumed next — valid at the current time, with the lowest usage count — so the same credential can both render and sign a presentation for the lifetime of a session.
Top-level SD-JWT VC claims whose value is an image (e.g. a portrait), keyed by claim name, with the decoded image bytes. Uses the same content sniffing as mdocClaims (base64 / data:-URL → JPEG/PNG/JPEG2000), so apps don't have to decode images themselves. Empty for mdoc / when none.
Signs arbitrary input using the consuming credential key.