code: public static TrustManager[] getTrustManagers(InputStream trustStoreIs, String pass)
  			throws InitializationException {
  		if (trustStoreIs == null) {
  			throw new NullPointerException("TrustStore input stream is null");
  		}
  
  		if (pass == null) {
  			throw new NullPointerException("TrustStore password is null");
  		}
  
  		try {
  			String defaultAlgo = TrustManagerFactory.getDefaultAlgorithm();
  			TrustManagerFactory tmf = TrustManagerFactory.getInstance(defaultAlgo);
  			KeyStore ks = loadKeyStore(trustStoreIs, pass);
  			tmf.init(ks);
  			return tmf.getTrustManagers();
  		} catch (Exception e) {
  			throw new InitializationException(e.getMessage());
  		}
  	}
docs: Creates {@link TrustManager} instances based on the given parameters.
  
  @param trustStoreIs {@link InputStream} representing contents of a trustStore
  @param pass password for the trustStore
  @return an array of {@link TrustManager} instances
  @throws InitializationException