code: private void loadCertificatesFromDirectory(File directory) {
  
      directorySanityChecks(directory);
  
      synchronized (listenerLock) {
        listener.notifyCertficateLookupEvent(directory.getAbsolutePath());
      }
  
      File[] certFiles = directory.listFiles(new FilenameFilter() {
  
        public boolean accept(File dir, String name) {
  
          return name.endsWith(CERTIFICATE_FILENAME_SUFFIX);
        }
      });
  
      for (File f : certFiles)
        loadCertificateFromFile(f);
  
    }
docs: Loads all the certificates in the local directory. Only files with the
  extension matching the {@link #CERTIFICATE_FILENAME_PATTERN} are
  considered.
  
  @param directory