SSL_SESSION_is_resumable.pod 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. =pod
  2. =head1 NAME
  3. SSL_SESSION_is_resumable
  4. - determine whether an SSL_SESSION object can be used for resumption
  5. =head1 SYNOPSIS
  6. #include <openssl/ssl.h>
  7. int SSL_SESSION_is_resumable(const SSL_SESSION *s);
  8. =head1 DESCRIPTION
  9. SSL_SESSION_is_resumable() determines whether an SSL_SESSION object can be used
  10. to resume a session or not. Returns 1 if it can or 0 if not. Note that
  11. attempting to resume with a non-resumable session will result in a full
  12. handshake.
  13. =head1 RETURN VALUES
  14. SSL_SESSION_is_resumable() returns 1 if the session is resumable or 0 otherwise.
  15. =head1 SEE ALSO
  16. L<ssl(7)>,
  17. L<SSL_get_session(3)>,
  18. L<SSL_CTX_sess_set_new_cb(3)>
  19. =head1 HISTORY
  20. SSL_SESSION_is_resumable() was first added to OpenSSL 1.1.1
  21. =head1 COPYRIGHT
  22. Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
  23. Licensed under the Apache License 2.0 (the "License"). You may not use
  24. this file except in compliance with the License. You can obtain a copy
  25. in the file LICENSE in the source distribution or at
  26. L<https://www.openssl.org/source/license.html>.
  27. =cut