com.jaccal.command.iso
Class ISOSelect
java.lang.Object
com.jaccal.command.Command
com.jaccal.command.iso.ISOCommand
com.jaccal.command.iso.ISOSelect
- Direct Known Subclasses:
- GSMSelect
- public class ISOSelect
- extends ISOCommand
- Author:
- Thomas Tarpin-Lyonnet
|
Constructor Summary |
ISOSelect(int selectType,
String fileId)
Construct a ISO APDU command that selects the file specified by fileId. |
ISOSelect(String p1,
String p2,
String lc,
String fileId)
Construct a ISO APDU command that selects the file specified by fileId |
| Methods inherited from class com.jaccal.command.Command |
getBytes, getCla, getData, getIns, getLc, getLe, getP1, getP2, setData, setLc, setLe, setP1, setP2, toString |
SELECT_FID
public static final int SELECT_FID
- See Also:
- Constant Field Values
SELECT_AID
public static final int SELECT_AID
- See Also:
- Constant Field Values
ISOSelect
public ISOSelect(String p1,
String p2,
String lc,
String fileId)
throws CardException
- Construct a ISO APDU command that selects the file specified by fileId
- Parameters:
p1 - Hexadecimal value of APDU command p1 parameter. Ex:"0C"p2 - Hexadecimal value of APDU command p2 parameter. Ex:"0A"lc - Hexadecimal value of APDU command lc parameter. Ex:"0C"fileId - Hexadecimal value of the file identifier
- Throws:
CardException
ISOSelect
public ISOSelect(int selectType,
String fileId)
throws CardException
- Construct a ISO APDU command that selects the file specified by fileId.
- Parameters:
selectType - The type of file selection (by FID or AID)fileId - Hexadecimal value of the file identifier to be selected
- Throws:
CardException
Copyright © 2005 Chang Sau Sheong, Thomas Tarpin-Lyonnet. All Rights Reserved.