i2v_GENERAL_NAMES

Convert a GeneralNames set into a configuration name/value stack.

Synopsis

Declared in <openssl/x509v3.h>

stack_st_CONF_VALUE*
i2v_GENERAL_NAMES(
    X509V3_EXT_METHOD* method,
    GENERAL_NAMES* gen,
    stack_st_CONF_VALUE* extlist);

Return Value

The resulting CONF_VALUE stack, or NULL on error.

Parameters

NameDescription
methodExtension method (may be NULL).
genGeneralNames to convert.
extlistExisting CONF_VALUE stack to append to, or NULL to allocate a new one.