Class SrtpHandler
Inheritance
System.Object
SrtpHandler
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 sealed class SrtpHandler
Constructors
|
Improve this Doc
View Source
SrtpHandler()
Declaration
Fields
|
Improve this Doc
View Source
m_localSecurityDescriptions
Declaration
public List<SDPSecurityDescription> m_localSecurityDescriptions
Field Value
|
Improve this Doc
View Source
m_remoteSecurityDescriptions
Declaration
public List<SDPSecurityDescription> m_remoteSecurityDescriptions
Field Value
Properties
|
Improve this Doc
View Source
IsNegotiationComplete
Declaration
public bool IsNegotiationComplete { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LocalSecurityDescription
Declaration
public SDPSecurityDescription LocalSecurityDescription { get; }
Property Value
|
Improve this Doc
View Source
RemoteSecurityDescription
Declaration
public SDPSecurityDescription RemoteSecurityDescription { get; }
Property Value
|
Improve this Doc
View Source
SrtcpDecoder
Declaration
public IPacketTransformer SrtcpDecoder { get; }
Property Value
|
Improve this Doc
View Source
SrtcpEncoder
Declaration
public IPacketTransformer SrtcpEncoder { get; }
Property Value
|
Improve this Doc
View Source
SrtpDecoder
Declaration
public IPacketTransformer SrtpDecoder { get; }
Property Value
|
Improve this Doc
View Source
SrtpEncoder
Declaration
public IPacketTransformer SrtpEncoder { get; }
Property Value
Methods
|
Improve this Doc
View Source
ProtectRTCP(Byte[], Int32, Int32)
Declaration
public byte[] ProtectRTCP(byte[] packet, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
packet |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
ProtectRTCP(Byte[], Int32, out Int32)
Declaration
public int ProtectRTCP(byte[] payload, int length, out int outLength)
Parameters
Type |
Name |
Description |
System.Byte[] |
payload |
|
System.Int32 |
length |
|
System.Int32 |
outLength |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ProtectRTP(Byte[], Int32, Int32)
Declaration
public byte[] ProtectRTP(byte[] packet, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
packet |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
ProtectRTP(Byte[], Int32, out Int32)
Declaration
public int ProtectRTP(byte[] payload, int length, out int outLength)
Parameters
Type |
Name |
Description |
System.Byte[] |
payload |
|
System.Int32 |
length |
|
System.Int32 |
outLength |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RemoteSecurityDescriptionUnchanged(List<SDPSecurityDescription>)
Declaration
public bool RemoteSecurityDescriptionUnchanged(List<SDPSecurityDescription> securityDescriptions)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SetupLocal(List<SDPSecurityDescription>, SdpType)
Declaration
public bool SetupLocal(List<SDPSecurityDescription> securityDescription, SdpType sdpType)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SetupRemote(List<SDPSecurityDescription>, SdpType)
Declaration
public bool SetupRemote(List<SDPSecurityDescription> securityDescription, SdpType sdpType)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UnprotectRTCP(Byte[], Int32, Int32)
Declaration
public byte[] UnprotectRTCP(byte[] packet, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
packet |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
UnprotectRTCP(Byte[], Int32, out Int32)
Declaration
public int UnprotectRTCP(byte[] payload, int length, out int outLength)
Parameters
Type |
Name |
Description |
System.Byte[] |
payload |
|
System.Int32 |
length |
|
System.Int32 |
outLength |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
UnprotectRTP(Byte[], Int32, Int32)
Declaration
public byte[] UnprotectRTP(byte[] packet, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
packet |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
UnprotectRTP(Byte[], Int32, out Int32)
Declaration
public int UnprotectRTP(byte[] payload, int length, out int outLength)
Parameters
Type |
Name |
Description |
System.Byte[] |
payload |
|
System.Int32 |
length |
|
System.Int32 |
outLength |
|
Returns
Type |
Description |
System.Int32 |
|
Extension Methods