public static AiravataAPI getAPI(URI registryURL, String gateway, String username, String trustStoreFilePath, String trustStorePassword) throws AiravataAPIInvocationException{ SecurityUtil.setTrustStoreParameters(trustStoreFilePath, trustStorePassword); return getAPI(registryURL, gateway, username, username); }
public static void initializeTrustStore() throws ApplicationSettingsException { SecurityUtil.setTrustStoreParameters(getTrustStorePath(), getTrustStorePassword()); }