Skip to main content

Verify an ISO mdoc offline

The SDK can be used to verify an ISO mdoc proof over BLE. The following steps represent the high-level overview.

Related guide: ISO mdoc offline protocol

  1. Create proof request: the digital wallet holder must initialize the interaction by presenting a QR code for engagement. Create a proof request, passing ISO_MDL as the exchange protocol and the QR code content for isoMdlEngagement

    • Starts BLE scanning
    • Creates a proof in PENDING state and returns the proofId

    At this stage the mobile verifier uses the device engagement parameters to establish a BLE connection.

  2. Connection established:

    • Sends proof request
    • Changes proof to REQUESTED state

    At this stage the mobile verifier waits for a response.

  3. Response received:

    • Validates the proof
    • Changes proof state to ACCEPTED or ERROR according to validation result
    • Closes BLE session
note

While the proof is in PENDING state or REQUESTED state, delete the proof to cancel the BLE interaction.

If the request was in PENDING, it is deleted and no history of the request is retained.

If the request was in REQUESTED, it is changed to RETRACTED and the history of the interaction is retained.