[#OSSL_CRMF_CERTTEMPLATE_fill] = OSSL_CRMF_CERTTEMPLATE_fill :mrdocs: Populate selected fields of a CRMF CertTemplate. == Synopsis Declared in `<openssl/crmf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CRMF_CERTTEMPLATE_fill( xref:OSSL_CRMF_CERTTEMPLATE.adoc[OSSL_CRMF_CERTTEMPLATE]* tmpl, xref:EVP_PKEY.adoc[EVP_PKEY]* pubkey, xref:X509_NAME.adoc[X509_NAME] const* subject, xref:X509_NAME.adoc[X509_NAME] const* issuer, xref:ASN1_INTEGER.adoc[ASN1_INTEGER] const* serial); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *tmpl* | CertTemplate to update. | *pubkey* | Optional public key; reference count is incremented when non‐NULL. | *subject* | Optional subject name to copy. | *issuer* | Optional issuer name to copy. | *serial* | Optional serial number to copy. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#