Skip to content

This is a repository for storing modified files of https://github.com/hidasw/TCPDF.git proposed in discussion to PR https://github.com/tecnickcom/TCPDF/pull/617. My modifiactions allowed me to add Document Time Stamp Signature to PDF (RFC3161)

Notifications You must be signed in to change notification settings

rsvitak/TCPDF-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Add Document Time Stamp (DTS) to PDF document

Description

The purpose of this repository is to store changes published in tecnickcom/TCPDF#617 (comment)

Example

$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:

obrazek

Developer(s) Contact

About

This is a repository for storing modified files of https://github.com/hidasw/TCPDF.git proposed in discussion to PR https://github.com/tecnickcom/TCPDF/pull/617. My modifiactions allowed me to add Document Time Stamp Signature to PDF (RFC3161)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages