com.jaccal.command.iso
Class ISOReadRecord
java.lang.Object
com.jaccal.command.Command
com.jaccal.command.iso.ISOCommand
com.jaccal.command.iso.ISOReadRecord
- Direct Known Subclasses:
- GSMReadRecord
- public class ISOReadRecord
- extends ISOCommand
- Author:
- Thomas Tarpin-Lyonnet
Constructor Summary |
ISOReadRecord(String recordNumber,
String le)
Construct a ISO APDU command that reads the record number recordNumber
from the current selected file. |
ISOReadRecord(String fileSFI,
String recordNumber,
String le)
Construct a ISO APDU command that reads the record number recordNumber
in the file specified by fileSFI. |
Methods inherited from class com.jaccal.command.Command |
getBytes, getCla, getData, getIns, getLc, getLe, getP1, getP2, setData, setLc, setLe, setP1, setP2, toString |
ISOReadRecord
public ISOReadRecord(String recordNumber,
String le)
throws CardException
- Construct a ISO APDU command that reads the record number recordNumber
from the current selected file.
- Parameters:
recordNumber
- Hexadecimal value of the record number. Ex:"0C"le
- Hexadecimal value of the expected length. Ex:"AB"
- Throws:
CardException
ISOReadRecord
public ISOReadRecord(String fileSFI,
String recordNumber,
String le)
throws CardException
- Construct a ISO APDU command that reads the record number recordNumber
in the file specified by fileSFI.
- Parameters:
recordNumber
- Hexadecimal value of the record number. Ex:"0C"fileSFI
- Hexadecimal value of the file SFI. Ex: "08"le
- Hexadecimal value of the expected length. Ex:"AB"
- Throws:
CardException
Copyright © 2005 Chang Sau Sheong, Thomas Tarpin-Lyonnet. All Rights Reserved.