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.


Kind wishes,
Viktor.

-- 
Viktor Tarasov  <[email protected]>

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

Reply via email to