code: public static PrivateKey readPasswordProtectedPrivateKey(final File encryptedPrivateKeyFile,
  		final String password) throws IOException, NoSuchAlgorithmException, NoSuchPaddingException,
  		InvalidKeySpecException, InvalidKeyException, InvalidAlgorithmParameterException
  	{
  		return readPasswordProtectedPrivateKey(encryptedPrivateKeyFile, password,
  			KeyPairGeneratorAlgorithm.RSA.getAlgorithm());
  	}
docs: Reads the given {@link File} that contains a password protected private key.
  
  @param encryptedPrivateKeyFile
  the file that contains the password protected private key
  @param password
  the password
  @return the {@link PrivateKey} object
  @throws IOException
  Signals that an I/O exception has occurred.
  @throws NoSuchAlgorithmException
  is thrown if instantiation of the SecretKeyFactory object fails.
  @throws NoSuchPaddingException
  the no such padding exception
  @throws InvalidKeySpecException
  is thrown if generation of the SecretKey object fails.
  @throws InvalidKeyException
  is thrown if initialization of the cipher object fails.
  @throws InvalidAlgorithmParameterException
  is thrown if initialization of the cipher object fails.