EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PDFBlackBox + SmartCard signature problem

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#30015
Posted: 07/11/2014 03:49:31
by Shota Giorgobiani (Basic support level)
Joined: 04/01/2014
Posts: 4

Hi,

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)
---------------------------
OK
---------------------------

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.

Thanks
#30016
Posted: 07/11/2014 04:50:42
by Ken Ivanov (EldoS Corp.)

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.

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

do you use the correct bit version of SecureBlackbox_PKCS11Proxy.dll.
32 or 64 bit
#30034
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!

Reply

Statistics

Topic viewed 524 times

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




|

Back to top

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

Got it!