MUSCLE SmartCard framework PKCS #11 library
PKCS #11 modules can be loaded in software like Mozilla for smartcard support