Expand description
This module contains all the rustls specific pingora integration for things like loading certificates and private keys
Modules§
- version
- All defined protocol versions appear in this module.
Structs§
- Accept
- Future returned from
TlsAcceptor::accept
which will resolve once the accept handshake has finished. - Certificate
Der - A DER-encoded X.509 certificate; as specified in RFC 5280
- Client
Config - Common configuration for (typically) all connections made by a program.
- Client
TlsStream - A wrapper around an underlying raw stream which implements the TLS or SSL protocol.
- Connect
- Future returned from
TlsConnector::connect
which will resolve once the connection handshake has finished. - Ellipses
- NoDebug
- Wraps a type
T
and provides a Debug impl that does not rely onT
being Debug. - Root
Cert Store - A container for root certificates able to provide a root-of-trust for connection authentication.
- Server
Config - Common configuration for a set of server sessions.
- Server
TlsStream - A wrapper around an underlying raw stream which implements the TLS or SSL protocol.
- Stream
- This type implements
io::Read
andio::Write
, encapsulating a ConnectionC
and an underlying transportT
, such as a socket. - TlsAcceptor
- A wrapper around a
rustls::ServerConfig
, providing an asyncaccept
method. - TlsConnector
- A wrapper around a
rustls::ClientConfig
, providing an asyncconnect
method. - With
Type Info
Enums§
- Private
KeyDer - A DER-encoded X.509 private key, in one of several formats
- Server
Name - Encodes ways a client can know the expected name of the server.
- TlsStream
- Unified TLS stream type
Functions§
- hash_
certificate - load_
ca_ file_ into_ store - Load the certificates from the given pem file path into the given certificate store
- load_
certs_ and_ key_ files - Load the certificates and private key files
- load_
native_ certs - Load root certificates found in the platform’s native certificate store.
- load_
pem_ file_ ca - Load the certificate
- load_
pem_ file_ private_ key - load_
platform_ certs_ incl_ env_ into_ store - Attempt to load the native cas into the given root-certificate store