o2i_SCT_LIST.3ssl - Man Page

decode and encode Signed Certificate Timestamp lists in TLS wire format


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


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 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 and i2d_SCT_LIST.

See Also

ct(7), d2i_SCT_LIST(3), i2d_SCT_LIST(3)


These functions were added in OpenSSL 1.1.0.

Referenced By

The man pages i2o_SCT.3ssl(3), i2o_SCT_LIST.3ssl(3) and o2i_SCT.3ssl(3) are aliases of o2i_SCT_LIST.3ssl(3).

2022-07-21 1.1.1q OpenSSL