Re: .NET PKCS#7 ? Where to find it ?

From: Michel Gallant (neutron_at_NOSPAMistar.ca)
Date: 01/29/04


Date: Thu, 29 Jan 2004 16:52:05 -0500


.NET Framework 1.1 only supports basic pkcs#1 signatures and not higher
standards like CMS/PKCS#7.
Good news is that next release has support as documented here:
  http://longhorn.msdn.microsoft.com/
and check out namespace System.Security.Cryptography.Pkcs
under the Reference | Class Library Reference branch.

For now you must use either CAPICOM 2.0.0.3 support or Pinvoke to CryptoAPI.

I'll post a sample shortly of verifying a CMS/PKCS#7 signed message using
.NET 1.1 and Pinvoke.

- Mitch Gallant
   MVP Security

"bob biris" <bobbiris@hotmail.com> wrote in message
news:ce8efab7.0401290915.277f1e3a@posting.google.com...
> I have the same problem. It seems that the only way to do it is going
> through the CAPICOM and COMinterop.
>
> Does anybody succeeded in creating a PKCS#7 signature for a file in
> .Net?



Relevant Pages

  • Re: RSA Signing/Encryption with SSL keys
    ... > already used in SSL connections (i.e. every SSL-supported ... like CMS/PKCS#7, which currently .NET Framework does not support, ... support for easy signatures generation/verification. ...
    (microsoft.public.dotnet.security)
  • Re: CAPICOM sign and verification using .NET
    ... For standard CMS/PKCS #7 signatures from .NET, there will be support ... in .NET Framework V2 (Longhorn) in classes such as: ...
    (microsoft.public.platformsdk.security)
  • Re: SP3 potential problem
    ... Windows Explorer and I get a message to send the info to MS. ... Remove all SP2 and later Microsoft Net Framework items and then ... Start, Help and Support, Keep your Windows up- to-date with Windows ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)
  • Re: SP3 potential problem
    ... Windows Explorer and I get a message to send the info to MS. ... Remove all SP2 and later Microsoft Net Framework items and then ... Start, Help and Support, Keep your Windows up- to-date with Windows ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)
  • Re: SP3 potential problem
    ... locate and place cursor on Microsoft Net Framework 2.0 ... Start, Help and Support, Keep your Windows up- to-date with Windows ... from the event viewer for the last day or so. ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)