Opens a PKCS#11 token: loads the module once per path and thread, finds the slot, logs in a session.
the loaded pkcs11js (or a test's fake)
pkcs11js
{ modulePath, tokenLabel, serial, slotId, pin, maxSessions }
the token (crypto_impl/pkcs11.js's Pkcs11Token)
crypto_impl/pkcs11.js
Pkcs11Token
Opens a PKCS#11 token: loads the module once per path and thread, finds the slot, logs in a session.