santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Cornelis <>
Subject SignatureProperties.getLength
Date Mon, 20 Apr 2015 09:23:55 GMT

I'm trying to use SignatureProperties to parse an existing XML signature.
In order for getLength() and item(...) to work as expected, I need to 
construct SignatureProperties as follows:
SignatureProperties signatureProperties = new SignatureProperties((Element)

This because getLength() operates on this.constructionElement, and 
XMLUtils.selectDsNodes(...) expects the siblings.
However, doing so, this conflicts with the constructor that requires the 
SignatureProperties element itself instead of the first child element.

I guess this is a bug within SignatureProperties?

Using xmlsec 1.5.8.

Kind Regards,

View raw message