pub fn generate_certificate_from_tbs( tbs: Vec<u8>, signature: &Signature, ) -> Result<Vec<u8>>
Generate a X509 certificate from a pre-computed TBS and signature.