Subject string to X509_NAME

2004-07-29 Thread Pablo J Royo
Hello: I have a subject string in its common format: C=XX /O=xxx /OU=yy /CN=z...etc and I´d like to create a X509_NAME object with it, in order to handle its different fields (X509_NAME_ENTRY) correctly. Is there any function in OpenSSL X509 interface to do this (as easy as

Re: Subject string to X509_NAME

2004-07-29 Thread Dr. Stephen Henson
On Thu, Jul 29, 2004, Pablo J Royo wrote: Hello: I have a subject string in its common format: C=XX /O=xxx /OU=yy /CN=z...etc and I´d like to create a X509_NAME object with it, in order to handle its different fields (X509_NAME_ENTRY) correctly. Is there any