1gnutls_psk_set_params_function(3) gnutls gnutls_psk_set_params_function(3)
2
3
4
6 gnutls_psk_set_params_function - This function will set the DH or RSA
7 parameters callback
8
10 #include <gnutls/gnutls.h>
11
12 void gnutls_psk_set_params_function(gnutls_psk_server_credentials_t
13 res, gnutls_params_function * func);
14
16 gnutls_psk_server_credentials_t res
17 is a gnutls_psk_server_credentials_t structure
18
19 gnutls_params_function * func
20 is the function to be called
21
23 This function will set a callback in order for the server to get the
24 diffie hellman or RSA parameters for psk authentication. The callback
25 should return zero on success.
26
28 Report bugs to <bug-gnutls@gnu.org>.
29
31 Copyright © 2006 Free Software Foundation.
32 Permission is granted to make and distribute verbatim copies of this
33 manual provided the copyright notice and this permission notice are
34 preserved on all copies.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the info and gnutls programs are properly installed at your site,
39 the command
40
41 info gnutls
42
43 should give you access to the complete manual.
44
45
46
47gnutls 1.6.3 gnutls_psk_set_params_function(3)