pub struct AllowAnyAuthenticatedClient { /* private fields */ }
Expand description

A ClientCertVerifier that will ensure that every client provides a trusted certificate, without any name checking. Optionally, client certificates will have their revocation status checked using the DER encoded CRLs provided.

Implementations

Construct a new AllowAnyAuthenticatedClient.

roots is the list of trust anchors to use for certificate validation.

Update the verifier to validate client certificates against the provided DER format unparsed certificate revocation lists (CRLs).

Wrap this verifier in an Arc and coerce it to dyn ClientCertVerifier

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.