doc/functions/gnutls_session_ticket_key_generate
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {int} {gnutls_session_ticket_key_generate} (gnutls_datum_t * @var{key}) |
| 6 | @var{key}: is a pointer to a @code{gnutls_datum_t} which will contain a newly |
| 7 | created key. |
| 8 | |
| 9 | Generate a random key to encrypt security parameters within |
| 10 | SessionTicket. |
| 11 | |
| 12 | @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, or an |
| 13 | error code. |
| 14 | |
| 15 | @strong{Since:} 2.10.0 |
| 16 | @end deftypefun |