2016-04-28 06:37:24 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
2016-08-23 16:39:53 +00:00
|
|
|
o2i_SCT_LIST, i2o_SCT_LIST, o2i_SCT, i2o_SCT -
|
2016-04-28 06:37:24 +00:00
|
|
|
decode and encode Signed Certificate Timestamp lists in TLS wire format
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/ct.h>
|
|
|
|
|
2017-01-20 18:58:49 +00:00
|
|
|
STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
|
|
|
|
size_t len);
|
2016-04-28 06:37:24 +00: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 15:17:09 +00: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 06:37:24 +00:00
|
|
|
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
|
2016-08-24 09:11:15 +00:00
|
|
|
All of the functions have return values consistent with those stated for
|
2016-08-23 16:39:53 +00:00
|
|
|
L<d2i_SCT_LIST> and L<i2d_SCT_LIST>.
|
2016-04-28 06:37:24 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2016-11-11 08:33:09 +00:00
|
|
|
L<ct(7)>,
|
2016-08-24 09:11:15 +00:00
|
|
|
L<d2i_SCT_LIST(3)>,
|
|
|
|
L<i2d_SCT_LIST(3)>
|
2016-04-28 06:37:24 +00:00
|
|
|
|
2016-08-04 15:42:42 +00:00
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
These functions were added in OpenSSL 1.1.0.
|
|
|
|
|
2016-04-28 06:37:24 +00:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
|
2018-12-06 13:04:44 +00:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-04-28 06:37:24 +00: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 10:29:23 +00:00
|
|
|
=cut
|