The data for the timestamp is done on the signature, not the file. So the TS command should reflect that.

As far as merging, I would take a look at the actual PDF format.

-Eduardo

-----Original Message----- From: q0...@cuba.ionum.ch
Sent: Friday, September 02, 2011 6:42 AM
To: openssl-users@openssl.org
Subject: pkcs7 signature with timestamp

Hi there

I'm trying to create a pkcs7 signature with timestamp for a pdf-signature.

With "openssl smime -sign -in tmp.pdf -inkey s.key -signer s.cer
-outform der -binary" i get a der-encode pkcs7-signature.

With "openssl ts -query -data tmp.pdf -out req.tsq" and "openssl ts
-reply -config openssl.conf -queryfile req.tsq -out response.tsr" i
get a der-encoded pkcs7-timestamp

How can i merge them to create a single pkcs7-signature which is
recognized by standard pdf-readers...

Thanks for your help

Greetz





______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to