X509V3_EXT_REQ_add_conf

Add all extensions from an LHASH configuration section to a certificate request (legacy).

Synopsis

Declared in <openssl/x509v3.h>

int
X509V3_EXT_REQ_add_conf(
    lhash_st_CONF_VALUE* conf,
    X509V3_CTX* ctx,
    char const* section,
    X509_REQ* req);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
confLegacy LHASH_OF(CONF_VALUE) configuration database.
ctxExtension construction context.
sectionName of the configuration section listing extensions.
reqCertificate request that receives the extensions.