com.jaccal.command.iso
Class ISOUpdateBinary

java.lang.Object
  extended bycom.jaccal.command.Command
      extended bycom.jaccal.command.iso.ISOCommand
          extended bycom.jaccal.command.iso.ISOUpdateBinary

public class ISOUpdateBinary
extends ISOCommand

Author:
Thomas Tarpin-Lyonnet

Field Summary
 
Fields inherited from class com.jaccal.command.Command
cla, data, ins, lc, le, p1, p2
 
Constructor Summary
ISOUpdateBinary(String offset, String dataToUpdate)
          Construct a ISO APDU command updates the current selected file
from the offset specified in offset
ISOUpdateBinary(String fileSFI, String offset, String dataToUpdate)
          Construct a ISO APDU command updates the file specified by fileId
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

ISOUpdateBinary

public ISOUpdateBinary(String offset,
                       String dataToUpdate)
                throws CardException
Construct a ISO APDU command updates the current selected file
from the offset specified in offset

Parameters:
offset - Hexadecimal value of the offset from where the data have to be updated
dataToUpdate - Hexadecimal value of the data to be updated
Throws:
CardException

ISOUpdateBinary

public ISOUpdateBinary(String fileSFI,
                       String offset,
                       String dataToUpdate)
                throws CardException
Construct a ISO APDU command updates the file specified by fileId
from the offset specified by offset

Parameters:
offset - Hexadecimal value of the offset from where the data have to be updated
fileSFI - Hexadecimal value of the short file identifier
dataToUpdate - Hexadecimal value of the data to be updated
Throws:
CardException


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