EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Equivalent for CAPICOM's ICertificate2.PrivateKey.IsHardwareDevice?

Posted: 08/02/2010 01:09:23
by Byron Jones (Standard support level)
Joined: 08/02/2010
Posts: 2

I'm in the process of switching from CAPICOM to SecureBlackBox (VCL).

Using CAPICOM I'm able to determine if a certificate's private key is on a hardware device, such as a smartcard, by calling the following method:

ICertificate2.PrivateKey.IsHardwareDevice (http://msdn.microsoft.com/en-us/library/aa387373%28VS.85%29.aspx)

Is there an equivalent using pkiBB?

Thanks :)
Posted: 08/02/2010 01:17:47
by Eugene Mayevski (Team)

There's no way to do this with TElX509Certificate class. If you explain the purpose of reading this value we can try to find an alternative approach.

Sincerely yours
Eugene Mayevski
Posted: 08/02/2010 03:58:05
by Byron Jones (Standard support level)
Joined: 08/02/2010
Posts: 2

Thanks for your prompt response Eugene :)

As using a smartcard generally triggers a PIN dialog, they aren't appropriate to use in non-interactive scenarios (such as from within a Windows service).

My application runs in both interactive (taskbar) and non-interactive (service) modes; so it's important that I exclude smartcards from being available to instances installed as a Windows service.



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