i2o_SCT_LIST

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

NameDescription
aNon-NULL stack of SCTs to encode.
ppOptional output pointer: NULL to measure only; *pp == NULL to allocate a buffer the caller must free; otherwise write into *pp.