Re: BIO_new_CMS with CMS_DETACHED

2014-10-01 Thread Dr. Stephen Henson
On Wed, Oct 01, 2014, Pedro Lamaro wrote: > Hello, fellows. > > I am implementing a new streamer for CMS_SignedData with CMS_sign. > Because I need to adapt a certain input and output interface, I chose > to use BIO pairs with BIO_new_CMS. I read from my original input > stream, write into the CM

BIO_new_CMS with CMS_DETACHED

2014-10-01 Thread Pedro LamarĂ£o
Hello, fellows. I am implementing a new streamer for CMS_SignedData with CMS_sign. Because I need to adapt a certain input and output interface, I chose to use BIO pairs with BIO_new_CMS. I read from my original input stream, write into the CMS filter, read from the pair and write to the original