Encode an X.509v3 extension value to DER.
Declared in <openssl/x509v3.h>
typedef int(* X509V3_EXT_I2D)(void const*, unsigned char**);
Number of bytes encoded, or a negative value on error.
| Name | Description |
|---|---|
| ext | Extension-specific value to encode. |
| out | Destination pointer updated like a standard i2d encoder, or NULL to measure length. |