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",
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