hi friends of muscle,
i write because you are the people who know about
using smartcards on Linux. 

I am working on an application that have to use
smartcards to export private keys and digital
certificates. i have a LTC31 smart card reader from
C3PO (usb interface) and a ceres smart card
(criponita).

Both smart card and reader worked correctly on debian
when i installed the following packages:

libccid 0.9.2-2
libpcsclite1  1.2.9-beta6-1
libusb  1:0.1.8
pcscd  1.2.9-beta6-1
pcsc-tools 1.4.0-1

I could scan the reader and card with: 
moe:~# pcsc_scan
PC/SC device scanner
V 1.4.0 (c) 2001-2004, Ludovic Rousseau
<[EMAIL PROTECTED]>
PC/SC lite version: 1.2.9-beta6
Scanning present readers
0: LTC31 00 00

Wed Aug  3 08:50:15 2005
 Reader 0 (LTC31 00 00)
        Card state: Card removed,

Wed Aug  3 08:50:41 2005
 Reader 0 (LTC31 00 00)
        Card state: Card inserted,
        ATR: 3B EF 00 00 40 14 80 25 43 45 52 45 53 57
01 16 01 01 03 90 00

ATR: 3B EF 00 00 40 14 80 25 43 45 52 45 53 57 01 16
01 01 03 90 00
+ TS = 3B --> Direct Convention
+ T0 = EF, Y(1): 1110, K: 15 (historical bytes)
  TB(1) = 00 --> Programming Param P: 0 Volts, I: 0
milli-Ampères
  TC(1) = 00 --> Extra guard time: 0
  TD(1) = 40 --> Y(i+1) = 0100, Protocol T = 0
-----
  TC(2) = 14 --> Work waiting time: 960 x 20 x (Fi/F)
+ Historical bytes: 80 25 43 45 52 45 53 57 01 16 01
01 03 90 00

Possibly identified card:
3B EF 00 00 40 14 80 25 43 45 52 45 53 57 01 16 01 01
03 90 00
        Electronic Identification Card from the FNMT,
the Spanish Official
        Certification Authority

Here is my problem: I have read

*- ISO/IEC 7816 Part 4: Interindustry command for
interchange 

*- MUSCLE PC/SC Lite API
Toolkit API Reference Documentation

*- CamCard C++ class for accessing the University Card
(cambridge university)

*- and many others docs


but i have doubts about the following:

i) how could i set up the smart card file system
according to my needs? or what commands do i have to
use?

ii) where could i find information about the correct
sintax of APDU commands and how to write them? (i have
already read ISO/IEC 7816 Part 4 but i still have some
lagoons)


thanks for all help you could give me,

Antonio Araujo



__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to