Module tls

Module tls 

Source
Expand description

TLS specific configurations.

Re-exports§

pub use rustls;

Modules§

client
TLS configurations and utilities client-side.
error
TLS errors definitions module.
server
TLS configurations and utilities server-side.

Structs§

Certificate
Represents an X.509 certificate.
CertificateChain
A collection of Certificate.
HandshakeData
Represents data related to a TLS handshake process.
Identity
Represents an TLS identity consisting of a certificate chain and a private key.
PrivateKey
Represents a private key.
Sha256Digest
Represents a SHA-256 digest, which is a fixed-size array of 32 bytes.

Enums§

Sha256DigestFmt
Represents the formatting options for displaying a SHA-256 digest.

Constants§

WEBTRANSPORT_ALPN
Application Layer Protocol Negotiation for WebTransport connections.

Functions§

build_native_cert_store
Builds rustls::RootCertStore by using platform’s native certificate store.