Provide getters for min/max proto version
[openssl.git] / doc / man3 / SSL_SESSION_is_resumable.pod
1 =pod
2
3 =head1 NAME
4
5 SSL_SESSION_is_resumable
6 - determine whether an SSL_SESSION object can be used for resumption
7
8 =head1 SYNOPSIS
9
10  #include <openssl/ssl.h>
11
12  int SSL_SESSION_is_resumable(const SSL_SESSION *s);
13
14 =head1 DESCRIPTION
15
16 SSL_SESSION_is_resumable() determines whether an SSL_SESSION object can be used
17 to resume a session or not. Returns 1 if it can or 0 if not. Note that
18 attempting to resume with a non-resumable session will result in a full
19 handshake.
20
21 =head1 SEE ALSO
22
23 L<ssl(7)>,
24 L<SSL_get_session(3)>,
25 L<SSL_CTX_sess_set_new_cb(3)>
26
27 =head1 HISTORY
28
29 SSL_SESSION_is_resumable() was first added to OpenSSL 1.1.1
30
31 =head1 COPYRIGHT
32
33 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
34
35 Licensed under the OpenSSL license (the "License").  You may not use
36 this file except in compliance with the License.  You can obtain a copy
37 in the file LICENSE in the source distribution or at
38 L<https://www.openssl.org/source/license.html>.
39
40 =cut