~ubuntu-branches/ubuntu/trusty/gnutls26/trusty

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_oprfi_enable_server.3

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2
 
.TH "gnutls_oprfi_enable_server" 3 "2.10.5" "gnutls" "gnutls"
3
 
.SH NAME
4
 
gnutls_oprfi_enable_server \- API function
5
 
.SH SYNOPSIS
6
 
.B #include <gnutls/gnutls.h>
7
 
.sp
8
 
.BI "void gnutls_oprfi_enable_server(gnutls_session_t " session ", gnutls_oprfi_callback_func " cb ", void * " userdata ");"
9
 
.SH ARGUMENTS
10
 
.IP "gnutls_session_t session" 12
11
 
is a \fBgnutls_session_t\fP structure.
12
 
.IP "gnutls_oprfi_callback_func cb" 12
13
 
function pointer to Opaque PRF extension server callback.
14
 
.IP "void * userdata" 12
15
 
hook passed to callback function for passing application state.
16
 
.SH "DESCRIPTION"
17
 
Request that the server should attempt to accept the Opaque PRF
18
 
Input TLS extension.  If the client requests the extension, the
19
 
provided callback \fIcb\fP will be invoked.  The callback must have the
20
 
following prototype:
21
 
 
22
 
int callback (gnutls_session_t session, void *userdata,
23
 
size_t oprfi_len, const unsigned char *in_oprfi,
24
 
unsigned char *out_oprfi);
25
 
 
26
 
The callback can inspect the client\-provided data in the input
27
 
parameters, and specify its own opaque prf input data in the output
28
 
variable.  The function must return 0 on success, otherwise the
29
 
handshake will be aborted.
30
 
.SH "REPORTING BUGS"
31
 
Report bugs to <bug-gnutls@gnu.org>.
32
 
GnuTLS home page: http://www.gnu.org/software/gnutls/
33
 
General help using GNU software: http://www.gnu.org/gethelp/
34
 
.SH COPYRIGHT
35
 
Copyright \(co 2008 Free Software Foundation.
36
 
.br
37
 
Copying and distribution of this file, with or without modification,
38
 
are permitted in any medium without royalty provided the copyright
39
 
notice and this notice are preserved.
40
 
.SH "SEE ALSO"
41
 
The full documentation for
42
 
.B gnutls
43
 
is maintained as a Texinfo manual.  If the
44
 
.B info
45
 
and
46
 
.B gnutls
47
 
programs are properly installed at your site, the command
48
 
.IP
49
 
.B info gnutls
50
 
.PP
51
 
should give you access to the complete manual.