Tool overview: https://my.eng.utah.edu/~sdean/doc/Tools.html
opensc-tool -l
pcsc_scan
p11-kit list-modules
(sometimes it's necessary to provide the PKCS11 provider --provider=/usr/lib/opensc-pkcs11.so
)
p11tool --list-tokens
p11tool --list-all
p11tool --list-all "<TOKEN URL>"
p11tool --list-all-certs "<TOKEN URL>"
p11tool --list-certs "<TOKEN URL>"
p11tool --list-all-trusted "<TOKEN URL>"
p11tool --list-all-trusted "<TOKEN URL>"
pkcs11-tool --module /usr/lib/opensc-pkcs11.so --login --test
pkcs11-tool --module /usr/lib/opensc-pkcs11.so --login --list-objects
pkcs11-tool --list-token-slots
pkcs15-tool --dump --short
pkcs15-tool --dump
pkcs15-tool --list-certificates