Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CryptoSuite

Defines valid SDP crypto suites.

Hierarchy

  • CryptoSuite

Index

Methods

getTypeString

  • getTypeString(): string
  • Returns string

Static getAesCM128HmacSha180

  • 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

Static getAesCm128HmacSha132

  • 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

Static getCryptoSuite

  • getCryptoSuite(encryptionMode: EncryptionMode): string
  • Converts an EncryptionMode enum to a crypto-suite string.

    Parameters

    • encryptionMode: EncryptionMode

      The EncryptionMode enum.

    Returns string

    The crypto-suite string.

Static getEncryptionMode

  • getEncryptionMode(cryptoSuite: string): EncryptionMode
  • Converts a crypto-suite string to an EncryptionMode enum.

    Parameters

    • cryptoSuite: string

      The crypto-suite string.

    Returns EncryptionMode

    The EncryptionMode enum.

Static getNullHmacSha132

  • getNullHmacSha132(): string
  • Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with a 32-bit authentication tag".

    Returns string

Static getNullHmacSha180

  • getNullHmacSha180(): string
  • Gets the SDP crypto suite meaning "NULL cipher and HMAC-SHA1 message authentication with an 80-bit authentication tag".

    Returns string