Function-pointer type for a type-erased ASN.1 DER encoder (i2d_*).
Declared in <openssl/asn1.h>
typedef int i2d_of_void(void const*, unsigned char**);
Number of bytes encoded, or a negative value on error.
| Name | Description |
|---|---|
| a | Object to encode. |
| out | Destination pointer updated like a standard i2d encoder, or NULL to measure length. |