1gnutls_pkcs7_delete_crt(3) gnutls gnutls_pkcs7_delete_crt(3)
2
3
4
6 gnutls_pkcs7_delete_crt - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_pkcs7_delete_crt(gnutls_pkcs7_t pkcs7, int indx);
12
14 gnutls_pkcs7_t pkcs7
15 should contain a gnutls_pkcs7_t structure
16
17 int indx the index of the certificate to delete
18
20 This function will delete a certificate from a PKCS7 or RFC2630 cer‐
21 tificate set. Index starts from 0. Returns 0 on success.
22
24 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error
25 value.
26
28 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
29 http://www.gnu.org/software/gnutls/ General help using GNU software:
30 http://www.gnu.org/gethelp/
31
33 Copyright © 2008 Free Software Foundation.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 2.12.6.1 gnutls_pkcs7_delete_crt(3)