|
callback functions getPin with pkcs11: msg#00220encryption.opensc.devel
Hi, I try to use callbacks function of pkcs15 with pkcs11, but I have some problem. I can implement and use my callbacks functions getPin and getKey (sc_pkcs15init_callbacks) using the function sc_pkcs15init_set_callbacks but only when I use pkcs15 functions. When I want to use pkcs11 API, and I try to use the callback function the pointer to my callback is everytime NULL (sc_pkcs15init_bind) when profile->cbs = &callbacks. I would like to this to create data object with C_CreateObject. Indeed, If my token has a Security officier pin code, I need to authenticate the token when the process creating the dof file (in my case 4405). But the callback function cannot be called. The data object is well created, but not the dof (4405). Idee? Jean-Luc
OpenSC-devel mailing list OpenSC-devel@xxxxxxxxxx http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | openct frozen, release candidate 0.6.4rc1 available: 00220, Andreas Jellinghaus |
|---|---|
| Next by Date: | Re: Various small changes to OpenSC: 00220, Nils Larsch |
| Previous by Thread: | callback functions getPin with pkcs11i: 00220, Jean-Luc Gyger |
| Next by Thread: | how to make a mozilla plugin which use opensc: 00220, Francois NOEL |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |