1gnutls_system_key_add_x509(3) gnutls gnutls_system_key_add_x509(3)
2
3
4
6 gnutls_system_key_add_x509 - API function
7
9 #include <gnutls/system-keys.h>
10
11 int gnutls_system_key_add_x509(gnutls_x509_crt_t crt,
12 gnutls_x509_privkey_t privkey, const char * label, char ** cert_url,
13 char ** key_url);
14
16 gnutls_x509_crt_t crt
17 the certificate to be added
18
19 gnutls_x509_privkey_t privkey
20 the key to be added
21
22 const char * label
23 the friendly name to describe the key
24
25 char ** cert_url
26 if non-NULL it will contain an allocated value with the
27 certificate URL
28
29 char ** key_url
30 if non-NULL it will contain an allocated value with the key
31 URL
32
34 This function will added the given key and certificate pair, to the
35 system list.
36
38 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
39 error value.
40
42 3.4.0
43
45 Report bugs to <bugs@gnutls.org>.
46 Home page: http://www.gnutls.org
47
48
50 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
51 Copying and distribution of this file, with or without modification,
52 are permitted in any medium without royalty provided the copyright
53 notice and this notice are preserved.
54
56 The full documentation for gnutls is maintained as a Texinfo manual.
57 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
58 visit
59
60 http://www.gnutls.org/manual/
61
62gnutls 3.6.5 gnutls_system_key_add_x509(3)