RE: Signing using PSS padding programmatically

2010-07-28 Thread Bob Smith
Oh dear. I guess I'd better pass the news up the line to those who write requirements! Thanks very much for your help Rob > Date: Wed, 28 Jul 2010 18:49:51 +0200 > From: st...@openssl.org > To: openssl-users@openssl.org > Subject: Re: Signing using PSS padding programmatically

Re: Signing using PSS padding programmatically

2010-07-28 Thread Dr. Stephen Henson
On Wed, Jul 28, 2010, Bob Smith wrote: > > Hello, > > I'm working on some code that uses the PKCS7 routines to sign some data. The > code so far is (lots of return values cut out for brevity)... > > int flags = 0x00 | PKCS7_NOSMIMECAP | PKCS7_BINARY; > p7 = PKCS7_sign( cert, pkey, NULL, datain

Signing using PSS padding programmatically

2010-07-28 Thread Bob Smith
Hello, I'm working on some code that uses the PKCS7 routines to sign some data. The code so far is (lots of return values cut out for brevity)... int flags = 0x00 | PKCS7_NOSMIMECAP | PKCS7_BINARY; p7 = PKCS7_sign( cert, pkey, NULL, datain, flags ); PKCS7_final( p7, datain, flags ); dataout = B