Author: tilman
Date: Wed Oct 31 19:29:00 2018
New Revision: 1845376

URL: http://svn.apache.org/viewvc?rev=1845376&view=rev
Log:
PDFBOX-3017: partial revert of last commit, this method is only in the trunk at 
this time

Modified:
    
pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java

Modified: 
pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
URL: 
http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java?rev=1845376&r1=1845375&r2=1845376&view=diff
==============================================================================
--- 
pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
 (original)
+++ 
pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
 Wed Oct 31 19:29:00 2018
@@ -353,10 +353,6 @@ public final class ShowSignature
             // (If this assumption is incorrect, then the code must be changed 
to merge
             // both stores, or to pass a collection)
             validateTimestampToken(timeStampToken);
-            X509CertificateHolder tstCertHolder = (X509CertificateHolder) 
timeStampToken.getCertificates().getMatches(null).iterator().next();
-            verifyCertificateChain(certificatesStore,
-                    new 
JcaX509CertificateConverter().getCertificate(tstCertHolder),
-                    timeStampToken.getTimeStampInfo().getGenTime());
         }
 
         try


Reply via email to