table of contents
other versions
- wheezy-backports 3.3.8-6~bpo70+1
- jessie 3.3.8-6+deb8u5
- testing 3.5.8-5
- unstable 3.5.8-6
- experimental 3.5.13-1
gnutls_certificate_set_retrieve_function(3) | gnutls | gnutls_certificate_set_retrieve_function(3) |
NAME¶
gnutls_certificate_set_retrieve_function - API functionSYNOPSIS¶
#include <gnutls/gnutls.h>ARGUMENTS¶
- gnutls_certificate_credentials_t cred
- is a gnutls_certificate_credentials_t structure.
- gnutls_certificate_retrieve_function * func
- is the callback function
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 gnutls_certificate_set_retrieve_function2() because it is much more efficient in the processing it requires from gnutls.req_ca_cert is only used in X.509 certificates. Contains a list with the CA names that the server considers trusted. Normally we should send a certificate that is signed by one of these CAs. These names are DER encoded. To get a more meaningful value use the function gnutls_x509_rdn_get().
pk_algos contains a list with server's acceptable signature algorithms. The certificate returned should support the server's given algorithms.
st should contain the certificates and private keys.
SINCE¶
3.0REPORTING BUGS¶
Report bugs to <bugs@gnutls.org>.COPYRIGHT¶
Copyright © 2001-2014 Free Software Foundation, Inc..SEE ALSO¶
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit3.3.8 | gnutls |