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:[EMAIL PROTECTED]
Sent: Mittwoch, 23. August 2006 17:35
To: Jürgen Heiss
Cc: [email protected]
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?
>
>
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec