You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2019/02/27 19:40:47 UTC
svn commit: r1854484 -
/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
Author: tilman
Date: Wed Feb 27 19:40:47 2019
New Revision: 1854484
URL: http://svn.apache.org/viewvc?rev=1854484&view=rev
Log:
PDFBOX-3017: add //TODO about the need to get trusted roots
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=1854484&r1=1854483&r2=1854484&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 Feb 27 19:40:47 2019
@@ -491,6 +491,10 @@ public final class ShowSignature
}
}
CertificateVerifier.verifyCertificate(certFromSignedData, additionalCerts, true, signDate);
+ //TODO check whether the root certificate is in our trusted list.
+ // For the EU, get a list here:
+ // https://ec.europa.eu/digital-single-market/en/eu-trusted-lists-trust-service-providers
+ // ( getRootCertificates() is not helpful because these are SSL certificates)
}
private void validateTimestampToken(TimeStampToken timeStampToken)