OSSL_CRMF_MSG_set0_extensions

Set X.509 extensions in the certTemplate of a CRMF CertReqMsg.

Synopsis

Declared in <openssl/crmf.h>

int
OSSL_CRMF_MSG_set0_extensions(
    OSSL_CRMF_MSG* crm,
    X509_EXTENSIONS* exts);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
crmCertReqMsg to update.
extsExtensions stack to install; any previous extensions are freed and ownership of exts is transferred.