I want to be able to read and write to smart card. I have a HID OMNIKEY 3121 reader and a CryptoMemory 64 Kbit AT88SC6416C smart card. I program in C# (VS2008).
What I want is a wrapper class that would do all the necessary operations with the card like but not limited to the following:
- Create/Update password
- Pass password to card before read/write operation
- Enable/Set encryption
- Disable encryption
- Read from card memory
- Write to card memory
- Work with check sum
In the end, I want to able to work with one class that would be responsible for doing the above operations. Some of the data to be stored include Surname, First Name, Date of Birth, ID Number, Photo (4kb), Other Binary Data (2kb).
For example, if I want to read Surname data from card, I should be able to instantiate the class and call a getSurname method, same should apply if I want to write to card e.g. setSurname(string surname) method.
I hope my explanation is clear enough.
I don't want to pay for third party libraries except there is no other alternative.
It is important to note that the work needs to be completed in about 2 days or preferably less.