]>
Commit | Line | Data |
---|---|---|
56f3f714 RP |
1 | =pod |
2 | ||
3 | =head1 NAME | |
4 | ||
76bfd2cc | 5 | o2i_SCT_LIST, i2o_SCT_LIST, o2i_SCT, i2o_SCT - |
56f3f714 RP |
6 | decode and encode Signed Certificate Timestamp lists in TLS wire format |
7 | ||
8 | =head1 SYNOPSIS | |
9 | ||
10 | #include <openssl/ct.h> | |
11 | ||
e9b77246 BB |
12 | STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp, |
13 | size_t len); | |
56f3f714 RP |
14 | int i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp); |
15 | SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len); | |
16 | int i2o_SCT(const SCT *sct, unsigned char **out); | |
56f3f714 RP |
17 | |
18 | =head1 DESCRIPTION | |
19 | ||
0e74d7ca RP |
20 | The SCT_LIST and SCT functions are very similar to the i2d and d2i family of |
21 | functions, except that they convert to and from TLS wire format, as described in | |
22 | RFC 6962. See L<d2i_SCT_LIST> for more information about how the parameters are | |
23 | treated and the return values. | |
56f3f714 | 24 | |
56f3f714 RP |
25 | =head1 RETURN VALUES |
26 | ||
cfd20f64 | 27 | All of the functions have return values consistent with those stated for |
76bfd2cc | 28 | L<d2i_SCT_LIST> and L<i2d_SCT_LIST>. |
56f3f714 RP |
29 | |
30 | =head1 SEE ALSO | |
31 | ||
b97fdb57 | 32 | L<ct(7)>, |
cfd20f64 RP |
33 | L<d2i_SCT_LIST(3)>, |
34 | L<i2d_SCT_LIST(3)> | |
56f3f714 | 35 | |
32fa3da8 RP |
36 | =head1 HISTORY |
37 | ||
38 | These functions were added in OpenSSL 1.1.0. | |
39 | ||
56f3f714 RP |
40 | =head1 COPYRIGHT |
41 | ||
42 | Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. | |
43 | ||
44 | Licensed under the OpenSSL license (the "License"). You may not use | |
45 | this file except in compliance with the License. You can obtain a copy | |
46 | in the file LICENSE in the source distribution or at | |
47 | L<https://www.openssl.org/source/license.html>. | |
48 | ||
6c3e9a71 | 49 | =cut |