RE: X509 certificates through API

2008-05-20 Thread [EMAIL PROTECTED]
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 AP

Re: X509 certificates through API

2008-05-20 Thread Dr. Stephen Henson
On Mon, May 19, 2008, 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 th

Re: X509 certificates through API

2008-05-20 Thread Patrick Patterson
On May 19, 2008 02:09:54 pm 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 th

Re: X509 certificates through API

2008-05-20 Thread Richard Koenning
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

Re: Parsing counter signatures - HELP - (UPDATED)

2008-05-20 Thread Dr. Stephen Henson
On Tue, May 20, 2008, Massimiliano Ziccardi wrote: > I'm sure OpenSSL is able to parse more than one counter signature per > signature. > > Can pleas some OpenSSL expert tell me how to do it? I think the code I sent > in the previous > e-mail should be close to the solution. I just need to know h

Re: Parsing counter signatures - HELP - (UPDATED)

2008-05-20 Thread jimmy bahuleyan
Massimiliano Ziccardi wrote: I'm sure OpenSSL is able to parse more than one counter signature per signature. Can pleas some OpenSSL expert tell me how to do it? I think the code I sent in the previous e-mail should be close to the solution. I just need to know how to get the other counter si

Re: Parsing counter signatures - HELP - (UPDATED)

2008-05-20 Thread Massimiliano Ziccardi
I'm sure OpenSSL is able to parse more than one counter signature per signature. Can pleas some OpenSSL expert tell me how to do it? I think the code I sent in the previous e-mail should be close to the solution. I just need to know how to get the other counter signatures (I already did in Java wi

Re: Parsing counter signatures - HELP - (UPDATED)

2008-05-20 Thread Massimiliano Ziccardi
Sorry, I've received an error about the attachment, so I'm not sure you've got the e-mail. Follows the original e-mail. At the end, I've also included the PEM encoding of the P7M I tried to send you before (it was DER encoded). Regards, Massimiliano Ziccardi On Tue, May 20, 2008 at 9:25 AM, Massi

X509 certificates through API

2008-05-20 Thread Kenneth Goldman
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 documente

Parsing counter signatures - HELP - (UPDATED)

2008-05-20 Thread Massimiliano Ziccardi
Hi all. I've been able to parse the first counter signature of each signature. At the end of this e-mail, you'll find the code I use to parse the file (no error handling, it's just a working snippet). Attached you'll find my test P7M. The signature/countersignature tree is as follows: SIGNATURE

X509_verify_cert question

2008-05-20 Thread Brian Smith
I am currently working on a wrapper around the X509_verify_cert function using 0.9.7m compiled on win32 via Cygwin in C and I'm having a few issues. It seems when I run my verify wrapper function in my test bench (it creates csr's, certificates, crl's, and does validation, printing, etc