check a certificate in CRL
a security question :
I developp a C# application that use certificate. I must check
validity of these certificates...
how to see if a certificate is revoked in a CRL (revocation list) ?
how to open a CRL file in C#, or maybe using Windows DLL....?
Thanks by advance!
The better option would be to build an X509Chain object and use the various
options available on it to check the validity of the chain including
revocation status. .NET doesn't offer any low level APIs to check a CRL
directly, so you would need to p/invoke that type of thing in the cryptoAPI
if you want to hit it at that low a level. It usually isn't a good idea to
try to build this yourself though.
--Show quoteHide quote
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
"lobrys" <firstname.lastname@example.org> wrote in message
> a security question :
> I developp a C# application that use certificate. I must check
> validity of these certificates...
> how to see if a certificate is revoked in a CRL (revocation list) ?
> how to open a CRL file in C#, or maybe using Windows DLL....?
> Thanks by advance!
Other interesting topics