pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1847835 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
Date Fri, 30 Nov 2018 16:26:22 GMT
Author: tilman
Date: Fri Nov 30 16:26:22 2018
New Revision: 1847835

URL: http://svn.apache.org/viewvc?rev=1847835&view=rev
Log:
PDFBOX-3017: add /TU entry

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java?rev=1847835&r1=1847834&r2=1847835&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
Fri Nov 30 16:26:22 2018
@@ -224,6 +224,8 @@ public class AddValidationInformation
             vri.setItem("CRL", correspondingCRLs);
         }
 
+        vri.setDate(COSName.TU, Calendar.getInstance());
+
         if (certInfo.getTsaCerts() != null)
         {
             // Don't add RevocationInfo from tsa to VRI's



Mime
View raw message