Re: CryptoAPI - how to create EnvelopedData from C#?
From: Michel Gallant (neutron_at_NOSPAMistar.ca)
Date: 03/02/04
- Next message: Doug Barlow: "Re: Moving Private keys among CSP's"
- Previous message: Michel Gallant: "Re: encryption in CAPI"
- In reply to: Anna: "CryptoAPI - how to create EnvelopedData from C#?"
- Next in thread: Anna: "Re: CryptoAPI - how to create EnvelopedData from C#?"
- Reply: Anna: "Re: CryptoAPI - how to create EnvelopedData from C#?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 2 Mar 2004 15:57:43 -0500
This article shows how to envelope encrypt "manually":
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncapi/html/encryptdecrypt2a.asp
You can also Pinvoke directly to create PKCS #7 EnvelopedData using CryptEncryptMessage().
A .NET interop sample showing the decryption of any valid EnvelopedData blob using
CryptDecryptMessage():
http://www.jensign.com/JavaScience/dotnet/DecEnvelop
- Michel Gallant
MVP Security
www.jensign.com
"Anna" <ania_de2004@yahoo.com> wrote in message
news:703FDDF1-FC1B-4099-AA95-AD8A68D9DBA1@microsoft.com...
> hello!
> Does anybody know how using CryptoAPI in .NET to create enveloped message containing:
> encrypted content(with the 3DES algorithm) + encrypted 3DES key (with the RSA) + encrypted IV
(with the RSA)?
>
> Thank you in advance!
> Anna
- Next message: Doug Barlow: "Re: Moving Private keys among CSP's"
- Previous message: Michel Gallant: "Re: encryption in CAPI"
- In reply to: Anna: "CryptoAPI - how to create EnvelopedData from C#?"
- Next in thread: Anna: "Re: CryptoAPI - how to create EnvelopedData from C#?"
- Reply: Anna: "Re: CryptoAPI - how to create EnvelopedData from C#?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|