Introduction
This class will focus on the process of generating QR codes for digital credentials using the Extrimian API. We will discuss how these technologies facilitate the secure and efficient issuance and receipt of credentials.
QR Code Generation Process
The process begins with the identification of the issuer of the credential, in this case, an educational institution that wishes to issue a digital credential to a regular student. It is crucial to understand that before the QR code is generated, the student must have already been validated and registered in the institute’s system, thus ensuring that the credential is issued correctly.
- Sender and Receiver Identification: The sender (educational institution) uses a previously created DID (Decentralized Identifier) to act within the Extrimian API. This DID is essential for the generation of the QR code, as it guarantees the authenticity and security of the transaction.
- Credential creation: The digital credential is specified in a JSON format, including details such as the type of credential (e.g., “alumni credential”), the date of issuance, and the student data (credential subject). This step is essential to define the information that the digital credential will contain.
- Output Descriptor Specification: This element is crucial for the agent or digital wallet to correctly interpret and render the credential. It includes details such as the title, subtitle, description, and visual styles of the credential. The output descriptor helps to present the credential in a clear and aesthetically pleasing way for the end user.
- QR Code Generation: Finally, with the defined credential and the specified output descriptor, the Extrimian API generates a QR code. This QR code can be displayed by the sender and scanned by the receiver (the student) to obtain his digital credential in a secure and efficient way.