fm.liveswitch.sdp.CryptoSuite Class Referenceabstract

Defines valid SDP crypto suites. More...

Static Public Member Functions

static String getAesCm128HmacSha132 ()
 Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag". More...
 
static String getAesCM128HmacSha180 ()
 Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag". More...
 
static String getCryptoSuite (fm.liveswitch.EncryptionMode encryptionMode)
 Converts an EncryptionMode enum to a crypto-suite string. More...
 
static fm.liveswitch.EncryptionMode getEncryptionMode (String cryptoSuite)
 Converts a crypto-suite string to an EncryptionMode enum. More...
 
static String getNullHmacSha132 ()
 Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag". More...
 
static String getNullHmacSha180 ()
 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.

Member Function Documentation

◆ getAesCm128HmacSha132()

static String fm.liveswitch.sdp.CryptoSuite.getAesCm128HmacSha132 ( )
static

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

◆ getAesCM128HmacSha180()

static String fm.liveswitch.sdp.CryptoSuite.getAesCM128HmacSha180 ( )
static

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

◆ getCryptoSuite()

static String fm.liveswitch.sdp.CryptoSuite.getCryptoSuite ( fm.liveswitch.EncryptionMode  encryptionMode)
static

Converts an EncryptionMode enum to a crypto-suite string.

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

◆ getEncryptionMode()

static fm.liveswitch.EncryptionMode fm.liveswitch.sdp.CryptoSuite.getEncryptionMode ( String  cryptoSuite)
static

Converts a crypto-suite string to an EncryptionMode enum.

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

◆ getNullHmacSha132()

static String fm.liveswitch.sdp.CryptoSuite.getNullHmacSha132 ( )
static

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

◆ getNullHmacSha180()

static String fm.liveswitch.sdp.CryptoSuite.getNullHmacSha180 ( )
static

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