Module rocket::mtls

source · []
Available on crate feature mtls only.
Expand description

Support for mutual TLS client certificates.

For details on how to configure mutual TLS, see MutualTls and the TLS guide. See Certificate for a request guard that validated, verifies, and retrieves client certificates.


Signed and unsigned big integer types re-exported from num_bigint.

Lower-level OID types re-exported from oid_registry and der-parser.

Lower-level X.509 types re-exported from x509_parser.


A request guard for validated, verified client certificates.

An X.509 Distinguished Name (DN) found in a Certificate.


An error returned by the Certificate request guard.

Type Definitions

A type alias for Result with the error type set to Error.