Open rsantellan opened 6 years ago
same issue
if sign XML like this, validation passes
<request>test</request>
if validate xml like this, validation fails
<ns2pep:request xmlns:ns2pep="http://3001_v2.reports.egp.gbdul.tamur.kz">test</ns2pep:request>
Hi, I'm signing an xml with the following code:
The xml it generates is:
I validate the signature using this: http://www.oracle.com/technetwork/articles/javase/dig-signature-api-140772.html an is always false. First it adds an URI on the reference tag that is incorrect, but it always validate wrong.
What I'm doing wrong ? Regards.