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

Name

Description

a

Object to encode.

out

Destination pointer updated like a standard i2d encoder, or NULL to measure length.

Created with MrDocs