When I verify, I am aware that I will use the X509Certificate node for verifying but I also want to parse the X509Certificate separately and confirm it is the certificate I expect - the way I am doing this uses XPath and I believed I could search for //X509Certificate however this yields no results.
You are forgetting about namespaces: http://xmlsoft.org/examples/index.html#XPath http://xmlsoft.org/html/libxml-xpathInternals.html#xmlXPathRegisterNs BTW, the certificate used to verify the signature is available in the key object returned in the xmlDSigCtx structure. Aleksey _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
