2007/8/22, Douglas E. Engert <[EMAIL PROTECTED]>: > Nils Larsch wrote: > > Douglas E. Engert wrote: > >> Looking at card.c:sc_detect_apdu_cse there is no check if the reader > >> is capable of extended APDU should there be? > > > > is there a reliable way to detect this ? > > I think with the CCID there is some, but I don't know if PCSC > or OpenCT can pass that back to to OpenSC.
My CCID driver does not provide this information. After reading the "list" of possible attributes [1] I do not find something that could match what we need. Maybe we could use a "proprietary" tag like SCARD_ATTR_MAX_APDU_SIZE. That would somewhat duplicate SCARD_ATTR_MAXINPUT used by my CCID driver to report the maximum length of a command (used in T=0). I don't know if anybody already used SCARD_ATTR_MAXINPUT. bye [1] http://msdn2.microsoft.com/en-us/library/aa379559.aspx -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel