You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ma...@apache.org on 2011/05/10 12:40:39 UTC

svn commit: r1101398 - /poi/trunk/src/documentation/content/xdocs/encryption.xml

Author: maxcom
Date: Tue May 10 10:40:39 2011
New Revision: 1101398

URL: http://svn.apache.org/viewvc?rev=1101398&view=rev
Log:
update documentation on encryption support

Modified:
    poi/trunk/src/documentation/content/xdocs/encryption.xml

Modified: poi/trunk/src/documentation/content/xdocs/encryption.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/encryption.xml?rev=1101398&r1=1101397&r2=1101398&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/encryption.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/encryption.xml Tue May 10 10:40:39 2011
@@ -33,7 +33,7 @@
 	<p>Apache POI contains support for reading few variants of encrypted office files: </p>
 	<ul>
 		<li>XLS - RC4 Encryption</li>
-		<li>XML-based formats (XLSX, DOCX and etc) - AES Encryption</li>
+		<li>XML-based formats (XLSX, DOCX and etc) - AES and Agile Encryption</li>
 	</ul>
 
 	<p>Some "write-protected" files are encrypted with build-in password, POI can read that files too.</p>
@@ -52,7 +52,7 @@
 
 	<source>
 EncryptionInfo info = new EncryptionInfo(filesystem);
-Decryptor d = new Decryptor(info);
+Decryptor d = Decryptor.getInstance(info);
 
 try {
     if (!d.verifyPassword(password)) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org