header image
Home arrow Free Utilities arrow MS CryptoAPI Samples arrow Lsa Authentication and Smart Cards
Lsa Authentication and Smart Cards

These two samples show how the function LsaLogonUser can be called in order to use a smart card for authentication.

LsaSmartCardLogon.cpp : This one uses the undocumented KERB_SMARTCARD_CSP_INFO structure to perform an authentication of type KerbCertificateLogon which is supported starting from vista: 

LsaSmartCardLogon2.cpp : This one works on Windows 2000 and above, and it uses an undocumented structure called KERB_SMARTCARD_CSP_INFO_2 to perform an authentication of type KerbSmartCardLogon

 The Cryptology ePrint Archive provides rapid access to recent research in cryptology. It's hosted by the International Association for Cryptologic Research. The latest articles can be accessed by clicking here.