com.jaccal.command.iso
Class ISOSelect

java.lang.Object
  extended bycom.jaccal.command.Command
      extended bycom.jaccal.command.iso.ISOCommand
          extended bycom.jaccal.command.iso.ISOSelect
Direct Known Subclasses:
GSMSelect

public class ISOSelect
extends ISOCommand

Author:
Thomas Tarpin-Lyonnet

Field Summary
static int SELECT_AID
           
static int SELECT_FID
           
 
Fields inherited from class com.jaccal.command.Command
cla, data, ins, lc, le, p1, p2
 
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.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
 

Field Detail

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
Constructor Detail

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.