opensc/doc/tools
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
..
Makefile.am add env vars to bash completion for PIN-related options 2020-09-22 22:48:00 +02:00
cardos-tool.1.xml
completion-template add env vars to bash completion for PIN-related options 2020-09-22 22:48:00 +02:00
cryptoflex-tool.1.xml
dnie-tool.1.xml fixed dashes 2020-02-27 23:12:54 +01:00
egk-tool.1.xml
eidenv.1.xml
gids-tool.1.xml unified documentation of handling PIN/PUK on CLI 2020-02-27 23:12:54 +01:00
goid-tool.1.xml Fix spelling error 2020-08-29 23:14:49 +02:00
iasecc-tool.1.xml
netkey-tool.1.xml standardize <replaceable> PIN names in man pages 2020-09-22 22:48:00 +02:00
npa-tool.1.xml
openpgp-tool.1.xml unified documentation of handling PIN/PUK on CLI 2020-02-27 23:12:54 +01:00
opensc-asn1.1.xml
opensc-explorer.1.xml opensc-explorer: extend do_asn1() to accept offsets 2020-08-23 22:46:26 +02:00
opensc-notify.1.xml
opensc-tool.1.xml doc: Drop trailing comma 2020-05-07 02:34:12 +02:00
piv-tool.1.xml
pkcs11-register.1.xml Create missing man pages (goid needs some work) 2020-05-07 02:34:12 +02:00
pkcs11-tool.1.xml Pkcs11-tool changes to test a modules ability to use threads 2021-01-26 12:50:39 +01:00
pkcs15-crypt.1.xml
pkcs15-init.1.xml man page update, info about generating EC keys 2021-01-26 10:51:44 +01:00
pkcs15-tool.1.xml standardize <replaceable> PIN names in man pages 2020-09-22 22:48:00 +02:00
sc-hsm-tool.1.xml unified documentation of handling PIN/PUK on CLI 2020-02-27 23:12:54 +01:00
tools.html
tools.xml
westcos-tool.1.xml unified documentation of handling PIN/PUK on CLI 2020-02-27 23:12:54 +01:00