1gnutls_system_key_add_x509(3)       gnutls       gnutls_system_key_add_x509(3)
2
3
4

NAME

6       gnutls_system_key_add_x509 - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

34       This  function  will  added  the given key and certificate pair, to the
35       system list.
36

RETURNS

38       On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative  er‐
39       ror value.
40

SINCE

42       3.4.0
43

REPORTING BUGS

45       Report bugs to <bugs@gnutls.org>.
46       Home page: https://www.gnutls.org
47
48
50       Copyright © 2001- 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  no‐
53       tice and this notice are preserved.
54

SEE ALSO

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       https://www.gnutls.org/manual/
61
62gnutls                               3.7.6       gnutls_system_key_add_x509(3)
Impressum