|
gnutls_pkcs11_init — API function
#include <gnutls/pkcs11.h>
int
gnutls_pkcs11_init( |
unsigned int flags, |
const char * deprecated_config_file) ; |
GNUTLS_PKCS11_FLAG_MANUAL
or
GNUTLS_PKCS11_FLAG_AUTO
either NULL or the location of a deprecated configuration file
This function will initialize the PKCS 11 subsystem in
gnutls. It will read configuration files if GNUTLS_PKCS11_FLAG_AUTO
is used or allow
you to independently load PKCS 11 modules using gnutls_pkcs11_add_provider
() if
GNUTLS_PKCS11_FLAG_MANUAL
is
specified.
Normally you don't need to call this function since it is
being called by gnutls_global_init
() using the GNUTLS_PKCS11_FLAG_AUTO
. If other option is
required then it must be called before it.
Report bugs to <bug-gnutls@gnu.org>.
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
GnuTLS home page: http://www.gnu.org/software/gnutls/