[openssl-users] using openssl to create PKCS#7/CMS on windows

2015-02-05 Thread Srinivas Rao
hashed and signed and only needs to be encoded in PKCS7, If yes, for which of the above case and how (please give some pointers on how to go about it). Thanks Srinivas On 1/30/15, Srinivas Rao wrote: > All, > > Please let me know if my below mentioned usage of PKCS7_sign()+adding >

[openssl-users] Wrong usage of PKCS7_add_signature()??

2015-01-30 Thread Srinivas Rao
All, Please let me know if my below mentioned usage of PKCS7_sign()+adding signer info is wrong and how. Really appreciate your response. cheers and regards Srinivas On 1/29/15, Srinivas Rao wrote: > OpenSSL experts, > > Here the intention is to get the signed data (raw signature

[openssl-users] PKCS7_add_signature dumps core (windows)

2015-01-29 Thread Srinivas Rao
OpenSSL experts, Here the intention is to get the signed data (raw signature obtained by PKCS11 APIs like C_Sign) to be packed in PKCS7 format (attached - with certificate, content and signer info) using openssl. I am using USB token (smart card) for signing. Here's the code snippet. PK