Re: Extracting certificate from the smart card thru cryptoApi in c#



In .NET 2, there is good support for certificates in capi stores.
See System.Security.Cryptography.X509Certificates.

In .NET 1.1, you would need to pinvoke to capi using techniques
like this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncapi/html/netcryptoapi.asp

See also "Using Cryptography with the .NET Framework" pp. 669 in
".NET Framework Security", LaMacchia et. al. 2002 AW.

- Mitch Gallant
MVP Security

"Chander" <Chander@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E4658DF1-1E2A-4299-9376-3531A606450B@xxxxxxxxxxxxxxxx
Hi,

Pl. help in the matter of extracting the certificate from the smart card
using the cryptoAPI and .net assembly but not to use the CAPICOM for it.

Thanx
Chander


.



Relevant Pages

  • Re: BUG: Failed to encrypt outgoing messages with non WSE2QuickStartClient certificate
    ... > I am still using one that is slightly earlier than the one on .NET Framework ... the WSE team tried hard to have the version in the .NET ... master version of makecert.exe can be found in the Platform SDK, ... certificates will then work with WSE. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Digital signatures in ZIP files
    ... I don't know the ZIP file format, but support for certificates in v1.0 of ... .NET Framework Security, http://www.amazon.com/exec/obidos/ASIN/067232184X ... > I have developed a class in C# to extract ZIP files, ... Input data cannot be coded as a valid ...
    (microsoft.public.dotnet.security)