Friday, June 18, 2010 5:13 AMi test my sc minidriver with certutil tool
certutil -delkey -csp "Microsoft Base Smart Card Crypto Provider" "80df03d4-70f9-4b9b-a5d4-f43e2022b3a2"
"80df03d4-70f9-4b9b-a5d4-f43e2022b3a2" is GUID of the container created by base smart card csp in cmck test.
both commands report the same error.
0x80090016 Keyset does not exist
from my minidriver log, i see that it stoped at CardReadFile("cardcf").
here is the data on my card at that moment:
"cardcf" 6 bytes 0x000001000300
"cmapfile" under "mscp" 86 bytes
i cannot see anything wrong with data cache file.
Can anybody give me some help????
Monday, June 21, 2010 8:17 AM
CryptAcquireContext with CRYPT_DELETEKEYSET returns NTE_BAD_KEYSET.
CryptAcquireContext with CRYPT_NEWKEYSET returns NTE_EXISTS.
i think maybe it's related to permissions, but what is the access permission to a smart card?
Saturday, March 17, 2012 10:23 PM
Get a look at the cmck.exe program.
See the following notes :