Method Summary |
|
public int | getCurrrentFileSize() Returns the size of currently selected EF or -1 if DF is
selected. |
public TLV | loadObject(Location l) Loads and parses one DER encoded object.
Parameters: l - location of the object. |
public short[] | makePath(TLV t) If necessary converts path into completely specified path. |
public Location | pathToLocation(TLV path) Converts PKCS#15 path into location. |
abstract public byte[] | readData(int offset, int length, int fileOffset) Reads part of selected file. |
public byte[] | readFile() Reads the current EF. |
public void | select(short[] path) Selects file using only SELECT APDU command with file identifier. |
abstract public void | select(short id) Selects file by ID. |
public void | selectRoot(short[] root) Sends the select DF command to the card. |
public void | setRoot(short[] root) Sets the root directory for this file system. |