Skip to main content

Module server

Module server 

Source
Expand description

Items for use in a server.

Modules§

danger
Dangerous configuration that should be audited and used with extreme care.

Structs§

Accepted
Represents a ClientHello message.
ClientHello
A struct representing the received Client Hello
ClientVerifierBuilderwebpki
A builder for configuring a webpki client certificate verifier.
NeedsInput
More data needs to be received to make progress.
NoClientAuth
Turns off client authentication.
NoServerSessionStorage
Something which never stores sessions.
ParsedCertificatewebpki
Wrapper around internal representation of a parsed certificate.
PreferClientOrder
A CipherSuiteSelector implementation that prioritizes client order.
PreferServerOrder
A CipherSuiteSelector implementation that prioritizes server order.
ReadEarlyData
Allows reading of early data in resumed TLS1.3 connections.
ServerConfig
Common configuration for a set of server sessions.
ServerConnection
This represents a single TLS server connection.
ServerNameResolverwebpki
Something that resolves do different cert chains/keys based on client-supplied server name (via SNI).
ServerSessionKey
A key that identifies a server-side resumable session.
ServerSessionMemoryCache
An implementer of StoresServerSessions that stores everything in memory. If enforces a limit on the number of stored sessions to bound memory usage.
ServerSide
State associated with a server connection.
Tls13Tickets
How many TLS 1.3 session tickets the server sends after a handshake.
WantsServerCert
A config builder state where the caller must supply how to provide a server certificate to the connecting peer.
WebPkiClientVerifierwebpki
A client certificate verifier that uses the webpki crate to perform client certificate validation.

Enums§

InvalidSniPolicy
A policy describing how an invalid Server Name Indication (SNI) value from a client is handled by the server.
ServerHandshake
An in-progress TLS server handshake.
VerifierBuilderErrorwebpki
An error that can occur when building a certificate verifier.

Traits§

CipherSuiteSelector
A filter that chooses the cipher suite to use for a TLS session.
ServerCredentialResolver
How to choose a certificate chain and signing key for use in server authentication.
StoresServerSessions
A trait for the ability to store server session data.