1gnutls_session_get_master_secret(3) gnutls gnutls_session_get_master_secret(3)
2
3
4

NAME

6       gnutls_session_get_master_secret  -  get  the  session's  master secret
7       value
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       const  void  *  gnutls_session_get_master_secret(gnutls_session_t  ses‐
13       sion);
14

ARGUMENTS

16       gnutls_session_t session
17                   is a gnutls_session_t structure.
18

DESCRIPTION

20       Return  a  pointer  to  the  48-byte master secret in the session.  The
21       pointer must not be modified or deallocated.
22
23       If a master secret value has not yet been established, the output  will
24       be garbage; in particular, a NULL return value should not be expected.
25
26       Consider  using  gnutls_prf()  rather than extracting the master secret
27       and use it to derive further data.
28

RETURN VALUE

30       pointer to master secret.
31

REPORTING BUGS

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

SEE ALSO

42       The full documentation for gnutls is maintained as  a  Texinfo  manual.
43       If  the  info  and gnutls programs are properly installed at your site,
44       the command
45
46              info gnutls
47
48       should give you access to the complete manual.
49
50
51
52gnutls                               1.6.3 gnutls_session_get_master_secret(3)
Impressum