1gnutls_pkcs11_init(3)               gnutls               gnutls_pkcs11_init(3)
2
3
4

NAME

6       gnutls_pkcs11_init - API function
7

SYNOPSIS

9       #include <gnutls/pkcs11.h>
10
11       int gnutls_pkcs11_init(unsigned int flags, const char * deprecated_con‐
12       fig_file);
13

ARGUMENTS

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

DESCRIPTION

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       You don't need to call this function since GnuTLS 3.3.0 because  it  is
29       being called during the first request PKCS 11 operation. That call will
30       assume the GNUTLS_PKCS11_FLAG_AUTO flag. If another flags are  required
31       then it must be called independently prior to any PKCS 11 operation.
32

RETURNS

34       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
35       error value.
36

SINCE

38       2.12.0
39

REPORTING BUGS

41       Report bugs to <bugs@gnutls.org>.
42       Home page: https://www.gnutls.org
43
44
46       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
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

SEE ALSO

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       https://www.gnutls.org/manual/
57
58gnutls                              3.6.11               gnutls_pkcs11_init(3)
Impressum