code: public void setKeyStore(String keyStore, String keyPass, String keyManagerType, String keyStoreType) 
      {
          if((keyStore == null) || (keyPass == null))
          {
              this.keyStore =  System.getProperty("javax.net.ssl.keyStore");
              this.keyPass = System.getProperty("javax.net.ssl.keyStorePassword");
          }
          else
          {
              this.keyStore = keyStore;
              this.keyPass = keyPass;
          }
          
          if (keyManagerType != null) {
              this.keyManagerType = keyManagerType;
          }
          if (keyStoreType != null) {
              this.keyStoreType = keyStoreType;
          }
          isKeyStoreSet = (keyStore != null) && (keyPass != null);
      }
docs: Set the keystore, password, certificate type and the store type
  
  @param keyStore Location of the Keystore on disk
  @param keyPass Keystore password
  @param keyManagerType The default is X509
  @param keyStoreType The default is JKS