2016-04-28 14:37:24 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
2016-08-24 00:39:53 +08:00
|
|
|
o2i_SCT_LIST, i2o_SCT_LIST, o2i_SCT, i2o_SCT -
|
2016-04-28 14:37:24 +08:00
|
|
|
decode and encode Signed Certificate Timestamp lists in TLS wire format
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/ct.h>
|
|
|
|
|
2017-01-21 02:58:49 +08:00
|
|
|
STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
|
|
|
|
size_t len);
|
2016-04-28 14:37:24 +08:00
|
|
|
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);
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2016-08-23 23:17:09 +08:00
|
|
|
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 L<d2i_SCT_LIST> for more information about how the parameters are
|
|
|
|
treated and the return values.
|
2016-04-28 14:37:24 +08:00
|
|
|
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
|
2016-08-24 17:11:15 +08:00
|
|
|
All of the functions have return values consistent with those stated for
|
2016-08-24 00:39:53 +08:00
|
|
|
L<d2i_SCT_LIST> and L<i2d_SCT_LIST>.
|
2016-04-28 14:37:24 +08:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2016-11-11 16:33:09 +08:00
|
|
|
L<ct(7)>,
|
2016-08-24 17:11:15 +08:00
|
|
|
L<d2i_SCT_LIST(3)>,
|
|
|
|
L<i2d_SCT_LIST(3)>
|
2016-04-28 14:37:24 +08:00
|
|
|
|
2016-08-04 23:42:42 +08:00
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
These functions were added in OpenSSL 1.1.0.
|
|
|
|
|
2016-04-28 14:37:24 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
|
2018-12-06 21:04:44 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-04-28 14:37:24 +08:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
2016-08-04 18:29:23 +08:00
|
|
|
=cut
|