X509V3_EXT_D2I

Decode an X.509v3 extension value from DER.

Synopsis

Declared in <openssl/x509v3.h>

typedef void*(* X509V3_EXT_D2I)(void*, unsigned char const**, long);

Return Value

Extension-specific value, or NULL on error.

Parameters

NameDescription
extOptional existing extension value to reuse, or NULL to allocate.
inAddress of a pointer to the DER input; advanced past the decoded value.
lenNumber of bytes available at *in.