Re: CMS question on encrypting and signing

2014-11-15 Thread Kevin Le Gouguec
, tmp, NULL, flags); BIO* out = BIO_new_file(out_path, "wb"); i2d_CMS_bio(out, sdata); BIO_flush(out); - Original Message - From: "Philip Prindeville" To: openssl-users@openssl.org Sent: Saturday, November 15, 2014 7:25:41 AM Subject: CMS question on encrypting and signing

CMS question on encrypting and signing

2014-11-14 Thread Philip Prindeville
Hi. I’m working on an application that requires datagrams of ASN.1 PDU’s to be exchanged. The application data needs to be first encrypted, then signed. I will not be using streams, but rather memory BIO’s. I could use the CMS_encrypt() into one BIO, then reset that and pass it as input to C