Re: Extracting DN from an X.509 cert BLOB

2004-08-11 Thread Dr. Stephen Henson
On Wed, Aug 11, 2004, Areg Alimian wrote: > Hi Steve, > > Thank you for the quick response! There are indeed lots of options on the > output format. Now if I just want to extract the common field string, do I > search for "CN=" prefix or is there a better way? > Its not a good idea to attempt

RE: Extracting DN from an X.509 cert BLOB

2004-08-11 Thread Areg Alimian
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dr. Stephen Henson Sent: Wednesday, August 11, 2004 12:07 PM To: [EMAIL PROTECTED] Subject: Re: Extracting DN from an X.509 cert BLOB On Wed, Aug 11, 2004, Areg Alimian wrote: > Hi all! > > > > Is there a simple way to convert the c

Re: Extracting DN from an X.509 cert BLOB

2004-08-11 Thread Dr. Stephen Henson
On Wed, Aug 11, 2004, Areg Alimian wrote: > Hi all! > > > > Is there a simple way to convert the certificate name blob to a null > terminated char string using OpenSSL? > If you mean a human readable text string then calling X509_NAME_print_ex() to a memory BIO is the most flexible solution.

Extracting DN from an X.509 cert BLOB

2004-08-11 Thread Areg Alimian
Hi all!   Is there a simple way to convert the certificate name blob to a null terminated char string using OpenSSL?   Thank you,   Areg