EldoS | Feel safer!

Software components for data protection, secure storage and transfer

error LNK1104: cannot open file 'libsbbimp.lib'

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
Posted: 10/12/2015 06:26:48
by Serkan a (Basic support level)
Joined: 10/08/2015
Posts: 23

I received the following exception:

SecureBlackbox library exception: EElPKCS11ModuleError(Message: 'PKCS#11 provider DLL could not be found or loaded (error code is 126)

I provided the dll file name as : C:\Windows\System32\akisp11.dll

What might be wrong?
Posted: 10/12/2015 06:51:11
by Vsevolod Ievgiienko (Team)

Its possible that you compile your project for 64-bit system, but PKCS#11 driver is 32 bit one. Also libsbb.dll bitness matters. Please check that all DLLs and drivers have the same bitness.
Posted: 10/12/2015 10:08:14
by Serkan a (Basic support level)
Joined: 10/08/2015
Posts: 23

Thanks and again hi :)

I run project and take error;

Step 1:
Posted: 10/12/2015 15:42:24
by Ken Ivanov (Team)

Hi Serkan,

According to the screen capture, no active tokens are found by the driver (the 'no token' comment is displayed for all of the slots). Subsequently, the storage component returns the CKR_TOKEN_NOT_PRESENT error for the OpenSession() call, as it can't open a session to non-existent token.

Posted: 10/13/2015 02:22:58
by Serkan a (Basic support level)
Joined: 10/08/2015
Posts: 23

Hi Ken Ivanov,

Thanks :) worked..
Posted: 10/14/2015 08:06:45
by Serkan a (Basic support level)
Joined: 10/08/2015
Posts: 23

Again hi,

How can I get ATR value of signing token ?

Posted: 10/14/2015 08:09:58
by Vsevolod Ievgiienko (Team)

Could you please clarify what do you men by "ATR".
Posted: 10/14/2015 08:21:32
by Eugene Mayevski (Team)

Also please don't post unrelated questions to the same topic. I.e. question about the ATR (whatever it is) is not related to libsbbimp in any way.

Sincerely yours
Eugene Mayevski
Posted: 10/14/2015 10:50:49
by Serkan a (Basic support level)
Joined: 10/08/2015
Posts: 23

Hi there,

Thank you for your support. ATR is the identifier of smart card producer. It identifies uniquely the smart card. We use it to identify the card type in electronic signature. More info:


Thanks in advance,
Posted: 10/14/2015 12:52:26
by Eugene Mayevski (Team)

TokenInfo and SlotInfo structures (they are accessible via properties of TElPKCS11CertStorage and other related objects) contain information about the device. That's all you can get. There's no way to get an ATR via PKCS#11.

Sincerely yours
Eugene Mayevski
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.



Topic viewed 8063 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!