X509V3_EXT_I2D

Encode an X.509v3 extension value to DER.

Synopsis

Declared in <openssl/x509v3.h>

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

Return Value

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

Parameters

NameDescription
extExtension-specific value to encode.
outDestination pointer updated like a standard i2d encoder, or NULL to measure length.