SSL_SESSION_print.pod 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. =pod
  2. =head1 NAME
  3. SSL_SESSION_print,
  4. SSL_SESSION_print_fp,
  5. SSL_SESSION_print_keylog
  6. - printf information about a session
  7. =head1 SYNOPSIS
  8. #include <openssl/ssl.h>
  9. int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
  10. int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
  11. int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x);
  12. =head1 DESCRIPTION
  13. SSL_SESSION_print() prints summary information about the session provided in
  14. B<ses> to the BIO B<fp>.
  15. SSL_SESSION_print_fp() does the same as SSL_SESSION_print() except it prints it
  16. to the FILE B<fp>.
  17. SSL_SESSION_print_keylog() prints session information to the provided BIO <bp>
  18. in NSS keylog format.
  19. =head1 RETURN VALUES
  20. SSL_SESSION_print(), SSL_SESSION_print_fp() and SSL_SESSION_print_keylog return
  21. 1 on success or 0 on error.
  22. =head1 SEE ALSO
  23. L<ssl(7)>
  24. =head1 COPYRIGHT
  25. Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
  26. Licensed under the Apache License 2.0 (the "License"). You may not use
  27. this file except in compliance with the License. You can obtain a copy
  28. in the file LICENSE in the source distribution or at
  29. L<https://www.openssl.org/source/license.html>.
  30. =cut