RE: Signing using PSS padding programmatically

2010-07-28 Thread Bob Smith
> > 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

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

Changing OID in PKCS7 SignedData

2010-05-25 Thread Bob Smith
Hello, I'm working on an application that generates PKCS#7 SignedData structures, but with a slightly different format to S/MIME. We're using a version 3 SignedData structure, and minor changes such as no signingTime in the Authenticated Attributes. As such, I'm working at the level using func