code: public static SecureProperties encryptPropertiesFile(File clearProperties,
  			String keyPath, String keyPass, String keyEntry)
  			throws FileNotFoundException, IOException, KeyStoreException {
  		return encryptPropertiesFile(clearProperties, keyPath, keyPass,
  				keyEntry, false);
  	}
docs: Utility which will take an existing Properties file on disk and replace
  any -unencrypted values with encrypted.<br>
  Note: Encryption fields passed as parameters <b>WILL NOT</b> be placed
  into the resulting SecureProperties file.
  
  @param clearProperties
  Un-encrypted properties file to be secured
  @param keyPath
  Path to the keystore file.
  @param keyPass
  Password to be used to open and secure the Keystore password.
  @param keyEntry
  Entry name of the key to use from the keystore.
  @return
  @throws FileNotFoundException
  Properties file not found on disk.
  @throws IOException
  Error reading/writing From the clear properties or to the
  secure properties
  @throws KeyStoreException
  Error accessing or using the keystore.