Skip to main content

Crate mbedtls_rs

Crate mbedtls_rs 

Source

Modules§

blocking
io
Re-export of the embedded-io-async crate so that users don’t have to explicitly depend on it to use e.g. write_all or read_exact.
sys
Re-export of the mbedtls-rs-sys crate so that users do not have to explicitly depend on it if they want to use the raw MbedTLS bindings.

Structs§

Certificate
A parsed X509 certificate or certificate chain.
ClientSessionConfig
Configuration for a TLS session
Credentials
The credentials (certificate and private key) used for client or server authentication
PrivateKey
A parsed private key
SavedSession
A reusable TLS session state captured from a connected session.
ServerSessionConfig
Session
An async TLS session over a stream represented by embedded-io-async’s Read and Write traits.
SessionRead
A type representing the read half of a TLS session when the session has been split into read and write halves.
SessionWrite
A type representing the write half of a TLS session when the session has been split into read and write halves.
Tls
A TLS instance
TlsReference
A reference to (the) active Tls instance

Enums§

AuthMode
Certificate verification mode used for a session
SessionConfig
Configuration for a TLS session
SessionError
Error type for session operations
TlsError
An error returned when creating a Tls instance
TlsVersion
The minimum TLS version that will be supported by a particular Session instance
X509
Holds a reference to a PEM or DER-encoded X509 certificate or private key.

Traits§

Split
A trait for splitting a stream into read and write halves.