opensc/doc
Doug Engert f704e4f23e Pkcs11-tool changes to test a modules ability to use threads
Option --use-locking has C_Initialize pass in parameters with the
CKF_OS_LOCKING_OK to tell module to use threads. The default is it passes NULL
which says threads are not needed.

The following is not designed to be used by the general user. There are for debugging
and test scripts and only compiled if the system has threads.

    Option --test-threads <arg> can be passed multiple times. Each one starts a thread.
    <arg> is a list of 2 byte commands seperated by ":". The thread will execute these.
    Current commands are:
       IN - C_Initialize(NULL)
       IL - C_Initialize with CKF_OS_LOCKING_OK
       Pn - Pause for n seconds
       GI - C_GetInfo
       SL - C_GetSlotList
       Tn - C_GetTokenInfo  from slot_index n

These are just enough calls to see if threads are working in the module.
Output is written to stderr.

 Changes to be committed:
	modified:   doc/tools/pkcs11-tool.1.xml
	modified:   src/tools/Makefile.am
	modified:   src/tools/pkcs11-tool.c
2021-01-26 12:50:39 +01:00
..
files MyEID: opensc.conf - option to disable PKCS1 padding in card. 2021-01-26 00:27:47 +01:00
tools Pkcs11-tool changes to test a modules ability to use threads 2021-01-26 12:50:39 +01:00
Makefile.am added manual page opensc.conf(5) 2018-07-17 14:49:27 +02:00
api.css Simplify build system, remove the generated distributed files. 2010-10-05 20:34:58 +00:00
html.xsl Generate consistent docbook id's 2019-11-01 14:23:40 +01:00
man.xsl doc/Makefile.am: get rid of "api.work" kludge 2011-08-20 16:54:05 +02:00