RE: Removing references in xml-security-c

2009-06-23 Thread Scott Cantor
John Keeping wrote on 2009-06-20: > Yes, this works fine if I remove the reference elements from the DOM. As > for resigning in general, isn't that what the templatesign tool does? Literally have no idea. > Interestingly, while checking the source for that tool, I noticed that > DSIGSignature::cl

Re: Removing references in xml-security-c

2009-06-20 Thread John Keeping
Scott Cantor wrote: > John Keeping wrote on 2009-06-19: >> It seems that just removing a reference from a DSIGSignature object is >> not sufficient to do this, as the XML Reference element is still in the >> document (although it is not updated). > > That seems like a fundamental problem that has

RE: Removing references in xml-security-c

2009-06-19 Thread Scott Cantor
John Keeping wrote on 2009-06-19: > I'm working on a product which needs to resign documents after modifying > them and in some cases this involves removing references from the > signature (for example if the referenced element has been deleted). > > It seems that just removing a reference from a