EldoS | Feel safer!

Software components for data protection, secure storage and transfer

smartcard PIN dialog

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 01/01/2011 08:55:58
by Popeye  (Basic support level)
Joined: 10/22/2010
Posts: 10


I'm signing a few xml documents with a certificate that has private key in a smartcard.
When signing first xml document, show PIN dialog.
But signing second xml document does not show PIN dialog.

Is there a way show PIN dialog everytime without restart the program ?

Posted: 01/01/2011 09:18:38
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

In most of the cases it's token driver who is responsible for PIN caching. Do you use TElWinCertStorage or TElPKCS11CertStorage to access the signing certificate?
Posted: 01/01/2011 11:30:39
by Popeye  (Basic support level)
Joined: 10/22/2010
Posts: 10

I'm using TElWinCertStorage. My code is a copy of SimpleSigner project in samples folder.
Posted: 01/01/2011 11:53:00
by Ken Ivanov (EldoS Corp.)

Then please try to create new TElWinCertStorage object for every single signing operation. This might help (though there's no guarantee though, as PIN requesting is controlled by the token driver).
Posted: 01/01/2011 14:57:37
by Popeye  (Basic support level)
Joined: 10/22/2010
Posts: 10

i tried to create new TElWinCertStorage object but it didn't work.

thanks for your help
Posted: 01/02/2011 02:51:57
by Ken Ivanov (EldoS Corp.)

Then this can only be controlled on driver level. Please check whether firmware of your token allows to adjust this option. Some vendors do allow user to enable/disable PIN caching.

BTW, are you destroying TElWinCertStorage object after signing (by calling Destroy() or Dispose() methods)? You must dispose of the storage object, as well as all other references to the signing certificate to close all the key handles.
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.



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