problem with revoked certificate

2001-01-11 Thread Colin Chalmers
Hi, I use the code below to get the subject from a certificate. Everything works well until I get a revoked certificate afterwhich I am unable to initialse the X509 Cert. Is this normal and if so what can I do to get the subject in a revoked case? Or should I be using other functions for getting

Still got problems initialising cert in DLL

2000-12-05 Thread Colin Chalmers
Hi, Since there was no response on the earlier posting here's a second chance perhaps explaining the problem better. The code at the bottom works for me when used within the same program however when I pass the (vtrCertStatus) structure to a DLL, although I can access the memory using other *mea

problem passing cert info to DLL

2000-12-04 Thread Colin Chalmers
Hi, I'm trying to write my first application with openssl and I am stuck on what must be a simple problem. I have a certificate in memory and can use the following code to access it. X509 *cert = NULL; X509_NAME *name = NULL; SSLeay_add_all_algorithms(); ERR_load_crypto_strings(); cert =

freeing memory

2000-11-30 Thread Colin Chalmers
Hi,   I'm always one for forgetting to give things back that I've used, like memory in my programs :-(   I'm beginning to get to grips with openssl but before I proceed I would like a few pointers on freeing memory within openssl.   If I consider the program below there are a few things I ne

Re: win32?

2000-11-28 Thread Colin Chalmers
Yes there's a win32 version. If you had looked at the FAQ page you could have found this out for yourself. /colin - Original Message - From: "Luck, Nathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 29, 2000 6:36 AM Subject: win32? > Hi, > > Just a quick ques

Re: Wrapper...

2000-11-27 Thread Colin Chalmers
I too would be interested in such a wrapper OR tips as to how I could build one myself. ie what should I look out for and definately NOT do. /colin chalmers - Original Message - From: "Bernard Dautrevaux" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday,

output certificate from CA

2000-04-28 Thread Colin Chalmers
that the certificate already exists and will not be processed/output.   Is it not possible to give for example the serial number of the certificate to export?   Any tips/ideas appreciated.     Met vriendelijke groet,     Colin Chalmers Snr. Project Engineer maXware MaXware Benelu