The opencard framework supports the verification of secret codes
     through the CardChannel.SendVerifyAPDU method. This method is final
     and cannot be overriden. It in turn calls the
     CardHolderVerificationGUI.sendVerifiedAPDU method in order to do the
     work. The problem with this method is that it does not support
     ciphering of the PIN should the card application require it.

     The framework should provide a mechanism for this method to be passed
     a helper object to do the ciphering should this be necessary. The
     helper object could implement an interface with a methods such as
     "cipherCHV" and "requiresCiphering" which would be called by the
     CardHolderVerificationGUI object and would be implemented by each Card
     Service.

     Currently the only way to do it is to extend CardChannel and create a
     new method "sendEncryptedVerifiedAPDU" that will do the ciphering. The
     problem is that this extended class cannot access some needed variables
     such as "slot_channel".

     Does anybody have a better solution for this problem?

     Regards,

     Marc Maman



 ----------------------------------------------------------------
 INFORMATION    AUTOMATIC VIRUS CHECK (GEMPLUS)   No virus known.
 ----------------------------------------------------------------





Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.

Reply via email to