d2i_of_void

Function-pointer type for a type-erased ASN.1 DER decoder (d2i_*).

Synopsis

Declared in <openssl/asn1.h>

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

Return Value

Decoded object pointer, or NULL on error.

Parameters

NameDescription
aOptional destination pointer updated to the decoded object, or NULL.
inAddress of a pointer to the DER input; advanced past the decoded value.
lenNumber of bytes available at *in.