rama::tls::types

Module client

Expand description

TLS implementation agnostic client types

ClientHello is used in Rama as the implementation agnostic type to convey what client hello was set by the incoming TLS Connection, if the server middleware is configured to store it.

By being implementation agnostic we have the advantage to be able to bridge easily between different implementations. Making it possible to run for example a Rustls proxy service but establish connections using BoringSSL.

Structs§

  • Raw private key and certificate data to facilitate client authentication.
  • Common API to configure a TLS Client
  • When a client first connects to a server, it is required to send the ClientHello as its first message.
  • Indicate (some) of the negotiated tls parameters that can be added to the service context by Tls implementations.

Enums§

Functions§

  • Merge extension lists A and B, with B overwriting any conflict with A, and otherwise push it to the back.