Hi all,
Currently my pkcs#11 is working fine, but there is some strange error when I try to return my smartcard serial number. For the time being, I have return blank character (’ ‘) to the pInfo->serialNumber in the C_GetTokenInfo function and this works fine. Notes will prompt for the User PIN and so on… But when I try to return the serial number(or any other value)to the pInfo->serialNumber, Notes will always gives the following prompt “Please insert the smartcard: test”. This is also true when I tried to return all zero “memcpy(pInfo->serialNumber, “0000000000000000”, 16)”. Seems to me like it only works when I return all black character (’ ').
Is Notes checking the serial number against anything and prompt for the error message.
Thanks!