X509V3_EXT_add_conf

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

Synopsis

Declared in <openssl/x509v3.h>

int
X509V3_EXT_add_conf(
    lhash_st_CONF_VALUE* conf,
    X509V3_CTX* ctx,
    char const* section,
    X509* cert);

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.
certCertificate that receives the extensions.