Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

c# - Where can i find the PKCS11 unmanaged library for the cherry SmartTerminal ST-1144

I want to use the cherry SmartTerminal ST-1144 in order to finally sign pdf documents with certificates from a smartcard. I do use the .net PKCS11Interop. In the following code i need to provide the unmanaged PKCS11 library for the Cherry SmartTerminal ST-1144:

            using (IPkcs11Library pkcs11Library = factories.Pkcs11LibraryFactory.LoadPkcs11Library(factories, pkcs11LibraryPath, AppType.MultiThreaded))

My problem is that i don't know where i can find this unmanaged library. I've installed the provided software from cherry, but none of the listed dll's could be loaded. enter image description here The error is always

Net.Pkcs11Interop.Common.UnmanagedException: 'Unable to load library. Error code: 0x0000007E. Error detail: The specified module could not be found'

I guess those are not compatible libraries. I also tried to contact the support from cherry but had no success so far.

Any idea

  • If this cherry smartterminal is compatible with IPkcs11Library?
  • What is the name of the dll which can be used as pkcs11LibraryPath?

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

PKCS#11 library is not driver for card reader (in your case Cherry SmartTerminal ST-1144). PKCS#11 library is driver for the card. So I highly doubt such library is installed as a part of package provided by Cherry. It should be installed as part of software you got with your smartcard.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...