Hi all,
I do not know if you are able to help me but will give it a try.
Currently I need to write my finals at University and decided to write about national identity cards.
Since I am Belgium citizen I am focussing on the Belpic card. I got/collected already all belpic documentation freely available.
Now I am considering to write a small "ADPU Script" to demonstrate how to sign a simple SHA1 Hash (RSA).
Unfortunatly I do not have my card yet so I cannot write it myself. Reading the documentation it should be only a few commands. So maybe somebody can send them to me?
Let me write what I figured out till now.
1. First I select the root 3f00 with select file
2. Then I select the belpic application with the AID
3. Now I verify PIN. (But which format does it has to be? PIN2, Ascii....)
4. Now switch the security environment (But which one do I have to use?)
5. Now I call the command to sign the hash. But do I send just the simple hash to the card or do I have to include it in an ASN.1 structure.
It would be really great if somebody could correct my points 1-5. Even greater would be if somebody even knows the ADPU commands.
TIA and Kind Regards
Arijen Geerts
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel