Return the typed payload pointer stored in a GeneralName.

Synopsis

Declared in <openssl/x509v3.h>

void*
GENERAL_NAME_get0_value(
    GENERAL_NAME const* a,
    int* ptype);

Return Value

Internal value pointer for the current type (do not free), or NULL if unset.

Parameters

Name

Description

a

GeneralName to query.

ptype

Optional out‐parameter receiving the name form (GEN_*), or NULL to skip.

Created with MrDocs