View Source ExSDP.Encryption (ExSDP v0.15.0)

This module represents the Encryption field of SDP that stores encryption key or acquisition method of such key.

Session key should be present IFF the transport medium is secure.

For more details please see RFC4566 Section 5.12

Summary

Types

@type methods() :: :prompt | :base64 | :clear | :uri
@type t() :: %ExSDP.Encryption{key: binary() | nil, method: methods()}

Functions

@spec parse(binary()) :: {:ok, t()} | {:error, :unsupported_method}