Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
In the org.apache.xml.security.stax.ext.XMLSecurityConstants static initilizer block
following is set
xmlOutputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, true);
because of this the xml is getting updated after it is signed and which ultimately fails the signature validation (Invalid digest of reference).