i2d_SCT_LIST

Serialize a stack of SCTs to DER and return the encoded length.

Synopsis

Declared in <openssl/ct.h>

int
i2d_SCT_LIST(
    stack_st_SCT const* a,
    unsigned char** pp);

Return Value

Number of bytes written (or that would be written) on success, or a negative value on error.

Parameters

NameDescription
aNon-NULL stack of SCTs to encode.
ppOptional output pointer: NULL to measure only; points to NULL to allocate; otherwise a buffer to write into.