Re: Strange signature behaviour

2007-07-25 Thread Daniele Gagliardi
This morning I did another test: I made signatures using XPath2Container, and now I have good signature and verifications. I replaced the section // Set XPATH and adding as a transform XPathContainer xpathContainer = new XPathContainer(doc); xpathContainer.setXPathNamespaceContext("ds",

Strange signature behaviour

2007-07-24 Thread Daniele Gagliardi
I have a strange verification behaviour. I'm trying to sign portions of a XML document using ds:XPath element, as follows (the XML documents contains some users info: firstname, lastname, age and serial, each of one is represented by a XML element): //... opening keystore File keystoreFile= new