[openssl-users] Error code 554184855 on PKCS7_sign_add_signer?

2016-12-18 Thread Anibal F. Martinez Cortina
Hello everyone, I've been reading smime.c and trying to work my way up from a command that does work. However, I've reached this stage, and I get an error code I don-t know how to diagnose. The source is this(BEWARE: very little error handling, this is just a first informed attempt at the

Re: [openssl-users] Signing an XML file

2016-12-14 Thread Anibal F. Martinez Cortina
2016-12-14 11:17 GMT-03:00 Thomas J. Hruska : > On 12/14/2016 3:28 AM, Dr. Stephen Henson wrote: > >> On Wed, Dec 14, 2016, Salz, Rich wrote: >> >> Is there some equivalent to PHP's openssl_sign_pkcs7 function for C/C++ users? >>> >>> Look at the

Re: [openssl-users] Signing an XML file

2016-12-13 Thread Anibal F. Martinez Cortina
2016-12-13 22:54 GMT-03:00 Salz, Rich : > > Is there some equivalent to PHP's openssl_sign_pkcs7 function for C/C++ > users? > > Look at the apps/pkcs7.c file as a starting point. Get the command line > doing what you want, and then work through the code to pull out only the >

[openssl-users] Signing an XML file

2016-12-13 Thread Anibal F. Martinez Cortina
Hello everyone, I'm trying to sign an XML file, need to do so with pkcs#7. Is there some equivalent to PHP's openssl_sign_pkcs7 function for C/C++ users? In particular, I'm using Qt as framework, but have also got OpenSSL libs and headers installed. The target platform is Microsoft Windows (x32)