OpenSC/OpenSC — pull request #39 by viktorTarasov (2012-05-22 15:49:16+00:00)
Title: pkcs11: prepare multi applications modes

Hi,

There are proposals to modify the internal API of pkcs#11 framework and
prepare opensc pkcs11 module for support of the multi on-card applications.

summary of changes:
- simplify some of the framework handles: remove from the prototype the arguments that can be derived from the other arguments; for exemple: foo(slot, slot->card) --> foo(slot)
- add the 'application' argument to the bind, unbind and similar handles;
- placehold for more then one framework data attached to the 'pkcs11card' object.
- placehold for future 'derive' and 'can_do' handles.

Viktor.