This implements the emulation for the ncrypt API and more specifically the smartcard provider so that we can list available keys and certificates using pkcs11-helper.