Murugan Selvaraj wrote:
Hi

I am trying to do the enveloped XML digital signature for following requirements.

1)Parse the given XML and get the requested node from the XML File

2)Then do the digital signature only for the element and get the XML signature structure

3)Put the XML signature structure back the same XML file in specified element.

You don't need to do step 3. The XML Signature element must be in place in the document *before* generating the enveloped signature. The Apache library takes care of all of these steps for you when creating an enveloped signature, the resulting signed document will already contain the signature element.

--Sean


Reply via email to