# `ExWapp.Noise.HandshakeSecrets`
[🔗](https://github.com/elchemista/ex_wapp/blob/v0.1.5/lib/ex_wapp/noise/handshake_secrets.ex#L1)

Immutable container for the transport keys and metadata derived from a Noise handshake.

# `t`

```elixir
@type t() :: %ExWapp.Noise.HandshakeSecrets{
  handshake_hash: binary(),
  handshake_salt: binary(),
  read_key: binary(),
  server_certificate: binary(),
  server_static: binary(),
  write_key: binary()
}
```

# `new`

```elixir
@spec new(map() | keyword()) :: t()
```

Builds a `t:t/0` struct from a map or keyword list.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
