Struct rustls::server::AllowAnyAuthenticatedClient
source · pub struct AllowAnyAuthenticatedClient { /* private fields */ }
Expand description
A ClientCertVerifier
that will ensure that every client provides a trusted
certificate, without any name checking.
Implementations§
source§impl AllowAnyAuthenticatedClient
impl AllowAnyAuthenticatedClient
sourcepub fn new(roots: RootCertStore) -> Arc<dyn ClientCertVerifier>
pub fn new(roots: RootCertStore) -> Arc<dyn ClientCertVerifier>
Construct a new AllowAnyAuthenticatedClient
.
roots
is the list of trust anchors to use for certificate validation.