[Muscle] Retrieve SSL cert from Aladdin eToken with libpcsclite
Fletcher Liverance
qwert189 at yahoo.com
Thu Dec 4 05:08:02 PST 2008
Hello,
I have a C application that I'm working on adding smartcard support for. My current block is in retrieving the SSL cert from the smartcard to send to the server.
It seems to me the best way to do this is using libpcsclite. I was hoping for something as simple as 'cert = retrieve_cert(smartcard)', but it looks as if I need to use SCardTransmit and send it a series of APDUs.
My questions are:
What APDUs do I need to send the smartcard to retrieve the cert?
Where can I find a list or tutorial outlining APDU calls?
Are the APDU calls the same across all smartcards or will I need to find the list of APDU calls for the smartcard I'm using? (Aladdin eToken PRO)
Thank you,
Fletcher
More information about the Muscle
mailing list