i2d_of_void

Function-pointer type for a type-erased ASN.1 DER encoder (i2d_*).

Synopsis

Declared in <openssl/asn1.h>

typedef int i2d_of_void(void const*, unsigned char**);

Return Value

Number of bytes encoded, or a negative value on error.

Parameters

NameDescription
aObject to encode.
outDestination pointer updated like a standard i2d encoder, or NULL to measure length.