Steve,

 Thanks so much for the guidance. I was going to build openssl and use
the command openssl -in client.pem -text and debug my way to that
knowledge!

Chuck Wegrzyn

Dr. Stephen Henson wrote:
> On Fri, Jun 29, 2007, Chaz. wrote:
> 
>> Thanks for the information. How do I go about getting the field
>> programmatically? I saw how to get the data in...I just don't see
>> how to get it out.
>>
> 
> You find and decode the extension using X509_get_ext_d2i(). That will give you
> a STACK_OF(GENERAL_NAME). You look through those for an otherName. Then you
> have to see if you recognize the OID. If you do examine the value which is an
> ASN1_TYPE structure. 
> 
> Steve.
> --
> Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
> OpenSSL project core developer and freelance consultant.
> Funding needed! Details on homepage.
> Homepage: http://www.drh-consultancy.demon.co.uk
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
> 

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

Reply via email to