[xmlsec] Verifing signature of SAML XML artifacts that has an ID attribute in it, but I think I should ignore it

Aleksey Sanin aleksey at aleksey.com
Thu May 24 10:51:57 PDT 2007


> 
> I've tried (all are wild guesses as to the proper values):
>  nodeReference = xmlSecFindNode( xmlDocGetRootElement(doc), "Assertion", NULL );
>  nodeReference = xmlSecFindNode( xmlDocGetRootElement(doc), "saml:Assertion", NULL );
>  nodeReference = xmlSecFindNode( xmlDocGetRootElement(doc), "Assertion", xmlSecDSigNs );
>  nodeReference = xmlSecFindNode( xmlDocGetRootElement(doc), "saml:Assertion", xmlSecDSigNs );

You need to pass *saml* namespace URI.

Aleksey




More information about the xmlsec mailing list