pub fn client_auth_cert(&self) -> X509PublicKeyCert {
        if let Some((_, cert)) = &self.client_auth_data {
            return X509PublicKeyCert {
                certificate_der: cert.to_der().expect("failed to DER encode client_cert"),
            };
        }
        panic!("no certificate since client auth is disabled")
    }
/// Returns the certificate used for client authentication.
Returns the certificate used for client authentication.
Returns the certificate used for client authentication .
pub fn client_auth_cert(&self) -> X509PublicKeyCert {
        if let Some((_, cert)) = &self.client_auth_data {
            return X509PublicKeyCert {
                certificate_der: cert.to_der().expect("failed to DER encode client_cert"),
            };
        }
        panic!("no certificate since client auth is disabled")
    }
pub fn client_auth_cert ( & self ) -> X509PublicKeyCert { if let Some ( ( _ , cert ) ) = & self . client_auth_data { return X509PublicKeyCert { certificate_der : cert . to_der ( ) . expect ( " " ) , } ; } panic ! ( " " ) }
Returns the certificate used for client authentication.
Returns the certificate used for client authentication .
&self
&self