- category diff
- author Radek Svitak [email protected]
- source https://github.com/hidasw/TCPDF
The purpose of this repository is to store changes published in tecnickcom/TCPDF#617 (comment)
$pdf=new TCPDF();
$pdf->setSignature('DTS-ONLY', file_get_contents('postsignum_tsa_tsu1.pem'), '', '', 1, []);
$pdf->setTimeStamp(TSA_URL, TSA_USERNAME, TSA_PASSWORD);
$pdf->loadHtml($html);
$pdf->setSignatureAppearance(20,10,50,15);
$output=$pdf->Output($filename,'S');
Result displayed in Adobe Acrobat:
- Radek Svitak [email protected]