Class SrtpPolicy
SrtpPolicy holds the SRTP encryption / authentication policy of a SRTP
session.
@author Bing SU (nova.su @gmail.com)
Inheritance
System.Object
SrtpPolicy
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
Constructors
|
Improve this Doc
View Source
SrtpPolicy(Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public SrtpPolicy(int encType, int encKeyLength, int authType, int authKeyLength, int authTagLength, int saltKeyLength)
Parameters
Type |
Name |
Description |
System.Int32 |
encType |
|
System.Int32 |
encKeyLength |
|
System.Int32 |
authType |
|
System.Int32 |
authKeyLength |
|
System.Int32 |
authTagLength |
|
System.Int32 |
saltKeyLength |
|
Fields
|
Improve this Doc
View Source
AESCM_ENCRYPTION
Declaration
public const int AESCM_ENCRYPTION = 1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AESF8_ENCRYPTION
Declaration
public const int AESF8_ENCRYPTION = 2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
HMACSHA1_AUTHENTICATION
Declaration
public const int HMACSHA1_AUTHENTICATION = 1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NULL_AUTHENTICATION
Declaration
public const int NULL_AUTHENTICATION = 0
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NULL_ENCRYPTION
Declaration
public const int NULL_ENCRYPTION = 0
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SKEIN_AUTHENTICATION
Declaration
public const int SKEIN_AUTHENTICATION = 2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
TWOFISH_ENCRYPTION
Declaration
public const int TWOFISH_ENCRYPTION = 3
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
TWOFISHF8_ENCRYPTION
Declaration
public const int TWOFISHF8_ENCRYPTION = 4
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
AuthKeyLength
Declaration
public int AuthKeyLength { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AuthTagLength
Declaration
public int AuthTagLength { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AuthType
Declaration
public int AuthType { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
EncKeyLength
Declaration
public int EncKeyLength { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
EncType
Declaration
public int EncType { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SaltKeyLength
Declaration
public int SaltKeyLength { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Extension Methods