> Date: Wed, 13 Apr 2011 12:41:16 -0700 > From: pie...@hogranch.com > To: openssl-users@openssl.org > Subject: Re: command line to c++ code > > On 04/13/11 10:16 AM, luis hernandez wrote: > > Hi > > I do not know if you have talk about this here, but I can not find the > > answer. > > > > How to translate a command line commandt to a c++ code? > > > > For instance if at commandd prompt i do this: openssl x509 -inform DER > > -in cert.cer -noout -enddate > > > > What code will generate the same result? > > take a look at the source to openssl (the executable utility). I > believe its in C and it, obviously, can do every possible command line > that it does. >
One month doing it that way but there is not other way.