]> source.dussan.org Git - poi.git/commitdiff
update documentation on encryption support
authorMaxim Valyanskiy <maxcom@apache.org>
Tue, 10 May 2011 10:40:39 +0000 (10:40 +0000)
committerMaxim Valyanskiy <maxcom@apache.org>
Tue, 10 May 2011 10:40:39 +0000 (10:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101398 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/encryption.xml

index 61a2a200dd787214abb48569139135b3644c9792..7354431fba9a46587501e2ea5940c0ff341cea66 100644 (file)
@@ -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)) {