OpenSC/OpenSC — pull request #86 by CardContact (2012-08-24 07:50:35+00:00)
Title: Add minidriver support for SmartCard-HSM

For integration with minidriver we've added processing of the SmartCard-HSM's device certificate. The device certificate contains the device serial number as character string. This is mapped to tokeninfo->serial_number and SC_CARDCTL_GET_SERIALNR.

In order to allow character based serial numbers, a patch to minidriver.c is included. This patch allows processing of serial numbers that are not composed of all hexadecimal characters. The patch has been discussed on the opensc mailing list.