An easy way is to build the openssl binary as a lib but rename main. Then call 
it with the argv and argc you would send from the command line.


-----Original Message-----
From: ext Richard Koenning
Sent: 05/20/2008 1:02:54 PM
To: openssl-users@openssl.org
Subject: Re: X509 certificates through API


Kenneth Goldman wrote:

> Is there sample code anywhere for how to construct X509 certificates
> programmatically, through the API, not the command line?
> 
> The documentation includes the serialization API's, but?
> little else.
> 
> I assume, since it can be done from the command line, that
> the code exists and is just not documented.  Could I be
> wrong?

Well, the code implementing the x509 subcommand of the openssl command 
line tool can be found in apps/x509.c.
Ciao,
Richard
-- 
Dr. Richard W. Könning
Fujitsu Siemens Computers GmbH, IP SW SO 12
Phone/Fax: +49-89-636-47852 / 48332
E-Mail: [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