1gnutls_session_ticket_key_generate(3)gnutlsgnutls_session_ticket_key_generate(3)
2
3
4
6 gnutls_session_ticket_key_generate - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_session_ticket_key_generate(gnutls_datum_t * key);
12
14 gnutls_datum_t * key
15 is a pointer to a gnutls_datum_t which will contain a newly
16 created key.
17
19 Generate a random key to encrypt security parameters within Ses‐
20 sionTicket.
21
23 On success, GNUTLS_E_SUCCESS (0) is returned, or an error code.
24
26 2.10.0
27
29 Report bugs to <bugs@gnutls.org>.
30 Home page: https://www.gnutls.org
31
32
34 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
35 Copying and distribution of this file, with or without modification,
36 are permitted in any medium without royalty provided the copyright no‐
37 tice and this notice are preserved.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
42 visit
43
44 https://www.gnutls.org/manual/
45
46gnutls 3.8.2gnutls_session_ticket_key_generate(3)