1gnutls_x509_crt_list_import_pkcs11(3)gnutlsgnutls_x509_crt_list_import_pkcs11(3)
2
3
4
6 gnutls_x509_crt_list_import_pkcs11 - API function
7
9 #include <gnutls/pkcs11.h>
10
11 int gnutls_x509_crt_list_import_pkcs11(gnutls_x509_crt_t * certs, un‐
12 signed int cert_max, gnutls_pkcs11_obj_t * const objs, unsigned int
13 flags);
14
16 gnutls_x509_crt_t * certs
17 A list of certificates of type gnutls_x509_crt_t
18
19 unsigned int cert_max
20 The maximum size of the list
21
22 gnutls_pkcs11_obj_t * const objs
23 A list of PKCS 11 objects
24
25 unsigned int flags
26 0 for now
27
29 This function will import a PKCS 11 certificate list to a list of
30 gnutls_x509_crt_t type. These must not be initialized.
31
33 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
34 ror value.
35
37 2.12.0
38
40 Report bugs to <bugs@gnutls.org>.
41 Home page: https://www.gnutls.org
42
43
45 Copyright © 2001- Free Software Foundation, Inc., and others.
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright no‐
48 tice and this notice are preserved.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
53 visit
54
55 https://www.gnutls.org/manual/
56
57gnutls 3.7.6gnutls_x509_crt_list_import_pkcs11(3)