开发者

Active Directory smartcard authorization

Im looking how to perform smart card authentication against AD from C# client application. I need to make logon into ap开发者_开发百科plication using the smart card. Could somebody give me clue where to find API for this? Thanks.


you can call logonuser with serialized credential:

  • the hash of the certificate will become the username
  • the PIN of the smart card will become the password

But to get the certificate, you will have to enumerate the cryptoapi containter then access the certificate using CryptGetKeyParam(KP_CERTIFICATE)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜