Expand description
Items for use in a client.
Modules§
- Dangerous configuration that should be audited and used with extreme care.
Structs§
- 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
ClientSessionStore
that stores everything in memory. - Configuration for how/when a client is allowed to resume a previous session.
- A builder for configuring a
webpki
server certificate verifier. - A config builder state where the caller needs to supply whether and how to provide a client certificate.
- Default
ServerCertVerifier
, see the trait impl for more information. - Stub that implements io::Write and dispatches to
write_early_data
.
Enums§
- What mechanisms to support for resuming a TLS 1.2 session.
- An error that can occur when building a certificate verifier.
Traits§
- A trait for the ability to store client session data, so that sessions can be resumed in future connections.
- A trait for the ability to choose a certificate chain and private key for the purposes of client authentication.
Functions§
- Verify that the end-entity certificate
end_entity
is a valid server cert and chains to at least one of the trust anchors in theroots
RootCertStore. - Verify that the
end_entity
has a name or alternative name matching theserver_name
note: this only verifies the name and should be used in conjuction with more verification like verify_server_cert_signed_by_trust_anchor