ExSRTP.Cipher.AesGcm (ExSRTP v0.4.1)

View Source

An ExSRTP.Cipher implementation using AES-GCM (as per RFC 7714).

Summary

Types

t()

@type t() :: %ExSRTP.Cipher.AesGcm{
  profile: :aes_gcm_128_16_auth,
  rtcp_key: binary(),
  rtcp_salt: binary(),
  rtp_key: binary(),
  rtp_salt: binary()
}

Functions

new(profile, master_key, master_salt)

@spec new(atom(), master_key :: binary(), master_salt :: binary()) :: t()