Skip to main content

Module openssl

Module openssl 

Source
Expand description

TLS connector support through OpenSSL.

Structs§

PeerCert
The peer’s end-entity certificate as an owned OpenSSL reference.
PeerCertChain
The peer certificate chain with OpenSSL’s native chain semantics.
SslAcceptor
Upgrades existing I/O connections to server-side TLS using OpenSSL.
SslConnector
Opens a transport and upgrades it to client-side TLS using OpenSSL.
SslFilter
Encrypts and decrypts either side of an OpenSSL TLS connection.

Functions§

accept
Installs a TLS filter and completes a server handshake.
connect
Installs a TLS filter and completes a client handshake.
set_identity
Configures a fresh OpenSSL context with a portable identity and ordered intermediates.
use_global_allocator⚠
Routes OpenSSL memory allocations to the Rust global allocator.