Crate rustls_mbedpki_provider

Source
Expand description

rustls-mbedpki-provider

rustls-mbedpki-provider is a pki provider for rustls based on mbedtls.

Re-exports§

pub use client_cert_verifier::MbedTlsClientCertVerifier;
pub use server_cert_verifier::MbedTlsServerCertVerifier;

Modules§

client_cert_verifier
module for implementation of ClientCertVerifier
server_cert_verifier
module for implementation of ServerCertVerifier

Structs§

CertActiveCheck
A config about whether to check certificate validity period
VerifyErrorWrapper
A wrapper on mbedtls::x509::VerifyError to impl std::error::Error for it.

Constants§

SUPPORTED_SIGNATURE_SCHEMES
All supported signature schemes

Functions§

rustls_cert_to_mbedtls_cert
Helper function to convert a CertificateDer to mbedtls::x509::Certificate