Glossary

mdoc (ISO mobile document)

Also called ISO mdoc, mso_mdoc.

An mdoc is a mobile document in the data model of ISO/IEC 18013-5, the standard behind mobile driving licences. It holds CBOR-encoded data elements, signed by the issuer through a Mobile Security Object and bound to a key on the device. EUDI wallets can hold the PID and other attestations as mdocs alongside SD-JWT VC.

Last reviewed: All terms

What it means for your business

The mdoc format started with the mobile driving licence and now carries other documents too. The EU rules use it for the PID, for the EU age verification attestation and for attestations generally, so a relying party should be able to read both mdoc and SD-JWT VC.

An mdoc supports selective disclosure. Each data element is hashed separately in the signed Mobile Security Object, so the holder can release one element, such as an over-18 indicator, without the others.

What it means for developers

An mdoc has a docType such as org.iso.18013.5.1.mDL or eu.europa.ec.eudi.pid.1, with data elements grouped by namespace. The issuer signs a Mobile Security Object (MSO) holding a salted digest of each element, the device public key and validity times, as a COSE_Sign1 structure with the signing certificate in x5chain. A presentation is a DeviceResponse with the disclosed elements, the MSO and a device signature or MAC over the session transcript.

In OpenID4VP the format identifier is mso_mdoc, and Appendix B.2 defines how the session transcript binds the response to the verifier and the request. HAIP section 5.3 requires each mdoc to come back in its own DeviceResponse when several are returned.

Nexiel Verify reads mdocs in the redirect flow and through ISO/IEC 18013-7 Annex C over the Digital Credentials API. It checks the issuer certificate chain, the MSO digests and validity, the device signature against the session handover, and the credential’s status. Reading an mdoc in person over NFC or Bluetooth is not part of Nexiel Verify.

How Nexiel uses it

Frequently asked questions

Is an mdoc only for driving licences?
No. ISO/IEC 18013-5 was written for the mobile driving licence, but its data model carries any document type. The EU also uses it for the PID and the age verification attestation.
Can a wallet send an mdoc to a website?
Yes. A website can request it through OpenID4VP with the mso_mdoc format, or through ISO/IEC 18013-7 Annex C over the browser’s Digital Credentials API.

Sources

  1. ISO, ISO/IEC 18013-5:2021, mobile driving licence (mDL) application
  2. OpenID Foundation, OpenID for Verifiable Presentations 1.0 (Final, 9 July 2025)
  3. OpenID Foundation, OpenID4VC High Assurance Interoperability Profile 1.0 (Final, 24 December 2025)
  4. Commission Implementing Regulation (EU) 2026/1731, amending the implementing rules for wallet units and protocols

Try it in test mode

Get test keys without an account and run a wallet presentation against the Nexiel sandbox wallet.