problem in unwrapping key

2008-06-04 Thread sermagico
Hi all, I try to develop an application for xml encryption/decryption, but I have some issue. I encrypt a file with a AES key, then I wrap this key with a RSAprivateKey and I store it (wrapped AES) in the same xml file. Unfortunately when I try to unwrap the AES key with the PublicKey associated

Re: problem in unwrapping key

2008-06-04 Thread sermagico
wrote: > > You have it backwards. You should encrypt/wrap the AES data encryption > key with the recipient's *public* key. The recipient then decrypts with > their *private* key. > > If you think about the use cases, you'll quickly realize why that is. > &g

Re: problem in unwrapping key

2008-06-05 Thread sermagico
). > > So in your case it would be the AES one for the data encryption key. > So, you would pull that from the > EncryptedData/EncryptionMethod/@Algorithm attribute, not the > EncryptedKey attribute. > > --Brent > > > sermagico wrote: >> Hi Brent, &

XML with multiple signature

2008-06-23 Thread sermagico
Hi all, I would try to develop an application to create a xml file with a double digital signature, but I don't know if is possible and , in this case, how I should proceed. Any help is appreciated. Thanks in advance. Sergio. -- View this message in context: http://www.nabble.com/XML-with-mult