code: public void setTrustStore(String trustStore, String trustPass, String trustManagerType, String trustStoreType) 
      {
          if((trustStore == null) || (trustPass == null))
          {
              this.trustStore =  System.getProperty("javax.net.ssl.trustStore");
              this.trustPass =  System.getProperty("javax.net.ssl.trustStorePassword");
          }
          else
          {
              this.trustStore = trustStore;
              this.trustPass = trustPass;
          }
   
          if (trustManagerType != null) {
              this.trustManagerType = trustManagerType;
          }
          if (trustStoreType != null) {
              this.trustStoreType = trustStoreType;
          }
          isTrustStoreSet = (trustStore != null) && (trustPass != null);
      }
docs: Set the truststore, password, certificate type and the store type
  
  @param trustStore Location of the Truststore on disk
  @param trustPass Truststore password
  @param trustManagerType The default is X509
  @param trustStoreType The default is JKS