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.

 

How to pass the particular element to do the digital signature?I am trying to do the following But not clear what to do

 

xmlSig= new org.apache.xml.security.signature.XMLSignature(doc, "main", org.apache.xml.security.signature.XMLSignature.ALGO_ID_SIGNATURE_DSA);

 

Regards

Murugan

 

 

Reply via email to