/** * Verify a password guess. * * @param password the password object * @param guess the guessed password characters * @return {@code true} if the guess matches the password, {@code false} otherwise * @throws InvalidKeyException if the given password is not supported by this factory */ public boolean verify(Password password, char[] guess) throws InvalidKeyException { return spi.engineVerify(algorithm, password, guess); }
/** * Verify a password guess. * * @param password the password object * @param guess the guessed password characters * @return {@code true} if the guess matches the password, {@code false} otherwise * @throws InvalidKeyException if the given password is not supported by this factory */ public boolean verify(Password password, char[] guess) throws InvalidKeyException { return spi.engineVerify(algorithm, password, guess); }
/** * Verify a password guess. * * @param password the password object * @param guess the guessed password characters * @return {@code true} if the guess matches the password, {@code false} otherwise * @throws InvalidKeyException if the given password is not supported by this factory */ public boolean verify(Password password, char[] guess) throws InvalidKeyException { return spi.engineVerify(algorithm, password, guess); }
/** * Verify a password guess. * * @param password the password object * @param guess the guessed password characters * @return {@code true} if the guess matches the password, {@code false} otherwise * @throws InvalidKeyException if the given password is not supported by this factory */ public boolean verify(Password password, char[] guess) throws InvalidKeyException { return spi.engineVerify(algorithm, password, guess); }