CSR Contents

2006-09-15 Thread Bynum, Don
I am tring to embed postal address information into a CSR.  I can successfully get postalCode and streetAddress to work.  My problem is that I was under the impression that the OIDs for streetAddress1, streetAddress2 and streetAddress3 were also available along with postOfficebox.  However,

Re: When to use CRYPTO_set_locking_callback() and

2006-09-15 Thread Joe Flowers
Marek, I really appreciate this code snippet **a lot**. It looks like an excellent snippet of code...as best as I can tell. Can anyone else please confirm that these functions (listed below) are what I need to implement for making OpenSSL thead-safe? No offense intended Marek. I'm just looking

RES: When to use CRYPTO_set_locking_callback() and

2006-09-15 Thread Leandro Gustavo Biss Becker
Hi Joe I'm using OpenSSL in Win32 environment and the locking issues I've addressed using critical section objects (lightweight compared to mutexes) like this: ... SSL_library_init(); CCCriticalSection g_pOpenSSLCritSections; // this class uses InitializeCriticalSection/EnterCriticalSection/Le

Base 64 decode using BIO_f_base64 and BIO chain

2006-09-15 Thread k b
Hi, I'm trying to read a base64 encoded msg from an in memory buffer and decode it (and possible write to a file or to mem) I can't figure out what's wrong with the code snippet below. From what I have read in the openssl book and other docs, looks like this is how it should be done (see code

RE: When to use CRYPTO_set_locking_callback() and

2006-09-15 Thread David Schwartz
> I'm running this on a Win32 platform, so I'm going to have to convert > from pthreads to Win32 speak, but I think I can do that. Any gotchas > will be appreciated though. For example, do I need the Win32 keyword > CALLBACK or EXPORT in the function prototypes? No, you do not have to. >