Module server
Expand description
TLS implementation agnostic server types
Structs§
- Dynamic
Issuer - Dynamic issuer which internally contains the dyn issuer
- Input
With Client Hello - An
inputwith a Client Hello (tls) attached to it, usually used in combination withPeekTlsClientHelloService. - NoTls
Reject Error - non-tls connection is rejected
- Peek
TlsClient Hello Service - A peek
Servicewhich returns theClientHelloto the inner service for tls-detected traffic, and otherwise make use of the Reject service. - Self
Signed Data - Data that can be used to configure the self-signed single data
- Server
Auth Data - Raw private key and certificate data to facilitate server authentication.
- Server
Cert Issuer Data - Server
Config - Common API to configure a TLS Server
- SniRequest
- A request ready for SNI routing,
usually used in combination with
SniRouter. - SniRouter
- A
Servicerouter that can be used to support routing of tls traffic as well as non-tls traffic. - TlsPeek
Router - A
Servicerouter that can be used to support tls traffic as well as non-tls traffic.
Enums§
- Cache
Kind - Cache kind that will be used to cache results of certificate issuers
- Client
Verify Mode - Mode of client verification by a (tls) server
- Server
Auth - The kind of server auth to be used.
- Server
Cert Issuer Kind - A type of
ServerAuthwhich can be used to generate server certs on the fly using the given issuer
Traits§
- Dynamic
Cert Issuer - Trait that needs to be implemented by cert issuers to support dynamically issueing (external) certs based on client_hello input.
Functions§
- peek_
client_ hello_ from_ input - Functional API to try to peek TLS:CH from an existing I/O input, returning the stream as-is with the read data prefixed from memory.
Type Aliases§
- SniPrefixed
Io PrefixedIoalias used bySniRouter.- TlsClient
Hello Prefixed Io PrefixedIoalias used byPeekTlsClientHelloService.- TlsPrefixed
Io PrefixedIoalias used byTlsPeekRouter.