1gnutls_session_get_id(3)            gnutls            gnutls_session_get_id(3)
2
3
4

NAME

6       gnutls_session_get_id - Returns session id.
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int  gnutls_session_get_id(gnutls_session_t session, void * session_id,
12       size_t * session_id_size);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       void * session_id
19                   is a pointer to space to hold the session id.
20
21       size_t * session_id_size
22                   is the session id's size, or it will be set  by  the  func‐
23                   tion.
24

DESCRIPTION

26       Returns  the  current session id. This can be used if you want to check
27       if the next session you tried to resume was actually resumed.  This  is
28       because resumed sessions have the same sessionID with the original ses‐
29       sion.
30
31       Session id is some data set by the server, that  identify  the  current
32       session.   In  TLS  1.0  and  SSL 3.0 session id is always less than 32
33       bytes.
34
35       Returns zero on success.
36

REPORTING BUGS

38       Report bugs to <bug-gnutls@gnu.org>.
39
41       Copyright © 2006 Free Software Foundation.
42       Permission is granted to make and distribute verbatim  copies  of  this
43       manual  provided  the  copyright  notice and this permission notice are
44       preserved on all copies.
45

SEE ALSO

47       The full documentation for gnutls is maintained as  a  Texinfo  manual.
48       If  the  info  and gnutls programs are properly installed at your site,
49       the command
50
51              info gnutls
52
53       should give you access to the complete manual.
54
55
56
57gnutls                               1.6.3            gnutls_session_get_id(3)
Impressum