Greetings all:

These very useful X509 objects are missing from OpenSSL and "objects.h".

        member                    (2.5.4.31)
        owner                     (2.5.4.32)
        roleOccupant              (2.5.4.33)
        name                      (2.5.4.41)
        streetAddress             (2.5.4.9)
        postalCode                (2.5.4.17)
        telephoneNumber           (2.5.4.20) 
        facsimileTelephoneNumber  (2.5.4.23)

In fact a lot of others X509 oids missing as well, as you can see at:

        http://www.alvestrand.no/objectid/2.5.4.html

I can add these objects into my OpenSSL apps by using:

        nid = OBJ_create ("2.5.4.20", "Tel", "telephoneNumber");

And I can used these objects as a X509v3 extension by using something like:

        X509V3_EXT_add_alias (nid, NID_netscape_comment); // *** this works

However, since these are X509 objects, I wish these objects not be used as
X509v3 extensions, and to be used within the X509 subject.  

        X509_NAME_ENTRY_create_by_NID (&nameEntry, nid,
                V_ASN1_PRINTABLESTRING,
                (unsigned char *) "+1-416-860-9378", -1); // *** this fails

If I try to alias the NID of an X509 object, it fails:

        X509V3_EXT_add_alias (nid, NID_commonName);      // ** this fails

In fact I cannot find any functions within OpenSSL to add missing X509
objects and use this in certificate subjects.

I would be most grateful if someone has any advice on how this might done
using OpenSSL.

Thank you in advance.  Sincerely, Alicia.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to