Groups | Blog | Home
all groups > dotnet security > june 2006 >

dotnet security : How to - PKCS#7 in c#



kplkumar
6/30/2006 8:03:25 AM
Hi

I am new to cryptography.
Our application is supposed to send out an XML message to an external
system. The requirement is to encrypt it with PKCS#7? How do I do this
in c# code. I could not find any examples.

Thanks in advance.
Joe Kaplan (MVP - ADSI)
6/30/2006 10:27:19 AM
Have you looked at the CMS message stuff in .NET 2.0
(System.Security.Cryptography.Pkcs)? That's how PKCS #7 is supported in
..NET. If you aren't using .NET 2.0, you will have a fair amount of p/invoke
to the crypto API or CAPICOM to achieve similar goals.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
[quoted text, click to view]

AddThis Social Bookmark Button