Re: .NET PKCS#7 ? Where to find it ?
From: Michel Gallant (neutron_at_NOSPAMistar.ca)
Date: 01/29/04
- Next message: Caleb Cha: "Security exception when calling managed dll that calls unmanaged COM object"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Adjusting security setting to run an embedded windows control in IE"
- In reply to: bob biris: "Re: .NET PKCS#7 ? Where to find it ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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?
- Next message: Caleb Cha: "Security exception when calling managed dll that calls unmanaged COM object"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Adjusting security setting to run an embedded windows control in IE"
- In reply to: bob biris: "Re: .NET PKCS#7 ? Where to find it ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|