Hello,

     I am trying to implement a program which will help to manage OCF card
     terminals. But I find some problems in incorporating the PS/SC
     terminals in this. The tool displays information like the port of the
     reader, whether it is active or inactive etc. It is also possible to
     activate or disactivate a reader. (activate means the reader is
     present physically and available for use by client program).

     It is found that for PC/SC readers it is not possible to have
     information as it is displayed for other readers.
     In the reader manager, the entry for the PC/SC card terminals will
     look  like the following.

      PC/SC10 * Gemplus  OROS based Readers  0
      PC/SC10 * Gemplus  OROS based Readers  1

     ..etc

     But status active /inactive cannot be displayed.  The activate/
     disactivate  button also cannot be implemented  for PC/SC.  Testing
     also is not possible.  If an active reader is unavailable an exception
     will not be thrown.

     Detailed description:

     The opencard.terminals property string for the PC/SC readers consists
     of only the factory name. The PCSC Resource Manager is maintaining a
     list of installed drivers in the system. The OCF wrapper class will
     get the list of reader entries from this PCSC Resource Manager. The
     factory object (PCSC10CARDTERMINALFACTORY) will create a
     CardTerminalObject for each entry in the list of readers supplied by
     the PCSC Resource manager. The PCSC CardTerminal does not have any
     suitable method to check for the presence of the reader.  Unlike the
     GemplusCardTerminal implementation of the open () and close () method
     which throws the CardTerminalException if the reader is not connected
     to the host, PC/SC CardTerminal implementation (for the above
     mentioned methods) will not throw any exceptions if the reader is not
     connected to the host.

      The terminal status can not be determined by merely calling open and
     close methods. Therefore finding out the reader status is not possible
     with the use of the above methods.






 ----------------------------------------------------------------
 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