Module rustls::client[][src]

Expand description

Items for use in a client.

Structs

Policy for enforcing Certificate Transparency.

Common configuration for (typically) all connections made by a program.

This represents a single TLS client connection.

State associated with a client connection.

An implementer of StoresClientSessions that stores everything in memory. It enforces a limit on the number of entries to bound memory usage.

Accessor for dangerous configuration options.

Marker types. These are used to bind the fact some verification (certificate chain or handshake signature) has taken place into protocol states. We use this to have the compiler check that there are no ‘goto fail’-style elisions of important checks before we reach the traffic stage.

The provided input could not be parsed because it is not a syntactically-valid DNS Name.

An implementer of StoresClientSessions which does nothing.

Zero-sized marker type representing verification of a server cert chain.

A config builder state where the caller needs to supply whether and how to provide a client certificate.

A config builder state where the caller needs to supply a certificate transparency policy or client certificate resolver.

Default ServerCertVerifier, see the trait impl for more information.

Stub that implements io::Write and dispatches to write_early_data.

Enums

Encodes ways a client can know the expected name of the server.

Traits

Methods specific to QUIC client sessions

A trait for the ability to choose a certificate chain and private key for the purposes of client authentication.

Something that can verify a server certificate chain, and verify signatures made by certificates.

A trait for the ability to store client session data. The keys and values are opaque.