Packet Manager

Overview

Packet Manager performs the following functions:

  1. Reads/writes registration packets from/to Object Store.

  2. Performs in-memory encryption and decryption of packets.

  3. Performs security checks, checksum, file validations, ID object validations etc. on the registration packet.

  4. 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.

  1. Resident Services uses Packet Manager library to create packet.

  2. Registration Processor reads packet data using Packet Manager service.

  3. Packets are stored and retrieved from Object Store.

  4. Audit logs.

  5. Encryption and decryption of packet.

  6. Registration Client uses Packet Manager library to create packets.

Packet stucture

Refer Registration Packet Structure.

API

Refer API Documentation.

Source code

Github repo.

Last updated

Copyright © 2021 MOSIP. This work is licensed under a Creative Commons Attribution (CC-BY-4.0) International License unless otherwise noted.