Verifying Signed XML files.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wanni
    New Member
    • Jan 2009
    • 13

    Verifying Signed XML files.

    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
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    What exactly do you mean by verifying an XML file? Do you mean validating?

    Comment

    • wanni
      New Member
      • Jan 2009
      • 13

      #3
      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.

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        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.

        Comment

        • wanni
          New Member
          • Jan 2009
          • 13

          #5
          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.

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            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?

            Comment

            • wanni
              New Member
              • Jan 2009
              • 13

              #7
              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.

              Comment

              • acoder
                Recognized Expert MVP
                • Nov 2006
                • 16032

                #8
                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.

                Comment

                Working...