EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PDFBlackBox + SmartCard signature problem

Posted: 07/11/2014 03:49:31
by Shota Giorgobiani (Basic support level)
Joined: 04/01/2014
Posts: 4


We are implementing pdf file signature, using smart card (Georgian ID Card). The sample in Samples\C#\PDFBlackbox\Desktop\TinySignerPKCS11, it needs SecureBlackbox_PKCS11Proxy.dll file (which I already copied into bin directory) and then asks for PKCS#11 library file. The official middleware for ID card is RoseCard Middleware, I already installed it and trying to point sample to rosep11_x64.dll (which is installed with middleware) but get error:


Error opening storage: C:\Program Files\Muhlbauer\RoseCard Middleware Light\rosep11_x64.dll

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Do anybody has any idea how to solve this problem? or is there any other "standard" middleware that can be used to access smart card for signing purposes.

Posted: 07/11/2014 04:50:42
by Ken Ivanov (Team)

Hello Shota,

Thank you for contacting us.

It's an x86/x64 incompatibility issue. You are either using a proxy driver which targets a different platform (x86), or compiling the project for a wrong target (x86). Please check that your C# project has x64 as a target, and that you take the proxy driver (SecureBlackbox_PKCS11Proxy.dll) from the x64 directory.

Posted: 07/11/2014 04:51:31
by Marcel Talamini (Standard support level)
Joined: 01/30/2010
Posts: 17

do you use the correct bit version of SecureBlackbox_PKCS11Proxy.dll.
32 or 64 bit
Posted: 07/14/2014 02:31:51
by Shota Giorgobiani (Basic support level)
Joined: 04/01/2014
Posts: 4

Hi Ken,

Your suggestion helped, I was building project for Any CPU, switching to x64 solved the problem, thanks!



Topic viewed 667 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!