pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1847038 - /pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java
Date Tue, 20 Nov 2018 17:35:49 GMT
Author: tilman
Date: Tue Nov 20 17:35:48 2018
New Revision: 1847038

URL: http://svn.apache.org/viewvc?rev=1847038&view=rev
Log:
PDFBOX-3017: make method name more intuitive

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

Modified: pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java?rev=1847038&r1=1847037&r2=1847038&view=diff
==============================================================================
--- pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java
(original)
+++ pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CertInformationCollector.java
Tue Nov 20 17:35:48 2018
@@ -325,7 +325,7 @@ public class CertInformationCollector
             InputStream in = certUrl.openStream();
 
             X509Certificate altIssuerCert = (X509Certificate) certFactory.generateCertificate(in);
-            addCertToCertStore(altIssuerCert);
+            addCertToCertificatesMap(altIssuerCert);
 
             certInfo.alternativeCertChain = new CertSignatureInformation();
             traverseChain(altIssuerCert, certInfo.alternativeCertChain, maxDepth - 1);
@@ -346,7 +346,7 @@ public class CertInformationCollector
      * 
      * @param certificate to add to the certificatesMap
      */
-    private void addCertToCertStore(X509Certificate certificate)
+    private void addCertToCertificatesMap(X509Certificate certificate)
     {
         if (!certificatesMap.containsKey(certificate.getSerialNumber()))
         {



Mime
View raw message