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

Synopsis

Declared in <openssl/ct.h>

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

Return Value

Byte count written (or that would be written) on success, or a negative value on error.

Parameters

Name

Description

a

Non‐NULL stack of SCTs to encode.

pp

Optional output pointer: NULL to measure only; *pp == NULL to allocate a buffer the caller must free; otherwise write into *pp.

Created with MrDocs