title: PDFBox 1.8 - Signing PDF Document using TSA (Time Stamp Autority)
body: <p>I'm able to digitally sign a PDF document using PDFBOX 1.8.5 thanks to this excellent sample, provided within PDFBOX. </p>
  
  <p><a href="https://github.com/apache/pdfbox/blob/1.8/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java" rel="nofollow">https://github.com/apache/pdfbox/blob/1.8/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java</a> </p>
  
  <p>When signing this sample use the date/time of the local machine (Line 175): </p>
  
  <p>// the signing date, needed for valid signature
  signature.setSignDate(Calendar.getInstance());</p>
  
  <p>It means Acrobat Reader will not trust the signature date as if it were done using a external Time Stamp Authority (TSA).</p>
  
  <p>Anyone know how to use a external TSA with PDFBOX ? </p>
  
  <p>Thanks. </p>