Struct rustls::AllowAnyAuthenticatedClient [−][src]
pub struct AllowAnyAuthenticatedClient { /* fields omitted */ }
A ClientCertVerifier
that will ensure that every client provides a trusted
certificate, without any name checking.
Methods
impl AllowAnyAuthenticatedClient
[src]
impl AllowAnyAuthenticatedClient
pub fn new(roots: RootCertStore) -> Arc<ClientCertVerifier>
[src]
pub fn new(roots: RootCertStore) -> Arc<ClientCertVerifier>
Construct a new AllowAnyAuthenticatedClient
.
roots
is the list of trust anchors to use for certificate validation.
Auto Trait Implementations
impl Send for AllowAnyAuthenticatedClient
impl Send for AllowAnyAuthenticatedClient
impl Sync for AllowAnyAuthenticatedClient
impl Sync for AllowAnyAuthenticatedClient