I am looking at it for a day now, and I am still baffled. I want to add digital signature to a PDF with timestamp from a TSA (TimeStamp Authority).
I am okay with sending the request to a TSA and receiving a binary response, but how do I append that timestamp to my pkcs7 digital signature.
I am using PHP with TCPDF and the openssl_pkcs7_sign()
function.
Do I need to to add the timestamp as an extra certificate?
Thanks!