The vastool utility provides an option to test whether a PKCS#11 library is suitable for use with Safeguard Authentication Services for Smart Cards.
To test the PKCS #11 library
-
Run the following command:
vastool smartcard -l <library> test library
where <library> is the path to the PKCS#11 library you want to test.
For example, to test the Gemalto PKCS#11 drivers on a Red Hat x86 platform, run the following command:
vastool smartcard -l \ /usr/local/lib/libxltCk.so test library
This displays the following output if the driver is correctly installed:
Testing PKCS#11 library '/usr/local/lib/libxltCk.so': Checking PKCS#11 library may be dynamically loaded ... ok Checking PKCS#11 library contains necessary symbols ... ok Checking PKCS#11 function list can be obtained ... ok Checking PKCS#11 library version is compatible ... ok Checking PKCS#11 library can be initialized ... ok Checking PKCS#11 library can be finalized ... ok