KOBIL Smart Card Terminal Manual
Page
39
9 The Smart card Terminal File System
The smart card terminal (CT) file system serves the representation and configuration
of special properties of smart card terminals. In the cases of the KAAN Standard Plus
and the SecOVID Reader Plus, it is entirely simulated in the CT-API DLL
(CT32.DLL). It has a hierarchical set-up and the following properties:
• You can assign reading and/or writing privileges to files or directories.
• You can assign a password to any file or any directory in order to protect the
reading- and/or writing access. The length of the password is limited to 256
bytes.
• The length of files or directories is limited to 65,535 bytes.
• Aside from normal files, special files controlling the device access are supported
as well.
The file system always contains an active file that is referenced for the commands
'Read Binary', 'Write Binary', 'Erase Binary' and 'Verify'. The active file is selected
with the command ‘Select File.’ The active file can also be a directory. After the reset
the master file is set as active file.
9.1
File Control Information
The file control information consists of 10 bytes, and has the following structure:
Byte Significance
Coding
1 -2 Current size
16 Bit binary
3 -4 Size of the memory
reserved
16 Bit binary
5.00 Displays (Flags)
Bit 1 (LSB) Writing access is password-protected
Bit 2
Writing access
Bit 3
Reading access is password-protected
Bit 4
Reading access
Bit 5
Password verified
Bit 6
0 (reserved)
Bit 7
0 (reserved)
Bit 8
(MSB)
File is a directory
6.00 Reserved
At present 0
7 - 8 Internal use
16 Bit binary (pointer)
9 - 10 Internal use
16 Bit binary (pointer)
Table 11: Coding the Data Control Information
The file control information is displayed in the response for the ‘Select File’-
command.