/// Set the certificate chain that will be presented to clients.
Set the certificate chain that will be presented to clients.
Set the certificate chain that will be presented to clients .
pub fn certificate(
        &mut self,
        cert_chain: CertificateChain,
        key: PrivateKey,
    ) -> Result<&mut Self, TLSError> {
        Arc::make_mut(&mut self.config.crypto).set_single_cert(cert_chain.certs, key.inner)?;
        Ok(self)
    }
pub fn certificate ( & mut self , cert_chain : CertificateChain , key : PrivateKey , ) -> Result < & mut Self , TLSError > { Arc :: make_mut ( & mut self . config . crypto ) . set_single_cert ( cert_chain . certs , key . inner ) ? ; Ok ( self ) }
Set the certificate chain that will be presented to clients.
Set the certificate chain that will be presented to clients .
&mut self
cert_chain
CertificateChain
key
PrivateKey