o2i_SCT_LIST.pod 1.3 KB

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