com.jaccal.command.iso
Class ISOReadBinary

java.lang.Object
  extended bycom.jaccal.command.Command
      extended bycom.jaccal.command.iso.ISOCommand
          extended bycom.jaccal.command.iso.ISOReadBinary
Direct Known Subclasses:
GSMReadBinary

public class ISOReadBinary
extends ISOCommand

Author:
Thomas

Field Summary
 
Fields inherited from class com.jaccal.command.Command
cla, data, ins, lc, le, p1, p2
 
Constructor Summary
ISOReadBinary(String offset, String le)
          Construct a ISO APDU command that reads the current selected file
from the offset specified by offset
ISOReadBinary(String fileSFI, String offset, String le)
          Construct a ISO APDU command that reads the file specified
by fileSFI from the offset specified by offset
 
Methods inherited from class com.jaccal.command.iso.ISOCommand
setCla
 
Methods inherited from class com.jaccal.command.Command
getBytes, getCla, getData, getIns, getLc, getLe, getP1, getP2, setData, setLc, setLe, setP1, setP2, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISOReadBinary

public ISOReadBinary(String offset,
                     String le)
              throws CardException
Construct a ISO APDU command that reads the current selected file
from the offset specified by offset

Parameters:
offset - Hexadecimal value of the offset from where to read. Ex: "01AB"
le - Hexadecimal value of the expected length. Ex: "1A"

ISOReadBinary

public ISOReadBinary(String fileSFI,
                     String offset,
                     String le)
              throws CardException
Construct a ISO APDU command that reads the file specified
by fileSFI from the offset specified by offset

Parameters:
offset - Hexadecimal value of the offset from where to read. Ex: "AB"
fileSFI - Hexadecimal value of the file SFI. Ex: "0C"
le - Hexadecimal value of the expected length. Ex: "1A"
Throws:
CardException


Copyright © 2005 Chang Sau Sheong, Thomas Tarpin-Lyonnet. All Rights Reserved.