[EMAIL PROTECTED] wrote:
> 
> Hi!
> 
> I want to add some custom extensions to a certificate.
> I found something in openssl.txt, but it is to few for me :-)
> 
> So I have an oid, a name and a value.
> I dont want to use config files.
> How can I add this extension to a certificate?
> 

It depends what the "value" actually is. If its the DER encoding then
you can add that easily enough using the X509_EXTENSION routines. If
however its some ASCII representation of a complex structure and nothing
equivalent already exists then things are much harder. You have to
create custom ASN1 encode and decode routines and optionally functions
to set and print the value. 

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to