OK, here are some addendum you might want to print and paste to your Cyberflex Open16K 
documents:

Matteo Campanella wrote:

> On the cyberflex manual it is mentioned that the Selectfile APDU command returns
> among the others, three bytes indicating "access conditions" (bytes 9-11)
> more, it says that byte 14 returns the structure of the EF
>
> I have not been able to find any information about the contents of these three 
>bytes... I suppose it has to be a subset of the 8 bytes ACL one has to specify when 
>creating a file, but ... who knows? does anyone know the exact content of those three 
>bytes?

The 3 types (9-11) have the following meanings:

Access conditions for the following commands are defined:

Byte 9: bits 8-5 for Read; Seek
Byte 9: bits 4-1 for Update
Byte 10: bits 8-5 for Increase
Byte 10: bits 4-1 RFU
Byte 11: bits 8-5 for Rehabilitate
Byte 11: bits 4-1 for Invalidate

The bit values have the meanings:

    Always         0000   '0'
    CHV1           0001   '1'
    CHV2           0010   '2'
    RFU            0011   '3'
    Key 0          0100   '4'
    Key 1          0101   '5'
    Key 2          0110   '6'
    Key 3          0111   '7'
    RFU            1000   '8'
       ........
    RFU            1110   'E'
    Never          1111   'F'


> in the tests i have made using the slbrdr.dll, i have always got byte 14 back as 0, 
>no matter what was the file I selected. Since type 0 is not listed on the manual, 
>what's the meaning of 0? Why didn't I get any other code?

0 means that it is a program file (1 is binary file).

Danny
--
[EMAIL PROTECTED]  Product Manager, Smart Cards, Schlumberger APC
TEL/FAX: +1 512-331-3727         8311 N RR 620, Austin, TX 78726  U.S.A.


***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to