The library API requires the <dsig:Signature> node specification: http://www.aleksey.com/xmlsec/api/xmlsec-xmldsig.html#XMLSECDSIGVALIDATE and the xmlsec command line utility also has an option to set the <dsig:Siganture> node ID attribute with "--node-id" option http://www.aleksey.com/xmlsec/xmlsec-man.html (please do not forget that you have to have DTD if you want to use ID attribute).
In order to verify signature that contains other signatures you need to just verify one after another. However, if you generate such a complex signature you probably want to make sure that you don't have "cross dependencies". Aleksey. Pedro Orrego wrote:
Aleksey,
I'm using XMLSec 0.0.11 and I need to process an xml file that contains many components, each one with its own signature element.
Are there any way to verify the signature of a just a particular component ?
How do I verify the signature of a document that contains elements that are also signed ?
Best regards,
Pedro
_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
