Comment 23 for bug 1892559

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

opensc-pkcs11.so is a PKCS#11 lib so the its API conforms to the standard defined in https://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/os/pkcs11-base-v2.40-os.html

If you are looking for .h header files you can use:
https://www.oasis-open.org/committees/document.php?document_id=55655&wg_abbrev=pkcs11
https://www.oasis-open.org/committees/document.php?document_id=55656&wg_abbrev=pkcs11
https://www.oasis-open.org/committees/document.php?document_id=55657&wg_abbrev=pkcs11

pkcs11-spy.so is a spy/debug library. It uses the same API.

A PKCS#11 library is, in general, dynamically loaded using dlopen(3). So the dependency is not visible from an application using the library (for example Firefox).

If you really need to move opensc-pkcs11.so & pkcs11-spy.so in a subdir I would recommand to use /usr/lib/*/pkcs11/ as it is already the case.