SSL.TLS12Session (ex_ssl v1.0.0-rc.9)

Copy Markdown View Source

Bounded, memory-only EMS session material. Inspect never reveals the master secret.

Summary

Types

t()

@type t() :: %SSL.TLS12Session{
  alpn: binary() | nil,
  auto: boolean(),
  data: binary() | nil,
  expires_at: integer(),
  id: binary(),
  issued_at: integer(),
  master_secret: binary(),
  peer: map(),
  suite: non_neg_integer()
}

Functions

validate(session)

@spec validate(term()) :: :ok | {:error, :invalid_session}