Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

I have a HTML page(A Form) where user will enter his details. Details to enter are
Now when user enters all details and click Button then I will create xml file containing the user details like


After this I want to sign this xml file using XMLSignature. I want to sign only two elements of document i.e name and salary element using XSLT transform and some digest and signature method.

My question is how to use the XSLT transform in our xmlsignature's transform element. What is the best way to achieve this?

One more issue when the user presses Another Button in HTML page, He should be shown the elements which are signed i.e name and salary should be displayed to user. How can I achieve that. Will XSLT transform plays a role here also?

Note: I am using Java libraries for XMLSignature

Note 2: I have asked same question in stackoverflow site. Here is link http://stackoverflow.com/questions/10680590/xslt-tranform-in-xmlsignature-form-a-part-of-xmldocument. If i get answer i will remove that.

share|improve this question

closed as off topic by fgrieu, CodesInChaos, Ninefingers May 21 '12 at 13:20

Questions on Cryptography Stack Exchange are expected to relate to cryptography within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.