View Source ExSDP.Encryption (ExSDP v0.10.2)

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

Link to this section Summary

Link to this section Types

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

Link to this section Functions

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