Packet Manager performs the following functions:
Reads/writes registration packets from/to Object Store.
Performs in-memory encryption and decryption of packets.
Performs security checks, checksum, file validations, ID object validations etc. on the registration packet.
Provides packet information to other services via APIs. In case of multiple packets associated with an ID, pulls information from packets based on configured priority. (See packetmanager.default.priority
).
Packet Manager runs as a service and is also available as a library.
The relationship of Packet Manager with other services is explained here. NOTE: The numbers do not signify sequence of operations or control flow. Arrows indicate data flow.
Resident Services uses Packet Manager library to create packet.
Registration Processor reads packet data using Packet Manager service.
Packets are stored and retrieved from Object Store.
Audit logs.
Encryption and decryption of packet.
Registration Client uses Packet Manager library to create packets.
Refer Registration Packet Structure.
Refer API Documentation.
A registration packet is a zipped, encrypted file containing ID information of an individual. It contains meta information about operator/supervisor, registration center, machine, devices etc.
Example zipped file:
10001100771006920220128223618-10001_10077-20220128223618.zip
Naming convention: appid-refid_timestamp.zip
refid: centerid_machineid
*_id.zip
: Applicant demographic/biometric/document fields which are marked as "pvt" or "kyc" or "none" in ID Schema.
*_id.json
: Meta information (process, encrypted hash, signature, schema version etc.) for *_id.zip
file.
*_evidence.zip
: Applicant's demographic/biometric/document fields which are marked as "evidence" or "none" in ID Schema.
*_evidence.json
: Meta information (process, encrypted hash, signature, schema version etc.) for *_evidence.zip
file.
*_optional.zip
: Applicant demographic/biometric/document fields which are marked as "optional" or "none" ID Schema.
*_optional.json
: Meta information (process, encrypted hash, signature, schema version etc.) for *_optional.zip
file.
Note: this is a sample packet and doesnot mean a particular information will be always available in same packet. The fields are populated based on the fieldCategory set in schema json.
Id
Evidence
Optional
See sample packet.