1. Can you modify your card or is it read-only?
   - Depending on that, you need to write pkcs15init/pkcs15-yourcard.c
2. If your card is read-only, you need to write libopensc/card- 
yourcard.c and libopensc/pkcs15-yourcard.c

Your step 3 requires no extra effort

m.
On 09.12.2008, at 13:47, Egon wrote:

> Hi everybody
>
> I wrote a message several days before. Thank you for your response.
>
> Now, I found a way in order to pass a p12 certificate from to  
> firefox via opensc and pkcs11. But I need some information or guide.
>
> First, I must to write a profile file in /usr/share/opensc/ 
> newcard.profile . In order to define my data arquitecture (DFs and  
> EFs )
>
> Second, I must to write a driver ( card-dummy.c that I found ) that  
> it implements several methods ( sc_module_init ).
>
> Third, via pkcs11 of opensc i must connect to firefox.
>
> I can write the first step, but I dont know how i can do next steps.
>
> Can anyone, tell me if my steps are correct or are incorrect. Is  
> there any sample card driver complete??
>
> Thank you very much
>
> _______________________________________________
> opensc-devel mailing list
> opensc-devel@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-devel

-- 
Martin Paljak
http://martin.paljak.pri.ee
+372.515.6495




_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to