Function ot_certs::x509::generate_certificate
source · pub fn generate_certificate(tmpl: &Template) -> Result<Vec<u8>>
Expand description
Generate a X509 certificate from a template that specifies all variables. If the template does not specify the values of the signature, a signature with “zero” values will be generated.