xref: /freebsd/crypto/openssl/doc/man3/o2i_SCT_LIST.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk Kimo2i_SCT_LIST, i2o_SCT_LIST, o2i_SCT, i2o_SCT -
6e71b7053SJung-uk Kimdecode and encode Signed Certificate Timestamp lists in TLS wire format
7e71b7053SJung-uk Kim
8e71b7053SJung-uk Kim=head1 SYNOPSIS
9e71b7053SJung-uk Kim
10e71b7053SJung-uk Kim #include <openssl/ct.h>
11e71b7053SJung-uk Kim
12e71b7053SJung-uk Kim STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
13e71b7053SJung-uk Kim                             size_t len);
14e71b7053SJung-uk Kim int i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp);
15e71b7053SJung-uk Kim SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len);
16e71b7053SJung-uk Kim int i2o_SCT(const SCT *sct, unsigned char **out);
17e71b7053SJung-uk Kim
18e71b7053SJung-uk Kim=head1 DESCRIPTION
19e71b7053SJung-uk Kim
20e71b7053SJung-uk KimThe SCT_LIST and SCT functions are very similar to the i2d and d2i family of
21e71b7053SJung-uk Kimfunctions, except that they convert to and from TLS wire format, as described in
22*b077aed3SPierre ProncheryRFC 6962. See L<d2i_SCT_LIST(3)> for more information about how the parameters are
23e71b7053SJung-uk Kimtreated and the return values.
24e71b7053SJung-uk Kim
25e71b7053SJung-uk Kim=head1 RETURN VALUES
26e71b7053SJung-uk Kim
27e71b7053SJung-uk KimAll of the functions have return values consistent with those stated for
28*b077aed3SPierre ProncheryL<d2i_SCT_LIST(3)> and L<i2d_SCT_LIST(3)>.
29e71b7053SJung-uk Kim
30e71b7053SJung-uk Kim=head1 SEE ALSO
31e71b7053SJung-uk Kim
32e71b7053SJung-uk KimL<ct(7)>,
33e71b7053SJung-uk KimL<d2i_SCT_LIST(3)>,
34e71b7053SJung-uk KimL<i2d_SCT_LIST(3)>
35e71b7053SJung-uk Kim
36e71b7053SJung-uk Kim=head1 HISTORY
37e71b7053SJung-uk Kim
38e71b7053SJung-uk KimThese functions were added in OpenSSL 1.1.0.
39e71b7053SJung-uk Kim
40e71b7053SJung-uk Kim=head1 COPYRIGHT
41e71b7053SJung-uk Kim
42e71b7053SJung-uk KimCopyright 2016 The OpenSSL Project Authors. All Rights Reserved.
43e71b7053SJung-uk Kim
44*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
45e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
46e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
47e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
48e71b7053SJung-uk Kim
49e71b7053SJung-uk Kim=cut
50