1gnutls_x509_crt_set_key(3) gnutls gnutls_x509_crt_set_key(3)
2
3
4
6 gnutls_x509_crt_set_key - This function will associate the Certificate
7 with a key
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_set_key(gnutls_x509_crt_t crt,
13 gnutls_x509_privkey_t key);
14
16 gnutls_x509_crt_t crt
17 should contain a gnutls_x509_crt_t structure
18
19 gnutls_x509_privkey_t key
20 holds a private key
21
23 This function will set the public parameters from the given private key
24 to the certificate. Only RSA keys are currently supported.
25
26 Returns 0 on success.
27
29 Report bugs to <bug-gnutls@gnu.org>.
30
32 Copyright © 2006 Free Software Foundation.
33 Permission is granted to make and distribute verbatim copies of this
34 manual provided the copyright notice and this permission notice are
35 preserved on all copies.
36
38 The full documentation for gnutls is maintained as a Texinfo manual.
39 If the info and gnutls programs are properly installed at your site,
40 the command
41
42 info gnutls
43
44 should give you access to the complete manual.
45
46
47
48gnutls 1.6.3 gnutls_x509_crt_set_key(3)