code: public boolean verifyKeyFormatted(String formatted, String candidatePassword) {
  		// Parameter as member of Engine was not the smartest design decision back then...
  		PBKDF2Parameters p = getParameters();
  		PBKDF2Parameters q = new PBKDF2Parameters();
  		q.hashAlgorithm = p.hashAlgorithm;
  		q.hashCharset  = p.hashCharset;
  		boolean verifyOK = false;
  		if (!getFormatter().fromString(q, formatted)) {
  			try {
  				setParameters(q);
  				verifyOK = verifyKey(candidatePassword);
  			} finally {
  				setParameters(p);
  			}
  		}
  		return verifyOK;
  	}
docs: Verification function.
  
  @param formatted
  &quot;salt:iteration-count:derived-key&quot; (depends on
  effective formatter). This value should come from server-side
  storage.
  @param candidatePassword
  The password that is checked against the formatted reference
  data. This value will usually be supplied by the
  &quot;user&quot; or &quot;client&quot;.
  @return <code>true</code> verification OK. <code>false</code>
  verification failed or formatter unable to decode input value as
  PBKDF2 parameters.