O2I_SCT_LIST(3ossl)
π O2I_SCT_LIST π
okay bestie, welcome to O2I_SCT_LIST(3ossl) β the little corner of OpenSSL where we turn Signed Certificate Timestamp lists into TLS wire format and back again π¦
β¨ NAME β¨
o2i_SCT_LIST, i2o_SCT_LIST, o2i_SCT, i2o_SCT β decode and encode Signed Certificate Timestamp lists in TLS wire format. that's the whole job. she's niche but she's important π
πΈ SYNOPSIS πΈ
#include <openssl/ct.h>
STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
size_t len);
int i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp);
SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len);
int i2o_SCT(const SCT *sct, unsigned char **out);
π DESCRIPTION π
so. the SCT_LIST and SCT functions are literally the cousins of the i2d and d2i family of functions, except they convert to and from TLS wire format, as described in RFC 6962. that's the tea β
if you wanna know how the parameters are treated and what the return values mean, go read d2i_SCT_LIST(3) β it's giving "the same rules, different format", iykyk π
π₯ RETURN VALUES π₯
all of these functions have return values consistent with those stated for d2i_SCT_LIST(3) and i2d_SCT_LIST(3). no surprises, no cap π€
π SEE ALSO π
π HISTORY π
these functions were added in OpenSSL 1.1.0. glow-up era β¨
π COPYRIGHT π
Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
fr fr bestie, read the license before you go shipping this anywhere π«Ά
and that's the whole page!! this one's from the OpenSSL 3.5.9 era, dated 2026-09-29, and it ate π β¨ go forth and decode your SCT lists, main character ππ
π¦ where this page comes from
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms