Hello,
Thank you for the answers. Sometimes it is difficult to get all restrictions
all together in one place from the ISO spec. :-(
Is there any restrictions for using p1 and p2 bytes in my own APDU commands
(with the unique CLA INS)?
For example:
Is the following APDU Command legal:
0xB0 0x20 0xFF 0x07 .....
Thank you.
Regards,
Jose
----- Original Message -----
From: Cedric Huet <[EMAIL PROTECTED]>
To: Sebastien Jean <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 4:00 PM
Subject: Re: [OCF] CLA, INS, SW available/reserved values
INS must not be an odd one (1 3 5 ...) due to ACK protocol at transport
level.
CLA Must no be any 6X or 9X, most of the time user app may use 00. ISO
standards indicates partitions in CLA, with reserved, forbidden and free
ranges.
SW1 must be one of 6X or 9X
Reading ISO 7816_3 and 7816_4 standards is strongly recommanded.
90 00 ;)
CH
At 16:51 28/03/2001, Sebastien Jean wrote:
>For Ins, use what you want.
>For CLA, avoid to use card supported CLAs. To know what CLA are supported,
>the
>easyest way is to build an ocf client that
>send APDU to the card (without data) and look for CLA_NOT_SUPPORTED SWs
>
>For SWs, avoid to use the ISO defined ones,
>Just have a look to the ISO7816 interface of the javacard on-card API to
>see
>what they are.
>
>Hope this helps,
>Baz
>
>--
>S�bastien Jean (a.k.a. Baz)
>PhD candidate
>LIFL - Universit� des Sciences et Technologies de Lille,
>Batiment M3, bureau 111, F-59655 Villeneuve d'Ascq C�dex
>France
>Tel : (+33/0) 320 336 132 , Fax: (+33/0) 320 436 566
>mailto:[EMAIL PROTECTED] , http://www.lifl.fr/~jean
>"if you are aware...you can succeed(Jean-Claude Van Damme)"
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
---
> 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.