Set optional validity times in the certTemplate of a CRMF CertReqMsg.

Synopsis

Declared in <openssl/crmf.h>

int
OSSL_CRMF_MSG_set0_validity(
    OSSL_CRMF_MSG* crm,
    ASN1_TIME* notBefore,
    ASN1_TIME* notAfter);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

crm

CertReqMsg to update.

notBefore

Optional notBefore time; ownership transfers when non‐NULL.

notAfter

Optional notAfter time; ownership transfers when non‐NULL.

Created with MrDocs