docs: public static TrustManager[] getTrustManagers(Info pathInfo) throws Exception {
          File trustStoreFile = new File(pathInfo.store);
          if (!trustStoreFile.isFile()) {
              throw new Exception("No TrustManager: " + pathInfo.store + " does not exist.");
          }
          String trustStorePassword = pathInfo.password;
          TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
          KeyStore truststore = KeyStore.getInstance("JKS");
  
          FileInputStream fis = new FileInputStream(pathInfo.store);
          truststore.load(fis, trustStorePassword.toCharArray());
          fis.close();
          tmf.init(truststore);
          return tmf.getTrustManagers();
      }