1gnutls_oprfi_enable_server(3)       gnutls       gnutls_oprfi_enable_server(3)
2
3
4

NAME

6       gnutls_oprfi_enable_server - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void        gnutls_oprfi_enable_server(gnutls_session_t        session,
12       gnutls_oprfi_callback_func cb, void * userdata);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       gnutls_oprfi_callback_func cb
19                   function pointer to Opaque PRF extension server callback.
20
21       void * userdata
22                   hook passed to callback function  for  passing  application
23                   state.
24

DESCRIPTION

26       Request  that  the server should attempt to accept the Opaque PRF Input
27       TLS extension.  If the client  requests  the  extension,  the  provided
28       callback cb will be invoked.  The callback must have the following pro‐
29       totype:
30
31       int  callback  (gnutls_session_t  session,   void   *userdata,   size_t
32       oprfi_len, const unsigned char *in_oprfi, unsigned char *out_oprfi);
33
34       The  callback can inspect the client-provided data in the input parame‐
35       ters, and specify its own opaque prf input data in the output variable.
36       The  function must return 0 on success, otherwise the handshake will be
37       aborted.
38

REPORTING BUGS

40       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
41       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
42       http://www.gnu.org/gethelp/
43
45       Copyright © 2008 Free Software Foundation.
46       Copying and distribution of this file, with  or  without  modification,
47       are  permitted  in  any  medium  without royalty provided the copyright
48       notice and this notice are preserved.
49

SEE ALSO

51       The full documentation for gnutls is maintained as  a  Texinfo  manual.
52       If  the  info  and gnutls programs are properly installed at your site,
53       the command
54
55              info gnutls
56
57       should give you access to the complete manual.
58
59
60
61gnutls                               2.8.6       gnutls_oprfi_enable_server(3)
Impressum