Ok for points 1 and 2, I will resend new patchs soon...
For point 3: Sorry it's quite difficult to explain because english is not my first language, so windows basecsp (it's the base component to get a CSP with it's the windows cryptographic standard working with smartcard) provide SCARDCONTEXT and SCARDHANDLE values that you must use. To support opensc in a basecsp I need to fix given value of SCARDCONTEXT and SCARDHANDLE in libopensc and after this I can call opensc functions (reading certificates, sign data etc...). It's more clear? Regards, François. -----Message d'origine----- De : Alon Bar-Lev [mailto:alon.bar...@gmail.com] Envoyé : mardi 8 septembre 2009 10:13 À : François Leblanc Cc : opensc-devel (opensc-devel) Objet : Re: [opensc-devel] Patch adding support for westcos card. Few general notes: 1. Please separate the patch, and send every feature as separate one. 2. Please use UNIX line ends. 3. I do not understand (from your description) why the pcsc change is needed. Regards, Alon. 2009/9/7 François Leblanc <francois.lebl...@cev-sa.com>: > > > Hi there, > > > > I submit this patch to be integrated in opensc, this patch provide support > for 'westcos' card > > > > (westcos 2k by emulating pkcs15 structure and westcos javacard applet with > real pkcs15 structure) > > > > And give the avaibility to fix pcsc card context and handle at the context > creation (see sc_context_create > > > > In ctx.c file). This way an application can use already connected card (I > use this to provide a card minidriver > > > > Dll in windows environnement, so I can develop a minidriver used by Base > CSP and use opensc card under > > > > Windows). This second point may certainly be improve. > > > > If someone can have a look and apply this patch or tell me correction to be > made, > > > > Thank you. > > > > Regards. > > > > > > > > _______________________________________________ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel > _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel