Thank you for your quick response. 

> If you just want a simple string extension then you can create an
> "alias" which is effetively saying an extension is identical to another
> except it has a different object ID
> The nid you create corresponds to an ASN1 OBJECT IDENTIFIER which can be
> dynamically created with OBJ_create()

I checked the selfsign.c in demo directory and I understood it.
 
> There's some info in doc/openssl.txt but some of it has been changed
> with the new ASN1 code. The d2i/i2d/free/new functions have been
> superseded by an ASN1_ITEM structure.

Actually I wrote my ASN1 code with d2i/i2d/free/new functions. So that 
the next thing that I wanted to know was how to add it as private 
extension and set it to the cert.

When I tried to define the structure of X509V3_EXT_METHOD, I was
wondering how to set my private extension id number and where should
be?

I will check openssl.txt and source code more. 

Sincerely,

Kiyoshi
Kiyoshi Watanabe
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to