Re: signature verification. VFY_CreateContextWithAlgorithmID help

2010-09-08 Thread Robert Relyea
On 09/08/2010 05:52 AM, tedx wrote: > On Sep 8, 3:09 am, Nelson B wrote: > >> On 2010/09/07 17:08 PDT, tedx wrote: >> >> >>> I've hacked up something to try but I've now encountered a >>> compilation error that I don't understand. Has anyone else seen this? >>> nss_signing.c: In function

Re: signature verification. VFY_CreateContextWithAlgorithmID help

2010-09-08 Thread tedx
On Sep 8, 3:09 am, Nelson B wrote: > On 2010/09/07 17:08 PDT, tedx wrote: > > >  I've hacked up something to try but I've now encountered a > > compilation error that I don't understand. Has anyone else seen this? > > nss_signing.c: In function ‘spl_nssVerifySignature’: > > nss_signing.c:172: erro

Re: signature verification. VFY_CreateContextWithAlgorithmID help

2010-09-08 Thread Nelson B
On 2010/09/07 17:08 PDT, tedx wrote: > I've hacked up something to try but I've now encountered a > compilation error that I don't understand. Has anyone else seen this? > nss_signing.c: In function ‘spl_nssVerifySignature’: > nss_signing.c:172: error: storage size of ‘vfy_context’ isn’t known >

Re: signature verification. VFY_CreateContextWithAlgorithmID help

2010-09-07 Thread tedx
On Sep 7, 1:34 pm, Nelson B Bolyard wrote: > On 2010-09-06 08:17 PDT, Xavier Toth wrote: > > > I'm trying to verify the signature of a file I've signed but I don't > > understand where to get the sigAlgorithm and hash to pass to > > VFY_CreateContextWithAlgorithmID. > > I presume you've read the d

Re: signature verification. VFY_CreateContextWithAlgorithmID help

2010-09-07 Thread Nelson B Bolyard
On 2010-09-06 08:17 PDT, Xavier Toth wrote: > I'm trying to verify the signature of a file I've signed but I don't > understand where to get the sigAlgorithm and hash to pass to > VFY_CreateContextWithAlgorithmID. I presume you've read the description of these parameters in http://mxr.mozilla.or

signature verification. VFY_CreateContextWithAlgorithmID help

2010-09-06 Thread tedx
I'm trying to verify the signature of a file I've signed but I don't understand where to get the sigAlgorithm and hash to pass to VFY_CreateContextWithAlgorithmID. I've googled looking for some sample code using the VFY_ apis to verify signatures but I haven't found anything that I could build off

signature verification, VFY_CreateContextWithAlgorithmID help

2010-09-03 Thread Xavier Toth
I'm trying to verify the signature of a file I've signed but I don't understand where to get the sigAlgorithm and hash to pass to VFY_CreateContextWithAlgorithmID. I've googled looking for some sample code using the VFY_ apis to verify signatures but I haven't found anything that I could build off