aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/documentation/content/xdocs/encryption.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/documentation/content/xdocs/encryption.xml b/src/documentation/content/xdocs/encryption.xml
index 61a2a200dd..7354431fba 100644
--- a/src/documentation/content/xdocs/encryption.xml
+++ b/src/documentation/content/xdocs/encryption.xml
@@ -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)) {