Class RocValues
Class for storing the Roll Over Counter (ROC) for SRTP encryption. The ROC counts the number of times that the RTP packet sequence number has wrapped around in a RTP media session. See Section 3.3.1 of RFC 3711.
Inherited Members
Namespace: SipLib.RtpCrypto
Assembly: SipLib.dll
Syntax
public class RocValues
Fields
| Edit this page View SourceRoc
Current ROC value.
Declaration
public uint Roc
Field Value
Type | Description |
---|---|
uint |
RocMinus1
Stores the value of ROC - 1
Declaration
public uint RocMinus1
Field Value
Type | Description |
---|---|
uint |
RocPlus1
Stores the value of ROC + 1
Declaration
public uint RocPlus1
Field Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceIncrementRoc()
Increments the Roll Over Counter (ROC)
Declaration
public void IncrementRoc()