1gnutls_pkcs11_add_provider(3) gnutls gnutls_pkcs11_add_provider(3)
2
3
4
6 gnutls_pkcs11_add_provider - API function
7
9 #include <gnutls/pkcs11.h>
10
11 int gnutls_pkcs11_add_provider(const char * name, const char * params);
12
14 const char * name
15 The filename of the module
16
17 const char * params
18 should be NULL or a known string (see description)
19
21 This function will load and add a PKCS 11 module to the module list
22 used in gnutls. After this function is called the module will be used
23 for PKCS 11 operations.
24
25 When loading a module to be used for certificate verification, use the
26 string 'trusted' as params .
27
28 Note that this function is not thread safe.
29
31 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
32 error value.
33
35 2.12.0
36
38 Report bugs to <bugs@gnutls.org>.
39 Home page: https://www.gnutls.org
40
41
43 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright
46 notice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
51 visit
52
53 https://www.gnutls.org/manual/
54
55gnutls 3.6.11 gnutls_pkcs11_add_provider(3)