3.1.5.8 Validating an Extended Payload

To validate an EXTENDED_PAYLOAD message, a PNRP node MUST perform the following checks. If any of the assertions that follow is not true, the EXTENDED_PAYLOAD message MUST be rejected as invalid.

Verify that the EXTENDED_PAYLOAD message conforms to the syntax as specified in section 2.2.3.3.

Retrieve the current UTC time for the local PNRP node. Verify that the current UTC time is not after the Not After field in the EXTENDED_PAYLOAD message.

Verify that the value of the PNRP ID field in the EXTENDED_PAYLOAD message matches the PNRP ID in the Route Entry field in the AUTHORITY_BUFFER message.

Verify that the value of the Nonce field in the EXTENDED_PAYLOAD message matches the value of the Nonce field in the original INQUIRE message.

Verify (using the rules as specified in section 3.1.5.9) that the SIGNATURE structure contains the correct signature of the EXTENDED_PAYLOAD structure (minus the Signature field).