Hi,

sendComandApdu(AppletID aid, CommandAPDU cmd) in BasicAppletCardService 
obviously takes an applet ID.  My question is: does this method do applet 
selection implicitly or does one have to explicitly select the applet before 
invoking this method?  If one has to explicitly select the applet, the 
AppletID parameter seems superfluous.  

Second question: In one of the smart card tutorials it says the select 
command APDU looks like this:

CLA     INS     P1      P2      Lc              Data            Le
0x00    0xA4    0x04    0x00    aid.length      byte[] aid      0x00

I hope the spacing makes it accross the net.

In the JavaCard 2.1.1 API I find no mention of the P1 associated with 0x04.  
Is P1 containing 0x04 part of the select() command APDU, or not?

As an aside, many of the documents dealing with smart cards seem very old, 
relatively speaking.  At the smart card alliance the last update of the ISO 
standards page was on January 10, 2000. The OCF-1.2  API itself is some years 
old.  I've been told to use JDK1.2.2 to avoid problems. Is it my imagination 
or is there some stagnation in smart card development?

Thanks very much,
-- 
Chris Malan
[EMAIL PROTECTED]


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to