Module 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 MtlsConfig and the TLS guide. See Certificate for a request guard that validates, verifies, and retrieves client certificates.

Modules§

bigint
Signed and unsigned big integer types re-exported from num_bigint.
oid
Lower-level OID types re-exported from oid_registry and der-parser.
x509
Lower-level X.509 types re-exported from x509_parser.

Structs§

Certificate
A request guard for validated, verified client certificates.
CertificateDer
A DER-encoded X.509 certificate; as specified in RFC 5280
MtlsConfig
Mutual TLS configuration.
Name
An X.509 Distinguished Name (DN) found in a Certificate.

Enums§

Error
An error returned by the Certificate guard.

Type Aliases§

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