Expand description
This module contains all the rustls specific pingora integration for things like loading certificates and private keys
Modules§
- All defined protocol versions appear in this module.
Structs§
- Future returned from
TlsAcceptor::accept
which will resolve once the accept handshake has finished. - A DER-encoded X.509 certificate; as specified in RFC 5280
- Common configuration for (typically) all connections made by a program.
- A wrapper around an underlying raw stream which implements the TLS or SSL protocol.
- Future returned from
TlsConnector::connect
which will resolve once the connection handshake has finished. - A container for root certificates able to provide a root-of-trust for connection authentication.
- Common configuration for a set of server sessions.
- A wrapper around an underlying raw stream which implements the TLS or SSL protocol.
- This type implements
io::Read
andio::Write
, encapsulating a ConnectionC
and an underlying transportT
, such as a socket. - A wrapper around a
rustls::ServerConfig
, providing an asyncaccept
method. - A wrapper around a
rustls::ClientConfig
, providing an asyncconnect
method.
Enums§
- A DER-encoded X.509 private key, in one of several formats
- Encodes ways a client can know the expected name of the server.
- Unified TLS stream type
Functions§
- Load the certificates from the given pem file path into the given certificate store
- Load the certificates and private key files
- Load root certificates found in the platform’s native certificate store.
- Load the certificate
- Attempt to load the native cas into the given root-certificate store