Does really now one have any idea? 
Hi,
 
I use the following code to verify a signed file.
The problem is now, the xmlSecDSigCtxVerify crahses if the certificate isn't installed on my machine!?!
How can I check this file? Can I excract the certificate and load it into a xmlSecKeysMngrPtr?
 
thanks for any help.
 
<some code> 
 
 
 if(xmlSecDSigCtxInitialize(&dsigCtx, gKeysMngr) < 0)
  return (V_INTERNAL);
 
 if(xmlSecAppPrepareDSigCtx(&dsigCtx) < 0)
 {
  xmlSecDSigCtxFinalize(&dsigCtx);
  return V_INTERNAL;
 }
 
 /* parse template and select start node */
 data = "" xmlSecNodeSignature, xmlSecDSigNs);
 if(data == NULL)
 {
  xmlSecDSigCtxFinalize(&dsigCtx);
  if(data != NULL)
   xmlSecAppXmlDataDestroy(data);
  return V_INTERNAL;
 }
 
 /* sign */
 start_time = clock();
 if(xmlSecDSigCtxVerify(&dsigCtx, data->startNode) < 0)
_______________________________________________
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to