docs: public static void encryptPrivateKeyWithPassword(final PrivateKey privateKey, final File file,
  		final String password) throws NoSuchAlgorithmException, InvalidKeySpecException,
  		NoSuchPaddingException, InvalidKeyException, InvalidAlgorithmParameterException,
  		IllegalBlockSizeException, BadPaddingException, InvalidParameterSpecException, IOException
  	{
  		encryptPrivateKeyWithPassword(privateKey, new FileOutputStream(file), password);
  	}