By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,963 Members | 1,863 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,963 IT Pros & Developers. It's quick & easy.

Verifying Signed XML files.

P: 13
Hi All,
I have a signed XML file which i want to use in my JavaScript. Before doing any operation using XML file data , i want to verify XML file signature (to verify file is not tempered with third party attack).

Is this behaviour possible in JavaScript. I want to support this feature both in Windows XP and Windows Vista.

Note For Moderators: I have mistakenly post this in InSights forums. Please forgive me.

Regards.
wanni
Feb 2 '09 #1
Share this Question
Share on Google+
7 Replies


acoder
Expert Mod 15k+
P: 16,027
What exactly do you mean by verifying an XML file? Do you mean validating?
Feb 2 '09 #2

P: 13
I just want to check the signature of XML file (i.e. signing and verification operation). XML file is signed using private key and i just want to check whether signature is valid or not. I am using Internet Explorer (Verison 7) and want to test on Windows XP and Windows Vista.

Regards
wanni.
Feb 2 '09 #3

acoder
Expert Mod 15k+
P: 16,027
You could use some server-side code for this, e.g. see http://msdn.microsoft.com/en-us/library/ms229950.aspx for .NET. You could make a request using Ajax.
Feb 2 '09 #4

P: 13
I dont want to use .Net Enviroment. I signed my XML file through certificate private key and want to verify XML file signtaure in Java Script or ActiveX.

I am using VC 6 enviroment.

Is there any way i can achieve this functionality.

Regards
wanni.
Feb 2 '09 #5

acoder
Expert Mod 15k+
P: 16,027
That was only one example, of course. You could probably use other languages. You may also find controls for ActiveX. What server-side languages can you use?
Feb 2 '09 #6

P: 13
Regarding server side lanuages my first preference would be ASP.
Is there any link or documentataion where i could get a help regarding how to use ActiveX (or its functions) for achieving desired functionality.

Regards
wanni.
Feb 2 '09 #7

acoder
Expert Mod 15k+
P: 16,027
Check the documentation on ASP to see if there's something available that does what you require.

For ActiveX, see http://msdn.microsoft.com/en-us/library/aa751972.aspx.
Feb 2 '09 #8

Post your reply

Sign in to post your reply or Sign up for a free account.