ISO 18013-5 defines the mDoc format for government credentials. CBOR-encoded, device-bound, and built for proximity - here's how mDocs work and how MIP supports them.
ISO 18013-5 defines the mDoc (mobile Document) format, the global standard for mobile driver's licences (mDLs) and, increasingly, other government credentials. Unlike W3C VCs, mDocs use CBOR binary encoding (not JSON), are specifically designed for device-held use cases, and include built-in proximity presentation via NFC or BLE - enabling in-person verification without internet connectivity.
mDocs store namespaced data elements: the org.iso.18013.5.1 namespace contains standard mDL fields (family_name, given_name, birth_date, portrait, driving_privileges). Extension namespaces hold jurisdiction-specific fields. The entire document is CBOR-encoded and signed using COSE (CBOR Object Signing and Encryption), which is the binary equivalent of JWS.
Every mDoc includes a device-bound key pair. At presentation time, the device signs a session transcript using this key, proving the credential is held by the device presenting it (not just a screenshot or copy). Proximity presentation uses BLE discovery or NFC channel establishment between the mDoc reader and the wallet device.
mDoc selective disclosure request (namespaced elements)
// DeviceRequest from verifier specifying which elements to disclose
{
"version": "1.0",
"docRequests": [{
"itemsRequest": {
"docType": "org.iso.18013.5.1.mDL",
"nameSpaces": {
"org.iso.18013.5.1": {
"family_name": false,
"given_name": false,
"age_over_21": true // intent_to_retain = true
}
}
}
}]
}What is Digital Identity?
What is a Verifiable Credential?
What is Verification?
Centralized vs Verifiable Identity
Cryptographic Trust Anchors
PKI & Certificate Chains
Policy Engines with Cedar
Trust Registries
Privacy & Data Minimization