Hi, I'm starting with XML DSIG and Apache Security and I'm getting some errors from XML documents I've signed. When I sign the whole document I have no problem. I can generate the Signature node wherever I want and verification process works fine.
My problem is the next: lest's say I have an XML similar to <data> <data1>Text 1</data1> <data2>Text 2</data2> </data> I'd like to sign each data node independently and get something like <data> <data1>Text 1 <Signature>SignInfo, keys, digest, etc.</Signature> </data1> <data2>Text 2 <Signature>SignInfo, keys, digest, etc.</Signature> </data2> </data> Is it possible with XML DSIG? Any sample of how to make it work? Thanks in advance Jorge