Hello,Thanks to OpenSC developers and my colleagues' help, I managed to get a new card supported.
I attached a bzip2 compressed patch, it includes following changes: 1.Support PK/13C, a new Feitian PKI card;Add three driver file "es_pk13c.profile", "pkcs15-es_pk13c.c" and "card-es_pk13c.c". Modified sc_pkcs15_find_prkey_by_reference() so as to generate more than one key pair.
2.Remove unnecessary "struct mf" in "sc_entersafe_create_data"; Many thanks to Weitao, he provides the entersafe driver example. I'd also like to thank Viktor for the inspiring advices and code. It's a scratch, and will be updated, please review it. Regards, Xiaoshuo
trunk.4343.pk13c.tar.bz2
Description: application/bzip2
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel