santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Keeping <j...@metanate.com>
Subject Removing references in xml-security-c
Date Fri, 19 Jun 2009 15:29:50 GMT
Hi,

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 DSIGSignature object is
not sufficient to do this, as the XML Reference element is still in the
document (although it is not updated).

Am I correct in thinking that there is no way to extract information
from a DSIGReference to match it back to the document other than walking
the tree from the signature node looking for it? If so, do you think it
would be possible to add an accessor to DSIGReference for the
mp_referenceNode field?


Regards,

John

-- 
John Keeping
Metanate Ltd
www.metanate.com (Software consultancy)
www.schemus.com (Data synchronisation)

This e-mail and all attachments it may contain is confidential and
intended solely for the use of the individual to whom it is addressed.
Any views or opinions presented are those of the author and do not
necessarily represent those of Metanate Ltd.  If you are not the
intended recipient, be advised that you have received this e-mail in
error and that any use, dissemination, printing, forwarding or copying
of this e-mail is strictly prohibited.  Please contact the sender if
you have received this e-mail in error.


Mime
View raw message