Quantcast
Channel: Security forum
Viewing all articles
Browse latest Browse all 12072

Interactive Services Dialog -- Token PIN prompt

$
0
0

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.


Viewing all articles
Browse latest Browse all 12072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>