Show / Hide Table of Contents

Class SrtpCryptoContext

Inheritance
System.Object
SrtpCryptoContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class SrtpCryptoContext

Constructors

| Improve this Doc View Source

SrtpCryptoContext(Int64)

Declaration
public SrtpCryptoContext(long ssrcIn)
Parameters
Type Name Description
System.Int64 ssrcIn
| Improve this Doc View Source

SrtpCryptoContext(Int64, Int32, Int64, Byte[], Byte[], SrtpPolicy)

Declaration
public SrtpCryptoContext(long ssrcIn, int rocIn, long kdr, byte[] masterK, byte[] masterS, SrtpPolicy policyIn)
Parameters
Type Name Description
System.Int64 ssrcIn
System.Int32 rocIn
System.Int64 kdr
System.Byte[] masterK
System.Byte[] masterS
SrtpPolicy policyIn

Methods

| Improve this Doc View Source

Close()

Declaration
public void Close()
| Improve this Doc View Source

deriveContext(Int64, Int32, Int64)

Declaration
public SrtpCryptoContext deriveContext(long ssrc, int roc, long deriveRate)
Parameters
Type Name Description
System.Int64 ssrc
System.Int32 roc
System.Int64 deriveRate
Returns
Type Description
SrtpCryptoContext
| Improve this Doc View Source

DeriveSrtpKeys(Int64)

Declaration
public void DeriveSrtpKeys(long index)
Parameters
Type Name Description
System.Int64 index
| Improve this Doc View Source

GetAuthTagLength()

Declaration
public int GetAuthTagLength()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetMKILength()

Declaration
public int GetMKILength()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetROC()

Declaration
public int GetROC()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetSSRC()

Declaration
public long GetSSRC()
Returns
Type Description
System.Int64
| Improve this Doc View Source

ProcessPacketAESCM(RawPacket)

Declaration
public void ProcessPacketAESCM(RawPacket pkt)
Parameters
Type Name Description
RawPacket pkt
| Improve this Doc View Source

ProcessPacketAESF8(RawPacket)

Declaration
public void ProcessPacketAESF8(RawPacket pkt)
Parameters
Type Name Description
RawPacket pkt
| Improve this Doc View Source

ReverseTransformPacket(RawPacket)

Declaration
public bool ReverseTransformPacket(RawPacket pkt)
Parameters
Type Name Description
RawPacket pkt
Returns
Type Description
System.Boolean
| Improve this Doc View Source

SetROC(Int32)

Declaration
public void SetROC(int rocIn)
Parameters
Type Name Description
System.Int32 rocIn
| Improve this Doc View Source

TransformPacket(RawPacket)

Declaration
public void TransformPacket(RawPacket pkt)
Parameters
Type Name Description
RawPacket pkt

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX