Class MessageReceptionStateEncryptedWithoutRollover
Implements a message reception state for encrypted messages without rollover.
A counter in the range [(max_message_counter + 1) to (232 - 1)] SHALL be considered new, and cause the
max_message_counter value to be updated.
Message counters within the range of the bitmap SHALL be considered duplicate if the corresponding bit
offset is set to true. All other message counters SHALL be considered duplicate.
Calculate plain diff without rollover.
This method is mainly overridden for other counter types and follow the following semantic
Return number is:
negative if the new message counter is smaller than the current maximum. Smaller values within the Window size
are check separately within the window. Other smaller values are considered DUPLICATE
positive if the new message counter is larger than the current maximum and are always NEW
Parameters
messageCounter: number
Returns number
updateMessageCounter
updateMessageCounter(messageCounter): void
Returns true if the message counter is a duplicate.
Implements a message reception state for encrypted messages without rollover. A counter in the range [(max_message_counter + 1) to (232 - 1)] SHALL be considered new, and cause the max_message_counter value to be updated. Message counters within the range of the bitmap SHALL be considered duplicate if the corresponding bit offset is set to true. All other message counters SHALL be considered duplicate.