Hello All,
How can I import a certificate into IE's "personal" cert store by CryptoAPI? I used following code:
hStoreHandle2 =CertOpenSystemStore(NULL,"MY");
CertAddCertificateContextToStore(hStoreHandle2,p2,CERT_STORE_ADD_ALWAYS ,NULL);
CertAddCertificateContextToStore returns TRUE, and i can't find any cert display in IE's "personal" cert store.
But I use CertEnumCertificatesInStore function , I can get the cert I add prev. Why?
And how can I associate a imported certificate with a custom CSP? such as a smart card CSP?
Thank you !!
Stone