|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Andreas Schwier (andreas.schwier
cardcontact.de)Date: Tue Jul 31 2001 - 11:02:23 CDT
Hi Naomaru
Our driver for the ORGA ECO 5000 automatically sends GET_RESPONSE; if the
card returns '61 xx' or '9F xx' and the application passed a case 4 command
APDU to the reader. The class byte for GET_RESPONSE is copied from the class
byte used for the original command.
IMHO this is the way it should be done, because GET RESPONSE (as well as PUT
ENVELOPE) is a command of the T=0 transport layer and it should be invisible
for the application. The application should never really care whether a card
speaks T=0 or T=1. Unfortunately the designer of the PC/SC specification
didn't really follow this concept.
On the other hand there are (very old) cards out there, which may not work
because they require a different GET_RESPONSE. For such cases it might make
sense to disable automatic generation of GET RESPONSE.
Andreas
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]