Open GoogleCodeExporter opened 9 years ago
Hi, i have same issue and solved like that. Do you think if it cause a side effect?
Reference r = si.item(i);
if (r.getContentsAfterTransformation().getSubNode() == targetSigValueElem)
// The signature references the SignatureValue element.
return new CounterSignatureProperty(res);
else if (r.getContentsBeforeTransformation().getSubNode() == targetSigValueElem)
// The signature references the SignatureValue element.
return new CounterSignatureProperty(res);
Original comment by mustafa....@net-bt.com.tr
on 12 Jul 2014 at 12:11
Yes. If, for instance, the transforms include a XPath transforms, the
SignatureValue element may be referenced by the URI but then not being signed..
That's why I left the suggestion of only allowing some transforms. Not sure how
to solve it yet.
Original comment by luis.fgoncalv
on 13 Jul 2014 at 10:34
Original issue reported on code.google.com by
luis.fgoncalv
on 12 Dec 2013 at 11:10