Re: PP_KEYSET_SEC_DESC for smartcards

Hi, Andrew:

All of the information I could find on the Internet and MSDN seemed to
imply that PP_KEYSET_SEC_DESC made no sense on smartcards, so we
didn't implement it on our CSP. The problem is that the new
application (although it recognized our CSP as a smart card CSP)
expected a valid security descriptor when it called CPGetProvParam,
and it failed when it didn't get one.
I implemented the parameter and the application is now working, but I
was troubled as to what security descriptor to choose: finally I just
gave full control to authenticated users, but I'm not sure if this is
correct for a smart card.

On 22 feb, 03:07, "Andrew Tucker [MSFT]" <AndrewSTuc...@xxxxxxxxx>
There is sample code for this property at

I am a little confused by your question though since you say that you
know it is not supported for smart card CSPs but an app is failing
because it doenst work. Can you clarify what problem you are having?

On Feb 21, 3:46 am, pruebasCSP_...@xxxxxxxx wrote:


I'm having trouble with parameter PP_KEYSET_SEC_DESC for
CPGetProvParam: I know it's not supposed to be used with smart cards
and it is generally ignored, but an application working on Vista with
our smartcard is failing because this parameter isn't implemented.
Does any one have any idea how to go about this? I haven't been able
to find any code example anywhere...
Thanks!- Ocultar texto de la cita -

- Mostrar texto de la cita -


Relevant Pages

  • Re: Smartcard help! GemPlus..
    ... The two manufacturers I have been looking at are OmniKey and GemPlus.. ... Base Smart Card CSP is available for Windows XP through Windows Update ...
  • Re: CSP and Windows Logon -- Need Help
    ... No, you can do smart card logon with a test CSP, both with the testsigned ... Did you register the smart card CSP with the SCard API using the ...
  • Re: CryptoAPI and PKCS#11 interoperability
    ... It is vendor specific, each vendor chooses how to implement it. ... > smart card CSP without causing problems? ... > that delegates to the PKCS#11 module and hard-code the data that it ...
  • Smart Card CSP - Returns 80090006 (Invalid signature) during smart card enrolment
    ... Jian Hong here. ... I'm currently developing a smart card CSP and I have ... I noticed that the smart card enrolment ...
  • Re: Chip/EMV Programming Knowledge Base
    ... I recommend Smart Card Handbook - John Wiley & Sons, ... Applications Design Models for Using and Programming Smart Cards. ... I would say get into interfacing with smartcards first before ... because that is a tricky field (As it ...