/ fm / liveswitch / sdp / CryptoSuite
Class: CryptoSuite
liveswitch.sdp.CryptoSuite
Defines valid SDP crypto suites.
Table of contents
Constructors
Methods
- getTypeString
- getAesCM128HmacSha180
- getAesCm128HmacSha132
- getCryptoSuite
- getEncryptionMode
- getNullHmacSha132
- getNullHmacSha180
Constructors
constructor
+ new CryptoSuite(): CryptoSuite
Returns: CryptoSuite
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/CryptoSuite.ts:9
getAesCM128HmacSha180
▸ Static
getAesCM128HmacSha180(): string
Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag".
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/CryptoSuite.ts:29
getAesCm128HmacSha132
▸ Static
getAesCm128HmacSha132(): string
Gets the SDP crypto suite meaning "AES-CM 128-bit cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag".
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/CryptoSuite.ts:17
getCryptoSuite
▸ Static
getCryptoSuite(encryptionMode
: EncryptionMode): string
Converts an EncryptionMode enum to a crypto-suite string.
Parameters:
Name | Type | Description |
---|---|---|
encryptionMode |
EncryptionMode | The EncryptionMode enum. |
Returns: string
The crypto-suite string.
Defined in: Generated/TypeScript/fm.liveswitch/sdp/CryptoSuite.ts:43
getEncryptionMode
▸ Static
getEncryptionMode(cryptoSuite
: string): EncryptionMode
Converts a crypto-suite string to an EncryptionMode enum.
Parameters:
Name | Type | Description |
---|---|---|
cryptoSuite |
string | The crypto-suite string. |
Returns: EncryptionMode
The EncryptionMode enum.
Defined in: Generated/TypeScript/fm.liveswitch/sdp/CryptoSuite.ts:69
getNullHmacSha132
▸ Static
getNullHmacSha132(): string
Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag".
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/CryptoSuite.ts:93
getNullHmacSha180
▸ Static
getNullHmacSha180(): string
Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag".
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/CryptoSuite.ts:105