Expand description
Items for use in a client.
Modules§
- danger
- Dangerous configuration that should be audited and used with extreme care.
Structs§
- Client
Config - Common configuration for (typically) all connections made by a program.
- Client
Connection - This represents a single TLS client connection.
- Client
Connection Data - State associated with a client connection.
- Client
Session Memory Cache - An implementer of
ClientSessionStore
that stores everything in memory. - Resumption
- Configuration for how/when a client is allowed to resume a previous session.
- Server
Cert Verifier Builder - A builder for configuring a
webpki
server certificate verifier. - Tls12
Client Session Value - Tls13
Client Session Value - Wants
Client Cert - A config builder state where the caller needs to supply whether and how to provide a client certificate.
- WebPki
Server Verifier - Default
ServerCertVerifier
, see the trait impl for more information. - Write
Early Data - Stub that implements io::Write and dispatches to
write_early_data
.
Enums§
- Tls12
Resumption - What mechanisms to support for resuming a TLS 1.2 session.
- Verifier
Builder Error - An error that can occur when building a certificate verifier.
Traits§
- Client
Session Store - A trait for the ability to store client session data, so that sessions can be resumed in future connections.
- Resolves
Client Cert - A trait for the ability to choose a certificate chain and private key for the purposes of client authentication.
Functions§
- verify_
server_ cert_ signed_ by_ trust_ anchor - 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_
server_ name - 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