Re: How to add a new X.509 v3 extension id?

2002-03-21 Thread Kiyoshi Watanabe
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

How to add a new X.509 v3 extension id?

2002-03-19 Thread Kiyoshi Watanabe
Dear All, I am writing a code to add my private extension. For the extesion id, where I should look at and add it? Each standard extension has the id like NID_basic_constraints. If I want to write this, ex = X509V3_EXT_conf_nid(NULL, NULL,NID_my_private_extensin, My Test Extension); Which

Re: How to add a new X.509 v3 extension id?

2002-03-19 Thread Dr S N Henson
Kiyoshi Watanabe wrote: Dear All, I am writing a code to add my private extension. For the extesion id, where I should look at and add it? Each standard extension has the id like NID_basic_constraints. If I want to write this, ex = X509V3_EXT_conf_nid(NULL,