Skip to main content

Module server

Module server 

Available on crate feature boring only.
Expand description

Boring(ssl) server support for Rama.

This module provides a TlsAcceptorLayer to accept TLS connections and a TlsAcceptorService to handle them.

§Examples

See the Examples Directory:

Modules§

utils
Server Utilities

Structs§

BoringServerCertCompression
Certificate compression algorithms the server can compress with.
BoringServerCertIssuer
Issue server certs on the fly. See BoringServerConfigExt::with_cert_issuer.
BoringServerCipherSuites
Server cipher suites for TLS 1.2 and below, in preference order.
BoringServerEchKeys
A synchronous source of immutable prepared ECH key generations.
BoringServerSignatureSchemes
Signature schemes the server signs with, in preference order.
BoringServerSupportedGroups
Server key exchange groups, in preference order.
BoringTlsAcceptorConfig
Gather all the TLS extensions supported by boring
DynamicIssuer
Dynamic issuer which internally contains the dyn issuer
EchServerKey
One ECHConfig and its separately generated X25519 private key.
EchServerKeys
An immutable, validated generation of accepted keys and retry configs.
IssuedCertificate
A certificate issued for one handshake, with its private key.
ReloadableEchServerKeys
Shared atomic key snapshots and serialized updates of live native contexts.
ServerCertIssuerData
Configures on-the-fly server certificate issuance and caching.
TlsAcceptorData
Internal data used as configuration/input for the super::TlsAcceptorService.
TlsAcceptorLayer
A Layer which wraps the given service with a TlsAcceptorService.
TlsAcceptorService
A Service which accepts TLS connections and delegates the underlying transport stream to the given service.

Enums§

BoringTlsAuth
Auth used by boring acceptor
CacheKind
Cache kind that will be used to cache results of certificate issuers
ServerCertIssuerKind
The way certs are issued on the fly by a ServerCertIssuerData.

Traits§

BoringServerConfigExt
Boring specific tls setters.
EchServerKeysProvider
Prepared ECH configuration with optional live context updates.

Functions§

capture_client_hello
Enable effective ClientHello capture on a session using the certificate callback installed by TlsAcceptorData::callback_acceptor_builder.
captured_client_hello
The effective hello observed by the certificate callback; after accepted ECH this is the decrypted inner, never the wire outer.