Create a rule to assign or check SigSeqNum.
This rule assigns SigSeqNum to initialSegNum
, or increments from previous value.
This rule rejects an Interest on any of these conditions: (1) SigSeqNum is absent. (2) SigSeqNum value is less than or equal to a previous value.
Create a rule to assign or check SigTime.
This rule assigns SigTime to be same as current timestamp, but may increment if it duplicates the previous value.
This rule rejects an Interest on any of these conditions:
maxClockOffset
milliseconds.This check logic differs from NDN Packet Format v0.3 specification (as of 2020-September) in
that maxClockOffset
is checked on every Interest rather than only the "initial" Interest.
It is the same behavior as ndn-cxx v0.7.1 implementation.
This logic offers better consistency as it has less dependency on internal state of the
SignedInterestPolicy. However, persistently sending more than 1000 signed Interests per second
would eventually push SigTime out of maxClockOffset
range and cause rejections.
Generated using TypeDoc
Create a rule to assign or check SigNonce.
This rule assigns a random SigNonce of
minNonceLength
octets that does not duplicate lasttrackedNonces
values.This rule rejects an Interest on any of these conditions:
minNonceLength
octets.trackedNonces
values.