Click to See Complete Forum and Search --> : Java xml signature


srividhya
07-29-2009, 01:41 AM
Hello sir/madam,
This is Srividhya working as Junior Research fellow in N.I.C, Otc.
Now am developing the code to sign the xml document(xml signature) using core java technology. Here the whole document signing is working fine. But in case of multiple signing of a single xml file, signature for separate node is working fine, Signing only the whole document is also working fine ...but if am signing the whole document including the signature of separate nodes is not working. Please help me ...to solve this problem...

Thanking you,
Srividhya.N

JavaServlet
07-29-2009, 06:08 PM
It is not working after you try and verify using the same key?

You should embed the signature element in the document by a call to the XMLSignature.getElement(). This will get the element node from the signature.