Skip to main content

Module tls

Module tls 

Source
Expand description

TLS support for ntex ecosystem.

Modules§

openssl
TLS services and I/O filters backed by OpenSSL.
rustls
TLS services and filters backed by rustls.
x509
X.509 certificate handling: parsing, thumbprints, trust verification and identity loading.

Structs§

PeerCertChainDer
The certificates sent by the peer in DER encoding, the end-entity certificate first.
PeerCertDer
The peer’s end-entity certificate in DER encoding.
PskIdentity
The pre-shared-key identity reported by OpenSSL.
Servername
The DNS server name carried in the TLS SNI extension.
TlsCipher
The negotiated cipher suite.
TlsConfig
Handshake timeout shared by TLS acceptor and connector services.

Enums§

TlsError
Distinguishes a TLS failure from an application service failure.
TlsVersion
The negotiated TLS protocol version.

Functions§

max_concurrent_ssl_accept
Sets the per-worker soft limit on concurrent TLS handshakes.