Hi
I am using CertOpenStore(CERT_STORE_PROV_SYSTEM, ....READ_ONLY, "MY) to get storehandle then i use CryptDecryptMessage to decrypt my file which was encrypted with a certificate. I have ActivClient (token software) which prompts me for entering a PIN using interactive services dialog. If I choose "ask me later" option on the prompt my CryptDecryptMessage does not return and application hangs forever.
Is there any other non blocking call is can use instead of CryptDecryptMessage, here it looks like internally this function is waiting for something.
Another question if i use flag CRYPT_MESSAGE_SILENT_KEYSET_FLAG, then can i programmatic ally invoke the PIN dialog for my smart card reader.