FMLiveSwitchSdpCryptoSuite Class Reference

Defines valid SDP crypto suites. More...

Class Methods

(NSString *) + aesCm128HmacSha132
 Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag". More...
 
(NSString *) + aesCM128HmacSha180
 Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag". More...
 
(NSString *) + getCryptoSuiteWithEncryptionMode:
 Converts an EncryptionMode enum to a crypto-suite string. More...
 
(FMLiveSwitchEncryptionMode) + getEncryptionModeWithCryptoSuite:
 Converts a crypto-suite string to an EncryptionMode enum. More...
 
(NSString *) + nullHmacSha132
 Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag". More...
 
(NSString *) + nullHmacSha180
 Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag". More...
 

Detailed Description

Defines valid SDP crypto suites.

Method Documentation

◆ aesCm128HmacSha132

+ (NSString*) aesCm128HmacSha132

Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag".

◆ aesCM128HmacSha180

+ (NSString*) aesCM128HmacSha180

Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag".

◆ getCryptoSuiteWithEncryptionMode:

+ (NSString*) getCryptoSuiteWithEncryptionMode: (FMLiveSwitchEncryptionMode)  encryptionMode

Converts an EncryptionMode enum to a crypto-suite string.

Parameters
encryptionModeThe EncryptionMode enum.
Returns
The crypto-suite string.

◆ getEncryptionModeWithCryptoSuite:

+ (FMLiveSwitchEncryptionMode) getEncryptionModeWithCryptoSuite: (NSString *)  cryptoSuite

Converts a crypto-suite string to an EncryptionMode enum.

Parameters
cryptoSuiteThe crypto-suite string.
Returns
The EncryptionMode enum.

◆ nullHmacSha132

+ (NSString*) nullHmacSha132

Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag".

◆ nullHmacSha180

+ (NSString*) nullHmacSha180

Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag".