3.1.5.6.1.2 Completing a Route Entry Cache Addition

The following processing MUST be done when the AUTHORITY_BUFFER message is acknowledging an INQUIRE message sent while adding a route entry to the cache:

  1. Check the Pending Route Entry Add List. If an entry is not found that has an InquireMessageId corresponding to the Acked Message ID of the AUTHORITY message, ignore the AUTHORITY message. Otherwise, continue processing as follows.

  2. If the AUTHORITY_BUFFER message has the N flag set (indicating that the PNRP ID in the route entry is not currently registered on that node), then the Route Entry MUST be removed from the Pending Route Entry Add List.

  3. If the entry's NeedCpa flag is not set, the check for whether the entry is reachable is now complete and the entry SHOULD be stored in the cache. The processing of the Route Entry is complete. Otherwise, continue processing as follows.

  4. If a CPA was requested but one was not included in the AUTHORITY_BUFFER message, the Route Entry MUST be silently discarded.

  5. The node MUST validate the CPA as specified in section 3.1.5.7. If validation fails, or if a required Certificate Chain was not received, the Route Entry MUST be silently discarded.

  6. The PNRP ID in the Route Entry MUST be compared against the PNRP ID of the CPA, and the addresses in the Route Entry MUST be compared against the service addresses in the CPA. If they do not match, the Route Entry MUST be silently discarded.

  7. Add the Route Entry to the Route Entry Cache.