-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Steffen,

Am 08.09.2011 11:16, schrieb Steffen DETTMER:
> Hi all,
> Hi Dominik,
> 
>> in a project I maintain I have to deal with OIDs not 
>> contained within OpenSSL. In particular, I use OpenSSL to 
>> parse ASN1 encoded data containing OIDs (using the Macros 
>> from asn1t.h) and do switch-case statements on the resulting 
>> NIDs. Until now I used to patch OpenSSL (adding the OIDs to 
>> objects.txt and running the objects.pl script to generate the 
>> NIDs) to contain my OIDs but this approach is far from ideal.
> 
> Do you need to work with OIDs and other DER for ASN.1 encoded
> data and are using a specific part of OpenSSL as DER
> encoder/decoder? 

That's exactly what I'm doing.

>In this case you might take a look to 
> 
> http://lionet.info/asn1c/compiler.html
> 
> It is free (BSD), is exists since many years and there is a
> lot of documentations and examples, one deals with X.509.
> 
> Just in case it helps.

Thanks for the tip.

The code is already written (and working) using OpenSSLs ASN1 macros. I
just want to stop patching OpenSSL in order to deal with OIDs not
contained within OpenSSL. Using a new tool would probably mean that I
will have to rewrite quite a lot of code. That's why I will try Steve's
suggestions first. If I fail I'll have a look at the ASN1 compiler you
suggested.

Again, thanks for the help,
Dominik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5o0/wACgkQ8RP9uQqpDVTe4ACfVb/yHExWm5tfVV+UXJMCefES
+YkAn0VjUJesMHmUbUc2jG5f5FX8kC6A
=drw6
-----END PGP SIGNATURE-----
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to