pub fn certificate(
        &mut self,
        cert_chain: CertificateChain,
        key: PrivateKey,
    ) -> Result<&mut Self, TLSError> {
        self.config.certificate(cert_chain, key)?;
        Ok(self)
    }
/// 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> {
        self.config.certificate(cert_chain, key)?;
        Ok(self)
    }
pub fn certificate ( & mut self , cert_chain : CertificateChain , key : PrivateKey , ) -> Result < & mut Self , TLSError > { self . config . certificate ( cert_chain , key ) ? ; 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