Geeks With Blogs
Gaurav Taneja Great dreams... never even get out of the box. It takes an uncommon amount of guts to put your dreams on the line, to hold them up and say, "How good or how bad am I?" That's where courage comes in.

After an extensive search I was unable to get any help from the X509 Certificate class in .Net.

I was using "KeyInfoX509Data" but was unable to extract info regardingthe same.

Then I used the "Crypt32.dll" to extract the values from the CRL file.

I would be posting how to extract the values in my comming post

For reference can refer the following link

http://www.koders.com/csharp/fid9399EBD1942CEF08BBA770E41302AB42B452B9B4.aspx

 

Posted on Saturday, October 28, 2006 9:54 AM | Back to top


Comments on this post: Fetching Values from CRL list + C#

# re: Fetching Values from CRL list + C#
Requesting Gravatar...
Hello,
I'm french I have the same problem today.
Have you resolve your problem ?
Can you help me ?
Thank You.
Jean-Marc S.
Left by Jean-Marc S. on Oct 26, 2007 2:40 AM

# re: Fetching Values from CRL list + C#
Requesting Gravatar...
It is very easy to parse CRL list with Bouncy castle library:

string url = @"http://path.to.crl.file";
WebClient client = new WebClient();
byte[] buf= client.DownloadData(new Uri(url));

regards Jarek

X509CrlParser xx = new X509CrlParser();
X509Crl ss = xx.ReadCrl(buf);
Left by Jarek on Apr 13, 2010 7:22 AM

# re: Fetching Values from CRL list + C#
Requesting Gravatar...
Worked for me!!
Then you can do:
ss.IsRevoked(yourX509cert);
Left by Y3linn4 on Mar 06, 2015 5:26 AM

Your comment:
 (will show your gravatar)


Copyright © Gaurav Taneja | Powered by: GeeksWithBlogs.net