How to suppress "An application is requesting access to a protected item" popup
<p>I'm getting a pop-up when trying to use a certificate to decrypt data.
I'm creating a self-signed certificate, and I'm using it to encrypt some data, but I'm getting the following confirmation pop-up when trying to decrypt the data:</p>

<p><img src="https://i.stack.imgur.com/10M1o.png" alt="CryptoAPI popup"></p>

<p>How can I programatically grant access to use the certificate? </p>