Set optional validity times in the certTemplate of a CRMF CertReqMsg.
Declared in <openssl/crmf.h>
int
OSSL_CRMF_MSG_set0_validity(
OSSL_CRMF_MSG* crm,
ASN1_TIME* notBefore,
ASN1_TIME* notAfter);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| crm | CertReqMsg to update. |
| notBefore | Optional notBefore time; ownership transfers when non-NULL. |
| notAfter | Optional notAfter time; ownership transfers when non-NULL. |