diff options
author | Maxim Valyanskiy <maxcom@apache.org> | 2011-05-10 10:40:39 +0000 |
---|---|---|
committer | Maxim Valyanskiy <maxcom@apache.org> | 2011-05-10 10:40:39 +0000 |
commit | 25c0c129be45ac1bc6575df36121f29f64b325f2 (patch) | |
tree | 91568ed17edbb5439c9a76904555bd917120cb44 /src/documentation | |
parent | 138bd6f94c47adb06d109b5b1a342a0b37547c0c (diff) | |
download | poi-25c0c129be45ac1bc6575df36121f29f64b325f2.tar.gz poi-25c0c129be45ac1bc6575df36121f29f64b325f2.zip |
update documentation on encryption support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101398 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation')
-rw-r--r-- | src/documentation/content/xdocs/encryption.xml | 4 |
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)) { |