poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1662978 - /poi/site/src/documentation/content/xdocs/encryption.xml
Date Sat, 28 Feb 2015 17:48:53 GMT
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


Mime
View raw message