DSAPI and Certificate

I’m developing a DSAPI filter to authenticate users based on their certificates.I want to use the “clientCert” field in the FilterAuthenticate structure to read some extensions from the X.509 certificate.

But my problem is that I dont know the format of the certificate. Does anyone know the format?

Subject: DSAPI and Certificate

I solved it. Use CertCreateCertificateContext (CryptoAPI) to access certificate with CryptoAPI.

Subject: DSAPI and Certificate

I solved it. Use CertCreateCertificateContext (CryptoAPI) and “ClientCert” from FilterAuthenticate to access certificate information.

Subject: RE: DSAPI and Certificate

hi,

I’ve met the same problem with the info in Certification, could you give some sample code for your suggestion? Thanks!

Eric

Subject: DSAPI and Certificate

I solved it. Use CertCreateCertificateContext (CryptoAPI) and “ClientCert” from FilterAuthenticate to access certificate information.