View Source Membrane.SRTP.KeyingMaterialEvent (Membrane RTP format v0.11.0)

Event containing keying material for SRTP encryptor and decryptor.

Summary

Types

t()

Type describing Membrane.SRTP.KeyingMaterialEvent struct.

Types

t()

@type t() :: %Membrane.SRTP.KeyingMaterialEvent{
  local_keying_material: binary(),
  protection_profile: pos_integer(),
  remote_keying_material: binary()
}

Type describing Membrane.SRTP.KeyingMaterialEvent struct.

Keying material consists of master key and master salt and is used by SRTP internally to generate actual keys. local_keying_material is used for deriving key for encryption while remote_keying_material is used for deriving key for decryption. For more information refer to RFC 3711 section 4.3 or RFC 5764 section 4.2.

protection_profile is pos_integer() refering to cryptographic algorithm used for negotiating local and remote keying material. For more information refer to https://www.iana.org/assignments/srtp-protection/srtp-protection.xhtml