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()
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
|
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
|
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
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetSSRC()
Declaration
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
ProcessPacketAESCM(RawPacket)
Declaration
public void ProcessPacketAESCM(RawPacket pkt)
Parameters
|
Improve this Doc
View Source
ProcessPacketAESF8(RawPacket)
Declaration
public void ProcessPacketAESF8(RawPacket pkt)
Parameters
|
Improve this Doc
View Source
ReverseTransformPacket(RawPacket)
Declaration
public bool ReverseTransformPacket(RawPacket pkt)
Parameters
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
Extension Methods