On Mar 6, 2010, at 23:11 , Viktor TARASOV wrote:
> Hi.
> 
> For some cards the reading of the private objects attributes is 
> protected by User PIN.
> 
> Afais, when using emulator, all card's pkcs15 content has to be parsed 
> 'atomically' in the emulator's handler -- there is no possibility to 
> postpone the parsing of some xDFs, as it's actually possible with the 
> 'normal' processing.
> 
> That's why my question - to get PIN value, can some callback mechanism 
> be implemented in libopensc ?
> It can be done like in pkcs15init - static callback pointers. Otherwise 
> (as for me it's better) some entry can be added to the 'sc_pkcs15_card' 
> or to the 'sc_context' structure .
> 
> In such a manner, the 'SECURITY_STATUS_NOT_SATISFIED' problem in the 
> emulator's handler can be resolved.

This would mean postponing the loading at least some or all objects (like 
certificates and public keys?) ?
How would this relate to PKCS#11 and C_Login? 

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


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

Reply via email to