[#OSSL_CRMF_MSG_set0_validity] = OSSL_CRMF_MSG_set0_validity :mrdocs: Set optional validity times in the certTemplate of a CRMF CertReqMsg. == Synopsis Declared in `<openssl/crmf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CRMF_MSG_set0_validity( xref:OSSL_CRMF_MSG.adoc[OSSL_CRMF_MSG]* crm, xref:ASN1_TIME.adoc[ASN1_TIME]* notBefore, xref:ASN1_TIME.adoc[ASN1_TIME]* notAfter); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *crm* | CertReqMsg to update. | *notBefore* | Optional notBefore time; ownership transfers when non‐NULL. | *notAfter* | Optional notAfter time; ownership transfers when non‐NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#