Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CryptSetProvParam is returning RTE_PERM

21 views
Skip to first unread message

Eric Boudrand

unread,
Nov 10, 2011, 10:32:23 AM11/10/11
to
Hi,

I need to access a smart card from a service.

I am calling CryptAcquireContext with flag 0xF0000040
(CRYPT_VERIFYCONTEXT | CRYPT_SILENT) then CryptSetProvParam with the PIN
code as argument. But, CryptSetProvParam is returning RTE_PERM

I am wondering if I have forgotten something. What means RTE_PERM ? PERM
for permissions ?

Regards.

Eric Boudrand
0 new messages