pub fn add_trusted_root_ca(&self, der: &Certificate) -> Option<Result<(), webpki::Error>> {
        match self.mode.write().deref_mut() {
            ClientCertVerifyMode::AllowAnyClient => None,
            ClientCertVerifyMode::MustVerifyClientCert(verifier) => Some(verifier.roots.add(der)),
        }
    }
/// Adds a trusted client certificate to the underlying `RootCertStore`
/// if currently serving only authenticated clients. Otherwise, no-op
/// and None returned.
///
/// This is possibly a mutating operation managed by interior mutability
/// (mutex).
Adds a trusted client certificate to the underlying `RootCertStore`
if currently serving only authenticated clients. Otherwise, no-op
and None returned.

This is possibly a mutating operation managed by interior mutability
(mutex).
Adds a trusted client certificate to the underlying ` RootCertStore ` if currently serving only authenticated clients . Otherwise no - op and None returned . This is possibly a mutating operation managed by interior mutability ( mutex ) .
pub fn add_trusted_root_ca(&self, der: &Certificate) -> Option<Result<(), webpki::Error>> {
        match self.mode.write().deref_mut() {
            ClientCertVerifyMode::AllowAnyClient => None,
            ClientCertVerifyMode::MustVerifyClientCert(verifier) => Some(verifier.roots.add(der)),
        }
    }
pub fn add_trusted_root_ca ( & self , der : & Certificate ) -> Option < Result < ( ) , webpki :: Error > > { match self . mode . write ( ) . deref_mut ( ) { ClientCertVerifyMode :: AllowAnyClient => None , ClientCertVerifyMode :: MustVerifyClientCert ( verifier ) => Some ( verifier . roots . add ( der ) ) , } }
Adds a trusted client certificate to the underlying `RootCertStore`
if currently serving only authenticated clients.
Adds a trusted client certificate to the underlying ` RootCertStore ` if currently serving only authenticated clients .
&self
der
&Certificate
&self
der
&Certificate