1gnutls_certificate_set_x509_key(3) gnutls gnutls_certificate_set_x509_key(3)
2
3
4
6 gnutls_certificate_set_x509_key - Used to set keys in a gnutls_certifi‐
7 cate_credentials_t structure
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_certificate_set_x509_key(gnutls_certificate_credentials_t
13 res, gnutls_x509_crt_t * cert_list, int cert_list_size,
14 gnutls_x509_privkey_t key);
15
17 gnutls_certificate_credentials_t res
18 is an gnutls_certificate_credentials_t structure.
19
20 gnutls_x509_crt_t * cert_list
21 contains a certificate list (path) for the specified pri‐
22 vate key
23
24 int cert_list_size
25 holds the size of the certificate list
26
27 gnutls_x509_privkey_t key
28 is a gnutls_x509_privkey_t key
29
31 This function sets a certificate/private key pair in the gnutls_cer‐
32 tificate_credentials_t structure. This function may be called more than
33 once (in case multiple keys/certificates exist for the server).
34
36 Report bugs to <bug-gnutls@gnu.org>.
37
39 Copyright © 2006 Free Software Foundation.
40 Permission is granted to make and distribute verbatim copies of this
41 manual provided the copyright notice and this permission notice are
42 preserved on all copies.
43
45 The full documentation for gnutls is maintained as a Texinfo manual.
46 If the info and gnutls programs are properly installed at your site,
47 the command
48
49 info gnutls
50
51 should give you access to the complete manual.
52
53
54
55gnutls 1.6.3 gnutls_certificate_set_x509_key(3)