false if it should be rejected (too old or duplicate).
DtlsReplayWindow.check
bool check(ulong seq) @safe pure nothrow @nogcCheck if a sequence number would be acceptable without marking it.
Advances the window right edge for future sequence numbers (an idempotent operation that marks nothing), so a caller can verify acceptability before deprotecting the record and only mark it on success, as required by RFC 9147 §4.5.2.
Parameters
seq | The 48-bit sequence number to check. |
Returns
true if the sequence number is within the window and not a duplicate,