Sha256: 380feb83152b1a20709b655148ddfe535208219da9dddefcace7257a2d01dd46

Contents?: true

Size: 1.85 KB

Versions: 4

Compression:

Stored size: 1.85 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_certificate_server_set_retrieve_function" 3 "3.2.19" "gnutls" "gnutls"
.SH NAME
gnutls_certificate_server_set_retrieve_function \- API function
.SH SYNOPSIS
.B #include <gnutls/compat.h>
.sp
.BI "void gnutls_certificate_server_set_retrieve_function(gnutls_certificate_credentials_t " cred ", gnutls_certificate_server_retrieve_function * " func ");"
.SH ARGUMENTS
.IP "gnutls_certificate_credentials_t cred" 12
is a \fBgnutls_certificate_credentials_t\fP structure.
.IP "gnutls_certificate_server_retrieve_function * func" 12
is the callback function
.SH "DESCRIPTION"
This function sets a callback to be called in order to retrieve the
certificate to be used in the handshake.
You are advised to use \fBgnutls_certificate_set_retrieve_function2()\fP because it
is much more efficient in the processing it requires from gnutls.

The callback's function prototype is:
int (*callback)(gnutls_session_t, gnutls_retr_st* st);

 \fIst\fP should contain the certificates and private keys.

If the callback function is provided then gnutls will call it, in the
handshake, after the certificate request message has been received.

The callback function should set the certificate list to be sent, and
return 0 on success.  The value (\-1) indicates error and the handshake
will be terminated.
.SH "REPORTING BUGS"
Report bugs to <bugs@gnutls.org>.
.br
Home page: http://www.gnutls.org

.SH COPYRIGHT
Copyright \(co 2001-2014 Free Software Foundation, Inc.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.
If the /usr/share/doc/gnutls/
directory does not contain the HTML form visit
.B
.IP http://www.gnutls.org/manual/
.PP

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glib2-2.2.5-x64-mingw32 vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3
glib2-2.2.5-x86-mingw32 vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3
glib2-2.2.4-x64-mingw32 vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3
glib2-2.2.4-x86-mingw32 vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3