code: private static SSLContextBuilder loadTrustMaterial(SSLContextBuilder builder, final File file,
              final char[] tsp, final TrustStrategy trustStrategy)
                      throws NoSuchAlgorithmException, KeyStoreException, CertificateException, IOException {
          Args.notNull(file, "Truststore file"); //$NON-NLS-1$
          final KeyStore trustStore = KeyStore.getInstance(KeyStore.getDefaultType());
          final FileInputStream instream = new FileInputStream(file);
          try {
              trustStore.load(instream, tsp);
          } finally {
              instream.close();
          }
          return builder.loadTrustMaterial(trustStore, trustStrategy);
      }
docs: for compatibility purposes.