Re: How to - PKCS#7 in c#
- From: "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Jul 2006 02:02:26 -0500
I think enveloped CMS is intended for use without certificates. All of the
recipient and signer classes seem to expect certificates here.
You might be better off finding a different library that does support this
(assuming that CMS actually supports this use case; I'm not sure), or
perhaps rolling your own format that encrypts, then signs.
Why the reluctance to use certificates though?
Best of luck,
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
--
"kplkumar" <kplkumar@xxxxxxxxx> wrote in message
news:1152636653.070488.248800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Dominic.
At this time, we don't want to use certificates. I want to use
public/private key.
All I want is to encrypt the string message using RSA+PKCS#7 and then
add a another layer of digital signing to the encrupted messahe using
the same and send it out.
I am not able to get this going using the
System.Security.Cryptography.Pkcs namespace. I poked around quite a bit
in vain.
Can someone help me here? Some code would be really helpful. Thanks in
advance.
.
- References:
- Re: How to - PKCS#7 in c#
- From: Dominick Baier [DevelopMentor]
- Re: How to - PKCS#7 in c#
- From: kplkumar
- Re: How to - PKCS#7 in c#
- Prev by Date: Re: SMIME Decryption
- Next by Date: Help regarding assigning Strong Names
- Previous by thread: Re: How to - PKCS#7 in c#
- Next by thread: Re: How to - PKCS#7 in c#
- Index(es):
Relevant Pages
|