[Pcsclite-cvs-commit] HandlerTest/JavaCard Cmd.txt,1.1,1.2

rousseau@quantz.debian.org rousseau@quantz.debian.org
Wed, 29 Oct 2003 22:21:36 +0100


Update of /cvsroot/pcsclite/HandlerTest/JavaCard
In directory quantz:/tmp/cvs-serv29646/JavaCard

Modified Files:
	Cmd.txt 
Log Message:
the INS byte shall not be odd. It is forbidden by ISO 7816-4 ch. 5.4.2
Instruction byte. Instead of using INS from 21 to 25 we now use from 30
to 3E with only even values.


Index: Cmd.txt
===================================================================
RCS file: /cvsroot/pcsclite/HandlerTest/JavaCard/Cmd.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Cmd.txt	4 Sep 2003 13:15:35 -0000	1.1
+++ Cmd.txt	29 Oct 2003 21:21:34 -0000	1.2
@@ -9,30 +9,30 @@
 
 Case 1
 ~~~~~~
--> 80 21 00 00 00
+-> 80 30 00 00 00
 <- 90 00
 
 Case 2
 ~~~~~~
--> 80 22 00 00 xy 00 01 02 <- xy bytes -> (xy-1)
+-> 80 32 00 00 xy 00 01 02 <- xy bytes -> (xy-1)
 <- 90 00
-ex: 80 22 00 00 0A 00 01 02 03 04 05 06 07 08 09
+ex: 80 32 00 00 0A 00 01 02 03 04 05 06 07 08 09
 <- 90 00
 1 <= xy <= 255
 
 Case 3
 ~~~~~~
--> 80 23 ab cd xy
+-> 80 34 ab cd xy
 <- 00 01 02 <- ab cd bytes -> (xy-1) 90 00
 	ab cd = 01 00 <=> xy = 00 (256 bytes)
-ex: 80 23 00 0A 0A
+ex: 80 34 00 0A 0A
 <- 00 01 02 03 04 05 06 07 08 09 90 00
 1 <= ab cd <= 256
 Si ab cd = 01 00 alors xy = 0
 
 Case 4
 ~~~~~~
--> 80 24 ab cd xy 00 <- xy bytes -> (xy-1)
+-> 80 36 ab cd xy 00 <- xy bytes -> (xy-1)
 <- 00 01 <- ab cd bytes -> cd 90 00
 
 Get response (case 4)
@@ -42,7 +42,7 @@
 
 Time Request
 ~~~~~~~~~~~~
--> 80 25 00 xy
+-> 80 38 00 xy
 <- 90 00
 
 Wait a amount of time proportionnal to xy. The card Java VM will send