Le mardi 16 février 2016 02:01:01 UTC+1, Wan-Teh Chang a écrit : > On Sat, Feb 13, 2016 at 3:56 PM, WebDoctor <yassine.sa...@gmail.com> wrote: > > > > Thank you for your answer, but when i try to call PK11_Verify inside a js, > > I I get message errors back as:"Couldn't find function symbol in Library" . > > This probleme is disccused in : > > http://stackoverflow.com/questions/31064708/is-pkcs11-verify-function-supported-in-nss-3-18-1-public-function > > I looked into this. PK11_Verify has been exported from nss3.dll since > January 2001: > > https://hg.mozilla.org/projects/nss/rev/744b3c752c14 > > In the current version of NSS, I used the "dumpbin" command to verify > that PK11_Verify is exported from nss3.dll: > > $ dumpbin -exports nss3.dll | grep PK11_Verify > 584 247 00001AAA PK11_Verify = @ILT+2725(_PK11_Verify) > 585 248 00001B63 PK11_VerifyKeyOK = @ILT+2910(_PK11_VerifyKeyOK) > 586 249 00003111 PK11_VerifyRecover = @ILT+8460(_PK11_VerifyRecover) > 587 24A 0000172B PK11_VerifyWithMechanism = > @ILT+1830(_PK11_VerifyWithM > echanism) > > But it just occurred to me that you may be using the nss3.dll file > from a Mozilla Firefox installation. (Firefox does a custom build of > NSS.) If so, I think the solution is to add PK11_Verify to > http://mxr.mozilla.org/mozilla-central/source/config/external/nss/nss.symbols, > or to use the VFY_ functions in that file. > > Wan-Teh
Thank you so much, yeah I use the nss3.dll file from a Mozilla Firefox installation. Because I'm trying to develop a Firefox extension that use impelments cryptographic oprations. Ok i'll try to add PK11_Verify to http://mxr.mozilla.org/mozilla-central/source/config/external/nss/nss.symbols. So in that case I think i need to rebuilt Mozilla Firefox? I appreciate so much your help. Yassine!! -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto