code: public TrustManagerFactory getTrustManagerFactoryInstance(String trustMgr, String ctxtProvider) throws NoSuchAlgorithmException, NoSuchProviderException {
          String mgr = trustMgr;
          String provider = ctxtProvider;
          if (mgr.indexOf('|') != -1) {
              String[] trustManagerArray = mgr.split("\\|");
              if (trustManagerArray != null && trustManagerArray.length == 2) {
                  mgr = trustManagerArray[0];
                  provider = trustManagerArray[1];
              }
          }
  
          TrustManagerFactory rc = TrustManagerFactory.getInstance(mgr, provider);
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "getTrustManagerFactory.getInstance(" + mgr + ", " + provider + ")" + rc);
          return rc;
      }
docs: Get the trust manager factory instance using the provided information.
  
  @see com.ibm.websphere.ssl.JSSEProvider#getTrustManagerFactoryInstance()
  @param trustMgr
  @param ctxtProvider
  @return TrustManagerFactory
  @throws NoSuchAlgorithmException
  @throws NoSuchProviderException