Hi everyboy

Thank you for your quick response.

Now, my card is read only... in future, i will try to do writable... :). I 
think that it can be easy if my card is read only.

Is there any skeleton of files, structures or similar in order to do this new 
driver? Why do you know that i must to write a pkcs15-mycard.c ? Why must this 
file be in pkcs15 directory??

Thank you very much.

--- El mar, 9/12/08, Martin Paljak <[EMAIL PROTECTED]> escribió:
De: Martin Paljak <[EMAIL PROTECTED]>
Asunto: Re: [opensc-devel] Developing new card driver over opensc
Para: [EMAIL PROTECTED]
CC: [email protected]
Fecha: martes, 9 diciembre, 2008 1:11

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
> [email protected]
> http://www.opensc-project.org/mailman/listinfo/opensc-devel

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







      
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to