BPMN diagram illustrating the QR code scanning and verification process with DID resolver, signature validation, IPFS hash retrieval, and metadata verification steps

 

QR Code Scanning and Verification BPMN Diagram

1. Start Event

  • The process begins with the Start Event, where a user initiates the QR code scanning through a mobile application.

2. Scan QR Code

  • Next, the QR code scanner on the mobile application captures and scans the QR code.

3. DID Resolver Fetches Document

  • The DID (Decentralized Identifier) resolver retrieves or fetches the DID document associated with the QR code. This document contains essential information that enables further verification steps.

4. Verify Signature

  • In this step, the verifier application checks the authenticity of the QR code by verifying its digital signature.
    • Decision Point for Signature Validity: If the signature is valid, the process continues to the next step to fetch the IPFS (InterPlanetary File System) hash. If the signature is not valid, the process ends here.

5. Fetch IPFS Hash

  • The verifier application then fetches the hash from IPFS, where it is securely stored on the blockchain.

6. Verify Metadata

  • The application verifies the metadata associated with the QR code to check its integrity.
    • Decision Point for Metadata Verification: If the metadata check passes, the product is marked as "Verified." If it fails, the product is marked as "Fake."

7. End Event

  • The process concludes with the final verification result, indicating whether the product is authentic or not.

 

Our services

To understand how ComplyMarket can support you to build your Digital Product Passport,  visit this Page or contact us directly.

 

Warning: ComplyMarket Solutions are patented and any use without written permission from ComplyMarket will lead to severe legal consequences.

 

written by : Alaa Rezk , Senior software developer

 

التعليقات

اترك تعليقا أو اطرح سؤالا

I agree to the Terms of Service and Privacy Policy