Filling out a CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION struct with a smartcard credential RRS feed

  • Question

  • Hi, i'm trying to create a smartcard credential provider based on microsoft sample credential. At the point the program reaches the GetSerialization function i have access to the certificate in the form of a PCCERT_CONTEXT struct, as well as name of the reader, card and the pin code entered by the user. But i can't figure out how to package this in a suitable way to be returned by the CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION struct.

    The KerbInteractiveUnlockLogonInit and KerbInteractiveUnlockLogonPack functions are used to package are made to handle a entered username and password, and does not seem to help when i have: a smartcard, credential and pin code. Anyone who have some knowledge on how it can be done?

    Monday, December 14, 2009 9:04 PM