RE: Generating rsakey using openssl as lib

2012-10-17 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Leonardo Laface de Almeida > Sent: Tuesday, 16 October, 2012 17:06 > >Does your library dynamically-link the openssl libs, > >or statically embed them (while being dynamic itself)? > > library dynamically-link the openssl libs. > My lib alread

RE: reading IP addresses from Subject Alternate Name extension

2012-10-17 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of shailesh durgapal > Sent: Tuesday, 16 October, 2012 17:14 > I am seeing inconsistent values returned from BIO_read for > different IP addresses. My certificate has: > X509v3 extensions: > X509v3 Subject Alternative Name: >

Re: Parsing X509 certificate subjectAltName

2012-10-17 Thread Ken Goldman
On 9/12/2012 9:36 AM, Dr. Stephen Henson wrote: You check each value of the returned GENERAL_NAMES structure until you find the one you are interested in. It looks like in your case it is the type GEN_DIRNAME which means the X509_NAME field directoryName of the union is relevant. You can then an

Re: DES3 encryption with padding

2012-10-17 Thread Ben Laurie
On Wed, Oct 17, 2012 at 9:52 AM, Brent Evans wrote: > Hi, > > I'm currently trying to use the openSSL library to perform DES3 encryption > on a string. The result from this encryption then has a base64 operation > performed on it, before this is passed to a Java application to decode the > base64

Some questions on OpenSSL internals

2012-10-17 Thread Joe Pletcher
Hello all, This is my first posting to a mailing list in quite some time, so I apologize in advance if this isn't the proper venue or I mess something up. I'm working on an OpenSSL project, and I could use some help. I am writing a library which will be loaded into the environment via LD_PRELOA

RE: Building an "exportable" OpenSSL application

2012-10-17 Thread Charles Mills
Thanks much. Knew all of that from a technology point of view and from other platforms but did not know the proper Windows/UNIX terms. I was worried by the assertion that static linking to .lib's and the use of DLLs was inconsistent. > at runtime the OS finds those .dll's > using moderately comp

reading IP addresses from Subject Alternate Name extension

2012-10-17 Thread shailesh durgapal
I am seeing inconsistent values returned from BIO_read for different IP addresses. My certificate has: X509v3 extensions: X509v3 Subject Alternative Name: IP Address:10.112.245.153 The code looks something like: static int sslPrintf(BIO * bio, const char * format, ...