OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Smart Card read certificate and private key

From: Dan Griffin (dangriffWINDOWS.MICROSOFT.COM)
Date: Wed May 07 2003 - 18:50:39 CDT


Marco,

For typical PKI deployments, the card need not be authenticated to read
a user certificate, since the cert is considered "public" data. Use of
the private key, on the other hand, requires authentication. However, I
can't comment on the specifics of your deployment.

To my knowledge, at this time there is no implementation of a Smartcard
(PC/SC-compatible) API in managed code. The next best approach may be
to try PINVOKE and use the native/win32 Smartcard API.

Dan Griffin [MS]

-----Original Message-----
From: Marco Oldani [mailto:marco.oldaniAPSYSTEMS.IT]
Sent: Monday, May 05, 2003 3:49 AM
To: SmartCardSDKDISCUSS.MICROSOFT.COM
Subject: Smart Card read certificate and private key

Good Morning, my name is Marco Oldani and I'm a c# developer. I'm
working with a Smart-Card device, but I can't access the certificate or
private key stored in the smart card. The type of smart card that I use
requests the pin authentication.

Is possible in C# access the smart card without use the CryptoAPI, but
directly via System.Security? If so, how?

Can Someone tell me where I can find documentation or examples for
accessing the smart card?

Finally, is it possible to read certificates on SmartCard client-side
via Web browser, using both IE and NetScape under Windows, Mac and
Linux?

Thanks

Marco Oldani