Function gen_cert_and_key

Source
pub fn gen_cert_and_key(
    name: &str,
) -> Result<(CertificateDer<'static>, Arc<PrivateKeyDer<'static>>), Error>