I'm writing an application for smartcards. I know how my application can obtain the PIN using a method CryptSetProvParam, but I don't know how to do the same thing when I'm using CryptoAPI NG. I want to prevent the PIN request UI window pop up.
Asked
Active
Viewed 736 times
1 Answers
1
Setting CspParameters.KeyPassword is equivalent to calling CryptSetProvParam with PP_KEYEXCHANGE_PIN (or PP_SIGNATURE_PIN). This flag is not supported by the default Microsoft crypto-service-provider (it is intended for use with smartcard-based CSPs).

rmhrisk
- 1,814
- 10
- 16