Re: Question about subjectAltName

2007-06-29 Thread Chaz.
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

Re: Question about subjectAltName

2007-06-29 Thread Dr. Stephen Henson
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).

Re: Question about subjectAltName

2007-06-29 Thread Chaz.
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. Chaz. Dr. Stephen Henson wrote: > On Fri, Jun 29, 2007, Chaz. wrote: > >> I need to store an alternate string that will identify the subject. I >>

Re: Question about subjectAltName

2007-06-29 Thread Dr. Stephen Henson
On Fri, Jun 29, 2007, Chaz. wrote: > I need to store an alternate string that will identify the subject. I > had originally thought I would be able to use 'othername' as the way to > store it. When I ask for the extension back what I get is the string: > > othername: > > Which really isn't usefu

Question about subjectAltName

2007-06-29 Thread Chaz.
I need to store an alternate string that will identify the subject. I had originally thought I would be able to use 'othername' as the way to store it. When I ask for the extension back what I get is the string: othername: Which really isn't useful (I would like to get back my original string).