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

Something that resolves do different cert chains/keys based on client-supplied server name (via SNI).

Implementations

Create a new and empty (ie, knows no certificates) resolver.

Add a new sign::CertifiedKey to be used for the given SNI name.

This function fails if name is not a valid DNS name, or if it’s not valid for the supplied certificate, or if the certificate chain is syntactically faulty.

Trait Implementations

Choose a certificate chain and matching key given simplified ClientHello information. Read more

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.