1gnutls_pkcs11_obj_list_import_url2(3)gnutlsgnutls_pkcs11_obj_list_import_url2(3)
2
3
4
6 gnutls_pkcs11_obj_list_import_url2 - API function
7
9 #include <gnutls/pkcs11.h>
10
11 int gnutls_pkcs11_obj_list_import_url2(gnutls_pkcs11_obj_t ** p_list,
12 unsigned int * n_list, const char * url, gnutls_pkcs11_obj_attr_t
13 attrs, unsigned int flags);
14
16 gnutls_pkcs11_obj_t ** p_list
17 An uninitialized object list (may be NULL)
18
19 unsigned int * n_list
20 It will contain the size of the list.
21
22 const char * url
23 A PKCS 11 url identifying a set of objects
24
25 gnutls_pkcs11_obj_attr_t attrs
26 Attributes of type gnutls_pkcs11_obj_attr_t that can be
27 used to limit output
28
29 unsigned int flags
30 Or sequence of GNUTLS_PKCS11_OBJ_* flags
31
33 This function will initialize and set values to an object list by using
34 all objects identified by the PKCS 11 URL. The output is stored in
35 p_list , which will be initialized.
36
37 All returned objects must be deinitialized using
38 gnutls_pkcs11_obj_deinit(), and p_list must be free'd using
39 gnutls_free().
40
42 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
43 error value.
44
46 3.1.0
47
49 Report bugs to <bugs@gnutls.org>.
50 Home page: http://www.gnutls.org
51
52
54 Copyright © 2001-2014 Free Software Foundation, Inc..
55 Copying and distribution of this file, with or without modification,
56 are permitted in any medium without royalty provided the copyright
57 notice and this notice are preserved.
58
60 The full documentation for gnutls is maintained as a Texinfo manual.
61 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
62 visit
63
64 http://www.gnutls.org/manual/
65
66gnutls 3.3.29gnutls_pkcs11_obj_list_import_url2(3)