OpenConext/OpenConext-engineblock — pull request #6 by joostd (2013-09-19 14:35:46+00:00)
Title: fix a problem with signature validation due to incorrect cloning of refe...

...renced element

When cloning elements that are signed using XMLDSig there is a risk of pulling in namespace declarations from parent nodes. This alters the XML document in such a way that the digest changes, and hence the signature breaks.

By applying transform on the original data, we can circumvent this problem.