Module tls_utils

Source

Modules§

pemfile

Structs§

ClientConfig
Common configuration for (typically) all connections made by a program.
ClientConnection
This represents a single TLS client connection.
ConnectionCommon
Interface shared by client and server connections.
InvalidDnsNameError
The provided input could not be parsed because it is not a syntactically-valid DNS Name.
NoClientAuth
Turns off client authentication.
PlatformVerifier
A TLS certificate verifier that uses the system’s root store and WebPKI.
RootCertStore
A container for root certificates able to provide a root-of-trust for connection authentication.
ServerConfig
Common configuration for a set of server sessions.
ServerConnection
This represents a single TLS server connection.

Enums§

Error
rustls reports protocol errors using this type.
ServerName
Encodes ways a client can know the expected name of the server.

Statics§

TLS13
TLS1.3

Traits§

CloneKeyShim

Functions§

client_config_builder
client_config_builder_with_protocol_versions
server_config_builder
server_config_builder_with_protocol_versions

Type Aliases§

Certificate
PrivateKey