docs: public static Optional<String> resolvePassword(File privateKeyFile,
  		@NonNull BruteForceProcessor processor)
  	{
  		Optional<String> optionalPassword = Optional.empty();
  		try
  		{
  			boolean isPasswordProtected = PrivateKeyReader
  				.isPrivateKeyPasswordProtected(privateKeyFile);
  
  			if (!isPasswordProtected)
  			{
  
  
  				String attempt;
  				attempt = processor.getCurrentAttempt();
  				Security.addProvider(new BouncyCastleProvider());
  				while (true)
  				{
  					try
  					{
  						EncryptedPrivateKeyReader.getKeyPair(privateKeyFile, attempt);
  						optionalPassword = Optional.of(attempt);
  						break;
  					}
  					catch (IOException e)
  					{
  						attempt = processor.getCurrentAttempt();
  						processor.increment();
  					}
  				}
  			}
  		}
  		catch (IOException ex)
  		{
  			return optionalPassword;
  		}
  		return optionalPassword;
  	}