Google for a PCSC tutorial, I think it will be easy to
find some exaple code. And it will show you the real
question: it is not hard to connect to a reader and
send a command to the card - but what is the right command?

In theory there is ISO 7816-4 ... -15 standards, but in
practice every card manufacturer is cooking his own stuff,
and you need the manual for the card you bought.

Or you need a java card, and then you can write your own
applet with javacard development kit and install it on your
card. but you still need the card specific documentation
to access some features.

so your next question is most likely: where can you get
those manuals for your card? well, the smartcard world
sucks, about every manufacturer is guarding the "user manual"
as a company secret and won't give you a copy unless you
sign an nda.

sure, there are some cards with open documentation available
(cryptoflex, cyberflex, starcos, acos 5),and there are stores
that sell those cards. but those are the exception rather than
the general rule.

also many cards are locked with a manufacturer key, and the manufacturer
changes that key to the company they sell cards to. so unless you buy
many cards you need a reseller that changes the cards key to some
well known default (e.g. 41 42 ... 4f, or 16 bytes 00) for you,
and of course there might be a fee for that.

does this help?

Regards, Andreas
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to