Skip to main content

Crate mz_tls_util

Crate mz_tls_util 

Source
Expand description

A tiny utility library for making TLS connectors.

Structs§

MakeRustlsConnect
A MakeTlsConnect backed by rustls.
Pkcs12Archive
RustlsConnect
A TlsConnect for one server, created by MakeRustlsConnect.
RustlsTlsStream
A rustls client stream that implements TlsStream.

Enums§

TlsError
An error representing tls failures.

Functions§

make_tls
Creates a TLS connector for the given Config.
make_tls_rustls
Creates a rustls TLS connector for the given Config, verifying the server as make_tls does for each sslmode.
pkcs12der_from_pem
Constructs an identity from a PEM-formatted key and certificate using OpenSSL.