hi all...
i've been asking questions here for a few months now without getting any reply. i've been using the code base to implement apparently a way more complicated task and it looks like im not that far way. im not sure where else to turn for help since this is the only form indicated on the github page...
so... i'm gonna try one more time...
in the code, in the file xmlseclibs.php there is a function called calculateDigest which does exactly that - hashes tags passed to it for a tag in the xml document called DigestValue. the problem is that the tags passed and their final version after the xml is rendered look different and that is tripping the check on the other end.
here is an example:
this is the tag as passed to calculateDigest:
<wsu:Created>
2016-04-29T00:29:44Z
</wsu:Created>
<wsu:Expires>
2016-04-29T01:29:44Z
</wsu:Expires>
</wsu:Timestamp>
this is how it looks like after final rendering with saveXML():
<wsu:Created>
2016-04-29T00:29:44Z
</wsu:Created>
<wsu:Expires>
2016-04-29T01:29:44Z
</wsu:Expires>
</wsu:Timestamp>
i'd like to know why is this happening?