o2i_SCT_LIST(3ssl)

o2i_SCT_LIST3ssl

Decode and encode signed certificate timestamp lists in tls wire format

Usage

 #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);

Overview

The SCT_LIST and SCT functions are very similar to the i2d and d2i family of functions, except that they convert to and from TLS wire format, as described in RFC 6962. See d2i_SCT_LIST(3) for more information about how the parameters are treated and the return values.

Return values

All of the functions have return values consistent with those stated for d2i_SCT_LIST(3) and i2d_SCT_LIST(3).

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

History

These functions were added in OpenSSL 1.1.0.

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.