A Beginner’s Guide DigiLocker System Implementation

DigiLocker_GuideLine

DigiLocker is part of the Digital India initiative. There are two primary visions DigiLocker – Shareable Private Space on Public Cloud and Digital Documents certificates on Cloud. Current prevailing challenges are documents in physical form, copy/scan/courier for submission, fake documents in circulation etc. faced by citizens as well as the government departments.

DigiLocker is a cloud-based platform for issuance and verification of documents & certificates digitally. But how does the DigiLocker system work? Issuers can issue documents which are digitally generated and requester can access documents by requesting online via the DigiLocker App.

DigiLocker Work Process

DigiLocker contains two parts – Issued Documents & Self Uploaded Documents. 

  1. Issued Documents: Issued from Original Source (Single Source of Truth) & no separate document copy – just reference link to source
  2. Self-Uploaded Documents: Legacy / old documents can be uploaded, using e-Sign for self-attestation & Similar to DropBox, Google Drive (1GB free space)

DigiLocker Benefits:

  1. Based on User Consent
  2. Fully secure access
  3. Anywhere, anytime – desktop/mobile
  4. Paperless & environment friendly

Following is the technical specification of DigiLocker:

DigiLocker technical specification:

Following is the implementation step to access digital documents which are issued by Issuers into DigiLocker.

#Step 1: We have to create Issuers’ User Account in DigiLocker System access (In this case, we have to contact the DigiLocker Team for account creation).

DigiLocker system access

#Step 2: Provide document name to the DigiLocker team for the creation/generation of document type in DigiLocker. The DigiLocker team will provide generated document type names. The following are some examples of documents generated for one department:

Doc Type (Created By DigiLocker Team) Application Name
MOCER Mortgage Permission
TRCER Transfer Order
TRCER Transfer Order

#Step 3: Developed REST based API for DigiLocker system.

1. Created Pull URI Request API

API Code:

URI: We have passed unique key for linked document by pull doc API

       URI = “Department Unique URI-” + docTypeName + “-” + UniqueNo;

DocType: To pass DocType Which is created by the DiGiLocker system.

DigiLockerId: Response received from Requested Data.

DocContent: To passed Base64string of converted PDF file.

[XML Template Format]

1.1 Requested XML: (this XML requested by Digilocker’s System)

1.2 Response XML (We have developed RESTful API):

2. Created Pull DOC Request API

API Code

2.1 Requested XML: (this XML requested by Digilocker’s System)

2.2 Response XML (We have developed RESTful API):

#Step 4: REST API registered using DigiLocker System

Step 5: Document Type Mapping using DigiLocker System

DigiLocker Document type

Wrapping Up

So, this was the extensive DigiLocker implementation guidelines. We believe this was super resourceful.

The following two tabs change content below.

Vipul Patel

Sr. Software Developer (.Net) at DEV Information Technology Ltd
Vipul Patel has been working with DEV IT Ltd for 10 years as a Sr. Software Developer. Vipul has expertise on new technologies like as MVC, .Net Core , REST API and React (Front-End) and using his skills to contribute to the exciting technological advances that happen every day at DEVIT. Vipul has completed his post graduation from the S.K Patel Institute of Engineering and won the Second Rank Award for his exemplary academic performance and leadership skills in 2011. Vipul likes to play cricket and tracking mountain in leisure time.

Latest posts by Vipul Patel (see all)

One thought on “A Beginner’s Guide DigiLocker System Implementation

  1. hi

    Your code is very useful in implementing digilocker PULL APIs, can you please upload the whole sample project where the digilocker PULL APIs is implemented?
    Thank you\

    Paul
    Chennai

Leave a Reply

Your email address will not be published.