net.sourceforge.scuba.smartcards
Class ISOFileInfo
java.lang.Object
net.sourceforge.scuba.smartcards.FileInfo
net.sourceforge.scuba.smartcards.ISOFileInfo
public class ISOFileInfo
- extends FileInfo
TODO: Work in progess, very messy at the moment.
- Author:
- Wojciech Mostowski (woj@cs.ru.nl)
FCI_BYTE
public static final byte FCI_BYTE
- This class reflects the File Control Parameters included in the FCI as described in ISO7816-4 in Table 12
- See Also:
- Constant Field Values
FMD_BYTE
public static final byte FMD_BYTE
- See Also:
- Constant Field Values
FCP_BYTE
public static final byte FCP_BYTE
- See Also:
- Constant Field Values
DATA_BYTES1
public static final byte DATA_BYTES1
- See Also:
- Constant Field Values
DATA_BYTES2
public static final byte DATA_BYTES2
- See Also:
- Constant Field Values
FILE_DESCRIPTOR
public static final byte FILE_DESCRIPTOR
- See Also:
- Constant Field Values
FILE_IDENTIFIER
public static final byte FILE_IDENTIFIER
- See Also:
- Constant Field Values
DF_NAME
public static final byte DF_NAME
- See Also:
- Constant Field Values
PROP_INFO
public static final byte PROP_INFO
- See Also:
- Constant Field Values
SECURITY_ATTR_PROP
public static final byte SECURITY_ATTR_PROP
- See Also:
- Constant Field Values
FCI_EXT
public static final byte FCI_EXT
- See Also:
- Constant Field Values
SHORT_EF
public static final byte SHORT_EF
- See Also:
- Constant Field Values
LCS_BYTE
public static final byte LCS_BYTE
- See Also:
- Constant Field Values
SECURITY_ATTR_EXP
public static final byte SECURITY_ATTR_EXP
- See Also:
- Constant Field Values
SECURITY_ATTR_COMPACT
public static final byte SECURITY_ATTR_COMPACT
- See Also:
- Constant Field Values
ENV_TEMP_EF
public static final byte ENV_TEMP_EF
- See Also:
- Constant Field Values
CHANNEL_SECURITY
public static final byte CHANNEL_SECURITY
- See Also:
- Constant Field Values
A0
public static final byte A0
- See Also:
- Constant Field Values
A1
public static final byte A1
- See Also:
- Constant Field Values
A2
public static final byte A2
- See Also:
- Constant Field Values
A5
public static final byte A5
- See Also:
- Constant Field Values
AB
public static final byte AB
- See Also:
- Constant Field Values
AC
public static final byte AC
- See Also:
- Constant Field Values
ISOFileInfo
public ISOFileInfo(byte[] fileInfo)
throws CardServiceException
- Throws:
CardServiceException
getFormatted
public byte[] getFormatted()
toString
public String toString()
- Overrides:
toString in class Object
getFID
public short getFID()
- Returns the file length of the file.
- Specified by:
getFID in class FileInfo
- Returns:
- file length
getFileLength
public int getFileLength()
- Returns the file length of the file.
- Specified by:
getFileLength in class FileInfo
- Returns:
- file length
main
public static void main(String[] args)