Non-TCP Applications of Keychain

Non-TCP applications such as RIP and ISIS can initialize or de-initialize with the Keychain module through the exposed initialization application programming interface (API) provided with Keychain.

When an application needs to send packets, it performs the process shown in the following figure.

Figure 1 Process to send packets in Non-TCP application
  1. Through the Keychain API, the application queries Keychain for the active send key-id. When it receives the active key-id, the application constructs the packet data for which a MAC needs to be calculated. Then it sends the packet data to Keychain.
  2. Keychain generates a MAC for the packet data and sends the calculated MAC to the application.
  3. The application formulates a packet with authentication information and sends it out.

When an application receives a packet, it performs the process shown in the following figure.

Figure 2 Process to receive packets in Non-TCP application

When an application that does not carry the key-id in the packet, such as ISIS, receives a packet, it performs the following process:

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >