{
fos = new FileOutputStream(m_outFile);
encWriter = new OutputStreamWriter(fos, "UTF-8");
Writer decWriter = ((CharacterStreamCipher)cipher).createEncryptedWriter(
new DropPrefixWriter(encWriter, "text:"));
XMLUtil.formatXML(new DOMSource(doc), false, decWriter);
decWriter.close();
}
}