You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2015/02/28 18:48:53 UTC

svn commit: r1662978 - /poi/site/src/documentation/content/xdocs/encryption.xml

Author: nick
Date: Sat Feb 28 17:48:53 2015
New Revision: 1662978

URL: http://svn.apache.org/r1662978
Log:
EncryptionInfo constructors for encryption with a fs are deprecated, so update the docs

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

Modified: poi/site/src/documentation/content/xdocs/encryption.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/encryption.xml?rev=1662978&r1=1662977&r2=1662978&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/encryption.xml (original)
+++ poi/site/src/documentation/content/xdocs/encryption.xml Sat Feb 28 17:48:53 2015
@@ -214,8 +214,8 @@ try {
      hashing algorithm to be used.</p>
      <source>
 POIFSFileSystem fs = new POIFSFileSystem();
-EncryptionInfo info = new EncryptionInfo(fs, EncryptionMode.agile);
-// EncryptionInfo info = new EncryptionInfo(fs, EncryptionMode.agile, CipherAlgorithm.aes192, HashAlgorithm.sha384, -1, -1, null);
+EncryptionInfo info = new EncryptionInfo(EncryptionMode.agile);
+// EncryptionInfo info = new EncryptionInfo(EncryptionMode.agile, CipherAlgorithm.aes192, HashAlgorithm.sha384, -1, -1, null);
 
 Encryptor enc = info.getEncryptor();
 enc.confirmPassword("foobaa");



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