Re: Problem XML encryption and Decryption

2006-04-28 Thread Milan Tomic
> You need to set preserveWhiteSpace(true) or > something similar to your XML parser (Xerces, MSXML...) > and force it not to do pretty printing. Or, even better, change this line: getElementsbyTagName.item(0).getFirstChild().getValue() into: getElementsbyTagName("MyElement").item(0).getElemen

Re: Problem XML encryption and Decryption

2006-04-28 Thread Milan Tomic
It seems that your document was "changed/modified" a little bit (after decryption). By modified, I mean, that it was "pretty printed". This: some text was changed into: some text Code "getElementsbyTagName.item(0).getFirstChild().getValue()" returns first node and in your case it is (nod

Problem XML encryption and Decryption

2006-04-24 Thread Ramanathan Palaniappan
Hi,I have an application which sends an encrypted XML document (only a single element is encrypted) to another process over SSL. I am able to encrypt, decrypt and recover data as long as I am within the same application but when I trasnmit the file over SSL, problems arise. The other end decrypts t