1gnutls_pkcs11_init(3) gnutls gnutls_pkcs11_init(3)
2
3
4
6 gnutls_pkcs11_init - API function
7
9 #include <gnutls/pkcs11.h>
10
11 int gnutls_pkcs11_init(unsigned int flags, const char * deprecated_con‐
12 fig_file);
13
15 unsigned int flags
16 An ORed sequence of GNUTLS_PKCS11_FLAG_*
17
18 const char * deprecated_config_file
19 either NULL or the location of a deprecated configuration
20 file
21
23 This function will initialize the PKCS 11 subsystem in gnutls. It will
24 read configuration files if GNUTLS_PKCS11_FLAG_AUTO is used or allow
25 you to independently load PKCS 11 modules using
26 gnutls_pkcs11_add_provider() if GNUTLS_PKCS11_FLAG_MANUAL is specified.
27
28 Normally you don't need to call this function since it is being called
29 when the first PKCS 11 operation is requested using the
30 GNUTLS_PKCS11_FLAG_AUTO flag. If another flags are required then it
31 must be called independently prior to any PKCS 11 operation.
32
34 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
35 error value.
36
38 2.12.0
39
41 Report bugs to <bugs@gnutls.org>.
42 Home page: http://www.gnutls.org
43
44
46 Copyright © 2001-2014 Free Software Foundation, Inc..
47 Copying and distribution of this file, with or without modification,
48 are permitted in any medium without royalty provided the copyright
49 notice and this notice are preserved.
50
52 The full documentation for gnutls is maintained as a Texinfo manual.
53 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
54 visit
55
56 http://www.gnutls.org/manual/
57
58gnutls 3.3.29 gnutls_pkcs11_init(3)