login about faq

Hello, Would it be possible to have a property on the Cert object, in order to read its CRL distribution list (they may be multiple) in OID 2.5.29.31?

Best regards,

Dennis

asked Mar 12 '15 at 07:34

Dwoops's gravatar image

Dwoops
8123


I added a new method to Chilkat.Cert named GetExtensionAsXml. You pass an OID, such as "2.5.29.31" or any of the OIDs listed here: http://www.alvestrand.no/objectid/2.5.29.31.html

The method will return the ASN.1 for the extension converted to XML. Some data within the XML may be base64 encoded, so the app would need to take the final step in decoding the base64.

What is the exact programming language, operating system, .NET Framework, Visual Studio version, etc. that you need?

link

answered Mar 12 '15 at 16:07

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Dennis, Please send me a sample certificate file that contains a CRL distribution list, and I'll see what I can do.

I'll have an answer for you soon (few hours?) about the CRL file..

link

answered Mar 12 '15 at 07:57

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

You may send it via private email to support@chilkatsoft.com

(Mar 12 '15 at 07:57) chilkat ♦♦

It sounds a very good and flexible solution! I use the ActiveX version on Windows 7. Were you able to decode the OID in the certificate I sent you? The ExportCertXml method was not able to decode it propely.

link

answered Mar 12 '15 at 17:09

Dwoops's gravatar image

Dwoops
8123

Yes... All extensions are ASN.1 encoded (basically ASN.1 stored within the ASN.1). It decodes to XML. Give it at try and you'll see. The data within the XML will be base64 encoded, and you'll only need to base64 decode that to get the string.

link

answered Mar 12 '15 at 17:31

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×48
×28
×6
×4

Asked: Mar 12 '15 at 07:34

Seen: 856 times

Last updated: Mar 12 '15 at 17:31

powered by OSQA