1gnutls_pkcs7_set_crt(3) gnutls gnutls_pkcs7_set_crt(3)
2
3
4
6 gnutls_pkcs7_set_crt - add a parsed certificate in a PKCS7 certificate
7 set
8
10 #include <gnutls/x509.h>
11
12 int gnutls_pkcs7_set_crt(gnutls_pkcs7_t pkcs7, gnutls_x509_crt_t crt);
13
15 gnutls_pkcs7_t pkcs7
16 should contain a gnutls_pkcs7_t structure
17
18 gnutls_x509_crt_t crt
19 the certificate to be copied.
20
22 This function will add a parsed certificate to the PKCS7 or RFC2630
23 certificate set. This is a wrapper function over
24 gnutls_pkcs7_set_crt_raw() .
25
27 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error
28 value.
29
31 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
32 http://www.gnu.org/software/gnutls/ General help using GNU software:
33 http://www.gnu.org/gethelp/
34
36 Copyright © 2008 Free Software Foundation.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the info and gnutls programs are properly installed at your site,
44 the command
45
46 info gnutls
47
48 should give you access to the complete manual.
49
50
51
52gnutls 2.8.6 gnutls_pkcs7_set_crt(3)