RE: Cannot decrypt files encrypted using Crypto API on a different
- From: vishalchowdhary <vishalchowdhary@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 15 Jan 2009 09:37:01 -0800
Hi Mounir,
I have sent the encrypt/decrypt methods to you at
mounir@xxxxxxxxx
Any feedback from you would be great help.
Thanks,
Vishal
"Mounir IDRASSI" wrote:
Hi,.
This error means "Key does not exist" which leads me to suspect that you are
passing a invalid key handle in the hPubKey parameters. If the blob contains
data encrypted with an exchange key, you have to check that the you have
acquired the right handle to it from the CSP.
Can you post a snippet of your code to show how you perform the operation?
Cheers,
--
Mounir IDRASSI
IDRIX
http://www.idrix.fr
To reach me: mounir_idrix_fr (replace the underscores with the at and dot
characters respectively)
"vishalchowdhary" wrote:
Hi,
I'm new to the Crypto API and used it to encrypt a bunch of files. The
decryption works fine on my machine. However, when I try to decrypt the
encrypted files on a different machine, I get the error code 8009000d for
CryptImportKey()
Can anyone please help me?
Thanks,
Vishal
- References:
- Cannot decrypt files encrypted using Crypto API on a different mac
- From: vishalchowdhary
- RE: Cannot decrypt files encrypted using Crypto API on a different mac
- From: Mounir IDRASSI
- Cannot decrypt files encrypted using Crypto API on a different mac
- Prev by Date: RE: Cannot decrypt files encrypted using Crypto API on a different mac
- Next by Date: RE: Cannot decrypt files encrypted using Crypto API on a different mac
- Previous by thread: RE: Cannot decrypt files encrypted using Crypto API on a different mac
- Next by thread: RE: Cannot decrypt files encrypted using Crypto API on a different mac
- Index(es):
Relevant Pages
|