Class CryptoSuite
Defines valid SDP crypto suites.
Inheritance
System.Object
    CryptoSuite
  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.ToString()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public static class CryptoSuiteProperties
AesCm128HmacSha132
Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag".
Declaration
public static string AesCm128HmacSha132 { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
AesCM128HmacSha180
Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag".
Declaration
public static string AesCM128HmacSha180 { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
NullHmacSha132
Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag".
Declaration
public static string NullHmacSha132 { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
NullHmacSha180
Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag".
Declaration
public static string NullHmacSha180 { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
GetCryptoSuite(EncryptionMode)
Converts an EncryptionMode enum to a crypto-suite string.
Declaration
public static string GetCryptoSuite(EncryptionMode encryptionMode)Parameters
| Type | Name | Description | 
|---|---|---|
| EncryptionMode | encryptionMode | The EncryptionMode enum. | 
Returns
| Type | Description | 
|---|---|
| System.String | The crypto-suite string. | 
GetEncryptionMode(String)
Converts a crypto-suite string to an EncryptionMode enum.
Declaration
public static EncryptionMode GetEncryptionMode(string cryptoSuite)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | cryptoSuite | The crypto-suite string. | 
Returns
| Type | Description | 
|---|---|
| EncryptionMode | The EncryptionMode enum. |