[xmlsec] Trouble by verification
Jürgen Heiss
jheiss at Mesonic.com
Thu Aug 24 02:22:22 PDT 2006
Please note that I use the binarys ;o(
node = xmlSecFindNode(xmlDocGetRootElement(doc), xmlSecNodeSignature, xmlSecDSigNs);
/* sign */
start_time = clock();
if(xmlSecDSigCtxInitialize(&dsigCtx, gKeysMngr) < 0)
return -1;
if(xmlSecDSigCtxVerify(&dsigCtx, node) < 0)
{
xmlSecDSigCtxFinalize(&dsigCtx);
if(data != NULL)
xmlSecAppXmlDataDestroy(data);
return V_NOSIGNATUR;
}
Note that at this point
dsigCtx.signKey->dataList == NULL !
-----Original Message-----
From: Aleksey Sanin [mailto:aleksey at aleksey.com]
Sent: Mittwoch, 23. August 2006 17:35
To: Jürgen Heiss
Cc: xmlsec at aleksey.com
Subject: Re: [xmlsec] Trouble by verification
There should be an error reported. Can you put a breakpoint in the xmlSecError() function? Can you try to verify the file using xmlsec command line tool?
Aleksey
Jürgen Heiss wrote:
> Its not directly an error msg ;o(
> The problem is that I get an dsig.signKey but the datalist from the signkey is empty!
> If I remove the blue lines it works!
> Any idea?
>
>
More information about the xmlsec
mailing list