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 2016/09/29 22:07:56 UTC

svn commit: r1762842 [13/45] - in /poi/site/publish: ./ apidocs/ apidocs/org/apache/poi/ apidocs/org/apache/poi/class-use/ apidocs/org/apache/poi/ddf/class-use/ apidocs/org/apache/poi/hpsf/class-use/ apidocs/org/apache/poi/hpsf/wellknown/class-use/ api...

Modified: poi/site/publish/apidocs/org/apache/poi/openxml4j/opc/class-use/TargetMode.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/openxml4j/opc/class-use/TargetMode.html?rev=1762842&r1=1762841&r2=1762842&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/openxml4j/opc/class-use/TargetMode.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/openxml4j/opc/class-use/TargetMode.html Thu Sep 29 22:07:51 2016
@@ -121,15 +121,15 @@ the order they are declared.</div>
 <tbody>
 <tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a></code></td>
-<td class="colLast"><span class="strong">PackagePart.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePart.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
+<td class="colLast"><span class="strong">OPCPackage.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/OPCPackage.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
                <a href="../../../../../../org/apache/poi/openxml4j/opc/TargetMode.html" title="enum in org.apache.poi.openxml4j.opc">TargetMode</a>&nbsp;targetMode,
                java.lang.String&nbsp;relationshipType)</code>
-<div class="block">Add a relationship to a part (except relationships part).</div>
+<div class="block">Add a package relationship.</div>
 </td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a></code></td>
-<td class="colLast"><span class="strong">RelationshipSource.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/RelationshipSource.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
+<td class="colLast"><span class="strong">PackagePart.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePart.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
                <a href="../../../../../../org/apache/poi/openxml4j/opc/TargetMode.html" title="enum in org.apache.poi.openxml4j.opc">TargetMode</a>&nbsp;targetMode,
                java.lang.String&nbsp;relationshipType)</code>
 <div class="block">Add a relationship to a part (except relationships part).</div>
@@ -137,24 +137,24 @@ the order they are declared.</div>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a></code></td>
-<td class="colLast"><span class="strong">OPCPackage.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/OPCPackage.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
+<td class="colLast"><span class="strong">RelationshipSource.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/RelationshipSource.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
                <a href="../../../../../../org/apache/poi/openxml4j/opc/TargetMode.html" title="enum in org.apache.poi.openxml4j.opc">TargetMode</a>&nbsp;targetMode,
                java.lang.String&nbsp;relationshipType)</code>
-<div class="block">Add a package relationship.</div>
+<div class="block">Add a relationship to a part (except relationships part).</div>
 </td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a></code></td>
-<td class="colLast"><span class="strong">PackagePart.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePart.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
+<td class="colLast"><span class="strong">OPCPackage.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/OPCPackage.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
                <a href="../../../../../../org/apache/poi/openxml4j/opc/TargetMode.html" title="enum in org.apache.poi.openxml4j.opc">TargetMode</a>&nbsp;targetMode,
                java.lang.String&nbsp;relationshipType,
-               java.lang.String&nbsp;id)</code>
-<div class="block">Add a relationship to a part (except relationships part).</div>
+               java.lang.String&nbsp;relID)</code>
+<div class="block">Add a relationship to the package (except relationships part).</div>
 </td>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a></code></td>
-<td class="colLast"><span class="strong">RelationshipSource.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/RelationshipSource.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
+<td class="colLast"><span class="strong">PackagePart.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePart.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
                <a href="../../../../../../org/apache/poi/openxml4j/opc/TargetMode.html" title="enum in org.apache.poi.openxml4j.opc">TargetMode</a>&nbsp;targetMode,
                java.lang.String&nbsp;relationshipType,
                java.lang.String&nbsp;id)</code>
@@ -163,11 +163,11 @@ the order they are declared.</div>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a></code></td>
-<td class="colLast"><span class="strong">OPCPackage.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/OPCPackage.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
+<td class="colLast"><span class="strong">RelationshipSource.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/RelationshipSource.html#addRelationship(org.apache.poi.openxml4j.opc.PackagePartName,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(<a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePartName.html" title="class in org.apache.poi.openxml4j.opc">PackagePartName</a>&nbsp;targetPartName,
                <a href="../../../../../../org/apache/poi/openxml4j/opc/TargetMode.html" title="enum in org.apache.poi.openxml4j.opc">TargetMode</a>&nbsp;targetMode,
                java.lang.String&nbsp;relationshipType,
-               java.lang.String&nbsp;relID)</code>
-<div class="block">Add a relationship to the package (except relationships part).</div>
+               java.lang.String&nbsp;id)</code>
+<div class="block">Add a relationship to a part (except relationships part).</div>
 </td>
 </tr>
 <tr class="altColor">
@@ -180,20 +180,20 @@ the order they are declared.</div>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a></code></td>
-<td class="colLast"><span class="strong">PackageRelationshipCollection.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationshipCollection.html#addRelationship(java.net.URI,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(java.net.URI&nbsp;targetUri,
+<td class="colLast"><span class="strong">PackagePart.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePart.html#addRelationship(java.net.URI,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(java.net.URI&nbsp;targetURI,
                <a href="../../../../../../org/apache/poi/openxml4j/opc/TargetMode.html" title="enum in org.apache.poi.openxml4j.opc">TargetMode</a>&nbsp;targetMode,
                java.lang.String&nbsp;relationshipType,
                java.lang.String&nbsp;id)</code>
-<div class="block">Add a relationship to the collection.</div>
+<div class="block">Add a relationship to a part (except relationships part).</div>
 </td>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a></code></td>
-<td class="colLast"><span class="strong">PackagePart.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/PackagePart.html#addRelationship(java.net.URI,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(java.net.URI&nbsp;targetURI,
+<td class="colLast"><span class="strong">PackageRelationshipCollection.</span><code><strong><a href="../../../../../../org/apache/poi/openxml4j/opc/PackageRelationshipCollection.html#addRelationship(java.net.URI,%20org.apache.poi.openxml4j.opc.TargetMode,%20java.lang.String,%20java.lang.String)">addRelationship</a></strong>(java.net.URI&nbsp;targetUri,
                <a href="../../../../../../org/apache/poi/openxml4j/opc/TargetMode.html" title="enum in org.apache.poi.openxml4j.opc">TargetMode</a>&nbsp;targetMode,
                java.lang.String&nbsp;relationshipType,
                java.lang.String&nbsp;id)</code>
-<div class="block">Add a relationship to a part (except relationships part).</div>
+<div class="block">Add a relationship to the collection.</div>
 </td>
 </tr>
 </tbody>

Modified: poi/site/publish/apidocs/org/apache/poi/poifs/common/class-use/POIFSBigBlockSize.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/common/class-use/POIFSBigBlockSize.html?rev=1762842&r1=1762841&r2=1762842&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/poifs/common/class-use/POIFSBigBlockSize.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/poifs/common/class-use/POIFSBigBlockSize.html Thu Sep 29 22:07:51 2016
@@ -132,11 +132,11 @@ Compound Document Format.</div>
 <tbody>
 <tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/poifs/common/POIFSBigBlockSize.html" title="class in org.apache.poi.poifs.common">POIFSBigBlockSize</a></code></td>
-<td class="colLast"><span class="strong">NPOIFSFileSystem.</span><code><strong><a href="../../../../../../org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html#getBigBlockSizeDetails()">getBigBlockSizeDetails</a></strong>()</code>&nbsp;</td>
+<td class="colLast"><span class="strong">OPOIFSFileSystem.</span><code><strong><a href="../../../../../../org/apache/poi/poifs/filesystem/OPOIFSFileSystem.html#getBigBlockSizeDetails()">getBigBlockSizeDetails</a></strong>()</code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/poi/poifs/common/POIFSBigBlockSize.html" title="class in org.apache.poi.poifs.common">POIFSBigBlockSize</a></code></td>
-<td class="colLast"><span class="strong">OPOIFSFileSystem.</span><code><strong><a href="../../../../../../org/apache/poi/poifs/filesystem/OPOIFSFileSystem.html#getBigBlockSizeDetails()">getBigBlockSizeDetails</a></strong>()</code>&nbsp;</td>
+<td class="colLast"><span class="strong">NPOIFSFileSystem.</span><code><strong><a href="../../../../../../org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html#getBigBlockSizeDetails()">getBigBlockSizeDetails</a></strong>()</code>&nbsp;</td>
 </tr>
 </tbody>
 </table>
@@ -244,20 +244,20 @@ Compound Document Format.</div>
 </td>
 </tr>
 <tr class="rowColor">
-<td class="colFirst"><code>static <a href="../../../../../../org/apache/poi/poifs/storage/DocumentBlock.html" title="class in org.apache.poi.poifs.storage">DocumentBlock</a>[]</code></td>
-<td class="colLast"><span class="strong">DocumentBlock.</span><code><strong><a href="../../../../../../org/apache/poi/poifs/storage/DocumentBlock.html#convert(org.apache.poi.poifs.common.POIFSBigBlockSize,%20byte[],%20int)">convert</a></strong>(<a href="../../../../../../org/apache/poi/poifs/common/POIFSBigBlockSize.html" title="class in org.apache.poi.poifs.common">POIFSBigBlockSize</a>&nbsp;bigBlockSize,
+<td class="colFirst"><code>static <a href="../../../../../../org/apache/poi/poifs/storage/SmallDocumentBlock.html" title="class in org.apache.poi.poifs.storage">SmallDocumentBlock</a>[]</code></td>
+<td class="colLast"><span class="strong">SmallDocumentBlock.</span><code><strong><a href="../../../../../../org/apache/poi/poifs/storage/SmallDocumentBlock.html#convert(org.apache.poi.poifs.common.POIFSBigBlockSize,%20byte[],%20int)">convert</a></strong>(<a href="../../../../../../org/apache/poi/poifs/common/POIFSBigBlockSize.html" title="class in org.apache.poi.poifs.common">POIFSBigBlockSize</a>&nbsp;bigBlockSize,
        byte[]&nbsp;array,
        int&nbsp;size)</code>
-<div class="block">convert a single long array into an array of DocumentBlock
+<div class="block">convert a single long array into an array of SmallDocumentBlock
  instances</div>
 </td>
 </tr>
 <tr class="altColor">
-<td class="colFirst"><code>static <a href="../../../../../../org/apache/poi/poifs/storage/SmallDocumentBlock.html" title="class in org.apache.poi.poifs.storage">SmallDocumentBlock</a>[]</code></td>
-<td class="colLast"><span class="strong">SmallDocumentBlock.</span><code><strong><a href="../../../../../../org/apache/poi/poifs/storage/SmallDocumentBlock.html#convert(org.apache.poi.poifs.common.POIFSBigBlockSize,%20byte[],%20int)">convert</a></strong>(<a href="../../../../../../org/apache/poi/poifs/common/POIFSBigBlockSize.html" title="class in org.apache.poi.poifs.common">POIFSBigBlockSize</a>&nbsp;bigBlockSize,
+<td class="colFirst"><code>static <a href="../../../../../../org/apache/poi/poifs/storage/DocumentBlock.html" title="class in org.apache.poi.poifs.storage">DocumentBlock</a>[]</code></td>
+<td class="colLast"><span class="strong">DocumentBlock.</span><code><strong><a href="../../../../../../org/apache/poi/poifs/storage/DocumentBlock.html#convert(org.apache.poi.poifs.common.POIFSBigBlockSize,%20byte[],%20int)">convert</a></strong>(<a href="../../../../../../org/apache/poi/poifs/common/POIFSBigBlockSize.html" title="class in org.apache.poi.poifs.common">POIFSBigBlockSize</a>&nbsp;bigBlockSize,
        byte[]&nbsp;array,
        int&nbsp;size)</code>
-<div class="block">convert a single long array into an array of SmallDocumentBlock
+<div class="block">convert a single long array into an array of DocumentBlock
  instances</div>
 </td>
 </tr>

Modified: poi/site/publish/apidocs/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html?rev=1762842&r1=1762841&r2=1762842&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html Thu Sep 29 22:07:51 2016
@@ -149,10 +149,16 @@ extends <a href="../../../../../org/apac
 <th class="colOne" scope="col">Constructor and Description</th>
 </tr>
 <tr class="altColor">
-<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#ChunkedCipherInputStream(org.apache.poi.util.LittleEndianInput,%20long,%20int)">ChunkedCipherInputStream</a></strong>(<a href="../../../../../org/apache/poi/util/LittleEndianInput.html" title="interface in org.apache.poi.util">LittleEndianInput</a>&nbsp;stream,
+<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#ChunkedCipherInputStream(java.io.InputStream,%20long,%20int)">ChunkedCipherInputStream</a></strong>(java.io.InputStream&nbsp;stream,
                         long&nbsp;size,
                         int&nbsp;chunkSize)</code>&nbsp;</td>
 </tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#ChunkedCipherInputStream(java.io.InputStream,%20long,%20int,%20int)">ChunkedCipherInputStream</a></strong>(java.io.InputStream&nbsp;stream,
+                        long&nbsp;size,
+                        int&nbsp;chunkSize,
+                        int&nbsp;initialPos)</code>&nbsp;</td>
+</tr>
 </table>
 </li>
 </ul>
@@ -173,11 +179,38 @@ extends <a href="../../../../../org/apac
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#available()">available</a></strong>()</code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
+<td class="colFirst"><code>protected byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#getChunk()">getChunk</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#getChunkMask()">getChunkMask</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#getPlain()">getPlain</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#getPos()">getPos</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><code>protected abstract javax.crypto.Cipher</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#initCipherForBlock(javax.crypto.Cipher,%20int)">initCipherForBlock</a></strong>(javax.crypto.Cipher&nbsp;existing,
                   int&nbsp;block)</code>&nbsp;</td>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><code>javax.crypto.Cipher</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#initCipherForBlock(int)">initCipherForBlock</a></strong>(int&nbsp;block)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#invokeCipher(int,%20boolean)">invokeCipher</a></strong>(int&nbsp;totalBytes,
+            boolean&nbsp;doFinal)</code>
+<div class="block">Helper function for overriding the cipher invocation, i.e.</div>
+</td>
+</tr>
+<tr class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#mark(int)">mark</a></strong>(int&nbsp;readlimit)</code>&nbsp;</td>
 </tr>
@@ -197,8 +230,23 @@ extends <a href="../../../../../org/apac
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#readPlain(byte[],%20int,%20int)">readPlain</a></strong>(byte[]&nbsp;b,
+         int&nbsp;off,
+         int&nbsp;len)</code>
+<div class="block">Used when BIFF header fields (sid, size) are being read.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#reset()">reset</a></strong>()</code>&nbsp;</td>
 </tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#setNextRecordSize(int)">setNextRecordSize</a></strong>(int&nbsp;recordSize)</code>
+<div class="block">Some ciphers (actually just XOR) are based on the record size,
+ which needs to be set before decryption</div>
+</td>
+</tr>
 <tr class="rowColor">
 <td class="colFirst"><code>long</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherInputStream.html#skip(long)">skip</a></strong>(long&nbsp;n)</code>&nbsp;</td>
@@ -239,13 +287,13 @@ extends <a href="../../../../../org/apac
 <!--   -->
 </a>
 <h3>Constructor Detail</h3>
-<a name="ChunkedCipherInputStream(org.apache.poi.util.LittleEndianInput, long, int)">
+<a name="ChunkedCipherInputStream(java.io.InputStream, long, int)">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>ChunkedCipherInputStream</h4>
-<pre>public&nbsp;ChunkedCipherInputStream(<a href="../../../../../org/apache/poi/util/LittleEndianInput.html" title="interface in org.apache.poi.util">LittleEndianInput</a>&nbsp;stream,
+<pre>public&nbsp;ChunkedCipherInputStream(java.io.InputStream&nbsp;stream,
                         long&nbsp;size,
                         int&nbsp;chunkSize)
                          throws java.security.GeneralSecurityException</pre>
@@ -253,6 +301,21 @@ extends <a href="../../../../../org/apac
 <dd><code>java.security.GeneralSecurityException</code></dd></dl>
 </li>
 </ul>
+<a name="ChunkedCipherInputStream(java.io.InputStream, long, int, int)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>ChunkedCipherInputStream</h4>
+<pre>public&nbsp;ChunkedCipherInputStream(java.io.InputStream&nbsp;stream,
+                        long&nbsp;size,
+                        int&nbsp;chunkSize,
+                        int&nbsp;initialPos)
+                         throws java.security.GeneralSecurityException</pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.security.GeneralSecurityException</code></dd></dl>
+</li>
+</ul>
 </li>
 </ul>
 <!-- ============ METHOD DETAIL ========== -->
@@ -261,6 +324,20 @@ extends <a href="../../../../../org/apac
 <!--   -->
 </a>
 <h3>Method Detail</h3>
+<a name="initCipherForBlock(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>initCipherForBlock</h4>
+<pre>public final&nbsp;javax.crypto.Cipher&nbsp;initCipherForBlock(int&nbsp;block)
+                                             throws java.io.IOException,
+                                                    java.security.GeneralSecurityException</pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd>
+<dd><code>java.security.GeneralSecurityException</code></dd></dl>
+</li>
+</ul>
 <a name="initCipherForBlock(javax.crypto.Cipher, int)">
 <!--   -->
 </a>
@@ -365,7 +442,7 @@ extends <a href="../../../../../org/apac
 <a name="reset()">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>reset</h4>
 <pre>public&nbsp;void&nbsp;reset()
@@ -377,6 +454,95 @@ extends <a href="../../../../../org/apac
 <dd><code>java.io.IOException</code></dd></dl>
 </li>
 </ul>
+<a name="getChunkMask()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getChunkMask</h4>
+<pre>protected&nbsp;int&nbsp;getChunkMask()</pre>
+</li>
+</ul>
+<a name="invokeCipher(int, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>invokeCipher</h4>
+<pre>protected&nbsp;int&nbsp;invokeCipher(int&nbsp;totalBytes,
+               boolean&nbsp;doFinal)
+                    throws java.security.GeneralSecurityException</pre>
+<div class="block">Helper function for overriding the cipher invocation, i.e. XOR doesn't use a cipher
+ and uses it's own implementation</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>javax.crypto.BadPaddingException</code></dd>
+<dd><code>javax.crypto.IllegalBlockSizeException</code></dd>
+<dd><code>javax.crypto.ShortBufferException</code></dd>
+<dd><code>java.security.GeneralSecurityException</code></dd></dl>
+</li>
+</ul>
+<a name="readPlain(byte[], int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>readPlain</h4>
+<pre>public&nbsp;void&nbsp;readPlain(byte[]&nbsp;b,
+             int&nbsp;off,
+             int&nbsp;len)</pre>
+<div class="block">Used when BIFF header fields (sid, size) are being read. The internal
+ <code>Cipher</code> instance must step even when unencrypted bytes are read</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../../org/apache/poi/util/LittleEndianInput.html#readPlain(byte[],%20int,%20int)">readPlain</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/util/LittleEndianInput.html" title="interface in org.apache.poi.util">LittleEndianInput</a></code></dd>
+<dt><strong>Overrides:</strong></dt>
+<dd><code><a href="../../../../../org/apache/poi/util/LittleEndianInputStream.html#readPlain(byte[],%20int,%20int)">readPlain</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/poi/util/LittleEndianInputStream.html" title="class in org.apache.poi.util">LittleEndianInputStream</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>b</code> - the byte array to receive the bytes</dd><dd><code>off</code> - the start offset into the byte array</dd><dd><code>len</code> - the amount of bytes to fill</dd></dl>
+</li>
+</ul>
+<a name="setNextRecordSize(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setNextRecordSize</h4>
+<pre>public&nbsp;void&nbsp;setNextRecordSize(int&nbsp;recordSize)</pre>
+<div class="block">Some ciphers (actually just XOR) are based on the record size,
+ which needs to be set before decryption</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>recordSize</code> - the size of the next record</dd></dl>
+</li>
+</ul>
+<a name="getChunk()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getChunk</h4>
+<pre>protected&nbsp;byte[]&nbsp;getChunk()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the chunk bytes</dd></dl>
+</li>
+</ul>
+<a name="getPlain()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPlain</h4>
+<pre>protected&nbsp;byte[]&nbsp;getPlain()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the plain bytes</dd></dl>
+</li>
+</ul>
+<a name="getPos()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getPos</h4>
+<pre>public&nbsp;long&nbsp;getPos()</pre>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the absolute position in the stream</dd></dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>

Modified: poi/site/publish/apidocs/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html?rev=1762842&r1=1762841&r2=1762842&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html Thu Sep 29 22:07:51 2016
@@ -60,13 +60,13 @@
 <ul class="subNavList">
 <li>Summary:&nbsp;</li>
 <li>Nested&nbsp;|&nbsp;</li>
-<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#fields_inherited_from_class_java.io.FilterOutputStream">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method_summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
-<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
 <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method_detail">Method</a></li>
 </ul>
@@ -108,7 +108,7 @@
 </dl>
 <dl>
 <dt>Direct Known Subclasses:</dt>
-<dd><a href="../../../../../org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4Encryptor.BinaryRC4CipherOutputStream.html" title="class in org.apache.poi.poifs.crypt.binaryrc4">BinaryRC4Encryptor.BinaryRC4CipherOutputStream</a></dd>
+<dd><a href="../../../../../org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4Encryptor.BinaryRC4CipherOutputStream.html" title="class in org.apache.poi.poifs.crypt.binaryrc4">BinaryRC4Encryptor.BinaryRC4CipherOutputStream</a>, <a href="../../../../../org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIEncryptor.CryptoAPICipherOutputStream.html" title="class in org.apache.poi.poifs.crypt.cryptoapi">CryptoAPIEncryptor.CryptoAPICipherOutputStream</a></dd>
 </dl>
 <hr>
 <br>
@@ -127,25 +127,6 @@ extends java.io.FilterOutputStream</pre>
 <!--   -->
 </a>
 <h3>Field Summary</h3>
-<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
-<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
-<tr>
-<th class="colFirst" scope="col">Modifier and Type</th>
-<th class="colLast" scope="col">Field and Description</th>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>protected int</code></td>
-<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#chunkBits">chunkBits</a></strong></code>&nbsp;</td>
-</tr>
-<tr class="rowColor">
-<td class="colFirst"><code>protected int</code></td>
-<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#chunkMask">chunkMask</a></strong></code>&nbsp;</td>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>protected int</code></td>
-<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#chunkSize">chunkSize</a></strong></code>&nbsp;</td>
-</tr>
-</table>
 <ul class="blockList">
 <li class="blockList"><a name="fields_inherited_from_class_java.io.FilterOutputStream">
 <!--   -->
@@ -170,6 +151,10 @@ extends java.io.FilterOutputStream</pre>
 <td class="colOne"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#ChunkedCipherOutputStream(org.apache.poi.poifs.filesystem.DirectoryNode,%20int)">ChunkedCipherOutputStream</a></strong>(<a href="../../../../../org/apache/poi/poifs/filesystem/DirectoryNode.html" title="class in org.apache.poi.poifs.filesystem">DirectoryNode</a>&nbsp;dir,
                          int&nbsp;chunkSize)</code>&nbsp;</td>
 </tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#ChunkedCipherOutputStream(java.io.OutputStream,%20int)">ChunkedCipherOutputStream</a></strong>(java.io.OutputStream&nbsp;stream,
+                         int&nbsp;chunkSize)</code>&nbsp;</td>
+</tr>
 </table>
 </li>
 </ul>
@@ -200,11 +185,51 @@ extends java.io.FilterOutputStream</pre>
                          java.io.File&nbsp;tmpFile)</code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
+<td class="colFirst"><code>protected byte[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#getChunk()">getChunk</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#getChunkMask()">getChunkMask</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected java.util.BitSet</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#getPlainByteFlags()">getPlainByteFlags</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected long</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#getPos()">getPos</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected long</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#getTotalPos()">getTotalPos</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
 <td class="colFirst"><code>protected abstract javax.crypto.Cipher</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#initCipherForBlock(javax.crypto.Cipher,%20int,%20boolean)">initCipherForBlock</a></strong>(javax.crypto.Cipher&nbsp;existing,
                   int&nbsp;block,
                   boolean&nbsp;lastChunk)</code>&nbsp;</td>
 </tr>
+<tr class="rowColor">
+<td class="colFirst"><code>javax.crypto.Cipher</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#initCipherForBlock(int,%20boolean)">initCipherForBlock</a></strong>(int&nbsp;block,
+                  boolean&nbsp;lastChunk)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#invokeCipher(int,%20boolean)">invokeCipher</a></strong>(int&nbsp;posInChunk,
+            boolean&nbsp;doFinal)</code>
+<div class="block">Helper function for overriding the cipher invocation, i.e.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#setNextRecordSize(int,%20boolean)">setNextRecordSize</a></strong>(int&nbsp;recordSize,
+                 boolean&nbsp;isPlain)</code>
+<div class="block">Some ciphers (actually just XOR) are based on the record size,
+ which needs to be set before encryption</div>
+</td>
+</tr>
 <tr class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#write(byte[])">write</a></strong>(byte[]&nbsp;b)</code>&nbsp;</td>
@@ -216,12 +241,25 @@ extends java.io.FilterOutputStream</pre>
      int&nbsp;len)</code>&nbsp;</td>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#write(byte[],%20int,%20int,%20boolean)">write</a></strong>(byte[]&nbsp;b,
+     int&nbsp;off,
+     int&nbsp;len,
+     boolean&nbsp;writePlain)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#write(int)">write</a></strong>(int&nbsp;b)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
-<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#writeChunk()">writeChunk</a></strong>()</code>&nbsp;</td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#writeChunk(boolean)">writeChunk</a></strong>(boolean&nbsp;continued)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.html#writePlain(byte[],%20int,%20int)">writePlain</a></strong>(byte[]&nbsp;b,
+          int&nbsp;off,
+          int&nbsp;len)</code>&nbsp;</td>
 </tr>
 </table>
 <ul class="blockList">
@@ -246,54 +284,34 @@ extends java.io.FilterOutputStream</pre>
 <div class="details">
 <ul class="blockList">
 <li class="blockList">
-<!-- ============ FIELD DETAIL =========== -->
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
 <ul class="blockList">
-<li class="blockList"><a name="field_detail">
-<!--   -->
-</a>
-<h3>Field Detail</h3>
-<a name="chunkSize">
+<li class="blockList"><a name="constructor_detail">
 <!--   -->
 </a>
-<ul class="blockList">
-<li class="blockList">
-<h4>chunkSize</h4>
-<pre>protected final&nbsp;int chunkSize</pre>
-</li>
-</ul>
-<a name="chunkMask">
+<h3>Constructor Detail</h3>
+<a name="ChunkedCipherOutputStream(org.apache.poi.poifs.filesystem.DirectoryNode, int)">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>chunkMask</h4>
-<pre>protected final&nbsp;int chunkMask</pre>
-</li>
-</ul>
-<a name="chunkBits">
-<!--   -->
-</a>
-<ul class="blockListLast">
-<li class="blockList">
-<h4>chunkBits</h4>
-<pre>protected final&nbsp;int chunkBits</pre>
-</li>
-</ul>
+<h4>ChunkedCipherOutputStream</h4>
+<pre>public&nbsp;ChunkedCipherOutputStream(<a href="../../../../../org/apache/poi/poifs/filesystem/DirectoryNode.html" title="class in org.apache.poi.poifs.filesystem">DirectoryNode</a>&nbsp;dir,
+                         int&nbsp;chunkSize)
+                          throws java.io.IOException,
+                                 java.security.GeneralSecurityException</pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd>
+<dd><code>java.security.GeneralSecurityException</code></dd></dl>
 </li>
 </ul>
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-<ul class="blockList">
-<li class="blockList"><a name="constructor_detail">
-<!--   -->
-</a>
-<h3>Constructor Detail</h3>
-<a name="ChunkedCipherOutputStream(org.apache.poi.poifs.filesystem.DirectoryNode, int)">
+<a name="ChunkedCipherOutputStream(java.io.OutputStream, int)">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>ChunkedCipherOutputStream</h4>
-<pre>public&nbsp;ChunkedCipherOutputStream(<a href="../../../../../org/apache/poi/poifs/filesystem/DirectoryNode.html" title="class in org.apache.poi.poifs.filesystem">DirectoryNode</a>&nbsp;dir,
+<pre>public&nbsp;ChunkedCipherOutputStream(java.io.OutputStream&nbsp;stream,
                          int&nbsp;chunkSize)
                           throws java.io.IOException,
                                  java.security.GeneralSecurityException</pre>
@@ -310,6 +328,21 @@ extends java.io.FilterOutputStream</pre>
 <!--   -->
 </a>
 <h3>Method Detail</h3>
+<a name="initCipherForBlock(int, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>initCipherForBlock</h4>
+<pre>public final&nbsp;javax.crypto.Cipher&nbsp;initCipherForBlock(int&nbsp;block,
+                                     boolean&nbsp;lastChunk)
+                                             throws java.io.IOException,
+                                                    java.security.GeneralSecurityException</pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd>
+<dd><code>java.security.GeneralSecurityException</code></dd></dl>
+</li>
+</ul>
 <a name="initCipherForBlock(javax.crypto.Cipher, int, boolean)">
 <!--   -->
 </a>
@@ -319,8 +352,10 @@ extends java.io.FilterOutputStream</pre>
 <pre>protected abstract&nbsp;javax.crypto.Cipher&nbsp;initCipherForBlock(javax.crypto.Cipher&nbsp;existing,
                                      int&nbsp;block,
                                      boolean&nbsp;lastChunk)
-                                                   throws java.security.GeneralSecurityException</pre>
+                                                   throws java.io.IOException,
+                                                          java.security.GeneralSecurityException</pre>
 <dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd>
 <dd><code>java.security.GeneralSecurityException</code></dd></dl>
 </li>
 </ul>
@@ -401,24 +436,79 @@ extends java.io.FilterOutputStream</pre>
 <dd><code>java.io.IOException</code></dd></dl>
 </li>
 </ul>
-<a name="writeChunk()">
+<a name="writePlain(byte[], int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>writePlain</h4>
+<pre>public&nbsp;void&nbsp;writePlain(byte[]&nbsp;b,
+              int&nbsp;off,
+              int&nbsp;len)
+                throws java.io.IOException</pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd></dl>
+</li>
+</ul>
+<a name="write(byte[], int, int, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>write</h4>
+<pre>protected&nbsp;void&nbsp;write(byte[]&nbsp;b,
+         int&nbsp;off,
+         int&nbsp;len,
+         boolean&nbsp;writePlain)
+              throws java.io.IOException</pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd></dl>
+</li>
+</ul>
+<a name="getChunkMask()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getChunkMask</h4>
+<pre>protected&nbsp;int&nbsp;getChunkMask()</pre>
+</li>
+</ul>
+<a name="writeChunk(boolean)">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>writeChunk</h4>
-<pre>protected&nbsp;void&nbsp;writeChunk()
-                   throws java.io.IOException,
-                          java.security.GeneralSecurityException</pre>
+<pre>protected&nbsp;void&nbsp;writeChunk(boolean&nbsp;continued)
+                   throws java.io.IOException</pre>
 <dl><dt><span class="strong">Throws:</span></dt>
-<dd><code>java.io.IOException</code></dd>
+<dd><code>java.io.IOException</code></dd></dl>
+</li>
+</ul>
+<a name="invokeCipher(int, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>invokeCipher</h4>
+<pre>protected&nbsp;int&nbsp;invokeCipher(int&nbsp;posInChunk,
+               boolean&nbsp;doFinal)
+                    throws java.security.GeneralSecurityException</pre>
+<div class="block">Helper function for overriding the cipher invocation, i.e. XOR doesn't use a cipher
+ and uses it's own implementation</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>javax.crypto.BadPaddingException</code></dd>
+<dd><code>javax.crypto.IllegalBlockSizeException</code></dd>
+<dd><code>javax.crypto.ShortBufferException</code></dd>
 <dd><code>java.security.GeneralSecurityException</code></dd></dl>
 </li>
 </ul>
 <a name="close()">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>close</h4>
 <pre>public&nbsp;void&nbsp;close()
@@ -434,6 +524,55 @@ extends java.io.FilterOutputStream</pre>
 <dd><code>java.io.IOException</code></dd></dl>
 </li>
 </ul>
+<a name="getChunk()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getChunk</h4>
+<pre>protected&nbsp;byte[]&nbsp;getChunk()</pre>
+</li>
+</ul>
+<a name="getPlainByteFlags()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPlainByteFlags</h4>
+<pre>protected&nbsp;java.util.BitSet&nbsp;getPlainByteFlags()</pre>
+</li>
+</ul>
+<a name="getPos()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPos</h4>
+<pre>protected&nbsp;long&nbsp;getPos()</pre>
+</li>
+</ul>
+<a name="getTotalPos()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTotalPos</h4>
+<pre>protected&nbsp;long&nbsp;getTotalPos()</pre>
+</li>
+</ul>
+<a name="setNextRecordSize(int, boolean)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>setNextRecordSize</h4>
+<pre>public&nbsp;void&nbsp;setNextRecordSize(int&nbsp;recordSize,
+                     boolean&nbsp;isPlain)</pre>
+<div class="block">Some ciphers (actually just XOR) are based on the record size,
+ which needs to be set before encryption</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>recordSize</code> - the size of the next record</dd><dd><code>isPlain</code> - <code>true</code> if the record is unencrypted</dd></dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>
@@ -486,13 +625,13 @@ extends java.io.FilterOutputStream</pre>
 <ul class="subNavList">
 <li>Summary:&nbsp;</li>
 <li>Nested&nbsp;|&nbsp;</li>
-<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#fields_inherited_from_class_java.io.FilterOutputStream">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method_summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
-<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
 <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method_detail">Method</a></li>
 </ul>

Modified: poi/site/publish/apidocs/org/apache/poi/poifs/crypt/Decryptor.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/crypt/Decryptor.html?rev=1762842&r1=1762841&r2=1762842&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/poifs/crypt/Decryptor.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/poifs/crypt/Decryptor.html Thu Sep 29 22:07:51 2016
@@ -93,13 +93,18 @@
 <ul class="blockList">
 <li class="blockList">
 <dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.lang.Cloneable</dd>
+</dl>
+<dl>
 <dt>Direct Known Subclasses:</dt>
-<dd><a href="../../../../../org/apache/poi/poifs/crypt/agile/AgileDecryptor.html" title="class in org.apache.poi.poifs.crypt.agile">AgileDecryptor</a>, <a href="../../../../../org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4Decryptor.html" title="class in org.apache.poi.poifs.crypt.binaryrc4">BinaryRC4Decryptor</a>, <a href="../../../../../org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.html" title="class in org.apache.poi.poifs.crypt.cryptoapi">CryptoAPIDecryptor</a>, <a href="../../../../../org/apache/poi/poifs/crypt/standard/StandardDecryptor.html" title="class in org.apache.poi.poifs.crypt.standard">StandardDecryptor</a></dd>
+<dd><a href="../../../../../org/apache/poi/poifs/crypt/agile/AgileDecryptor.html" title="class in org.apache.poi.poifs.crypt.agile">AgileDecryptor</a>, <a href="../../../../../org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4Decryptor.html" title="class in org.apache.poi.poifs.crypt.binaryrc4">BinaryRC4Decryptor</a>, <a href="../../../../../org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.html" title="class in org.apache.poi.poifs.crypt.cryptoapi">CryptoAPIDecryptor</a>, <a href="../../../../../org/apache/poi/poifs/crypt/standard/StandardDecryptor.html" title="class in org.apache.poi.poifs.crypt.standard">StandardDecryptor</a>, <a href="../../../../../org/apache/poi/poifs/crypt/xor/XORDecryptor.html" title="class in org.apache.poi.poifs.crypt.xor">XORDecryptor</a></dd>
 </dl>
 <hr>
 <br>
 <pre>public abstract class <span class="strong">Decryptor</span>
-extends java.lang.Object</pre>
+extends java.lang.Object
+implements java.lang.Cloneable</pre>
 </li>
 </ul>
 </div>
@@ -119,17 +124,17 @@ extends java.lang.Object</pre>
 <th class="colLast" scope="col">Field and Description</th>
 </tr>
 <tr class="altColor">
-<td class="colFirst"><code>protected <a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfoBuilder.html" title="interface in org.apache.poi.poifs.crypt">EncryptionInfoBuilder</a></code></td>
-<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#builder">builder</a></strong></code>&nbsp;</td>
-</tr>
-<tr class="rowColor">
 <td class="colFirst"><code>static java.lang.String</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#DEFAULT_PASSWORD">DEFAULT_PASSWORD</a></strong></code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>static java.lang.String</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#DEFAULT_POIFS_ENTRY">DEFAULT_POIFS_ENTRY</a></strong></code>&nbsp;</td>
 </tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected <a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#encryptionInfo">encryptionInfo</a></strong></code>&nbsp;</td>
+</tr>
 </table>
 </li>
 </ul>
@@ -147,7 +152,7 @@ extends java.lang.Object</pre>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code>protected </code></td>
-<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#Decryptor(org.apache.poi.poifs.crypt.EncryptionInfoBuilder)">Decryptor</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfoBuilder.html" title="interface in org.apache.poi.poifs.crypt">EncryptionInfoBuilder</a>&nbsp;builder)</code>&nbsp;</td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#Decryptor()">Decryptor</a></strong>()</code>&nbsp;</td>
 </tr>
 </table>
 </li>
@@ -165,15 +170,27 @@ extends java.lang.Object</pre>
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html" title="class in org.apache.poi.poifs.crypt">Decryptor</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#clone()">clone</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><code>protected int</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getBlockSizeInBytes()">getBlockSizeInBytes</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>abstract java.io.InputStream</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getDataStream(org.apache.poi.poifs.filesystem.DirectoryNode)">getDataStream</a></strong>(<a href="../../../../../org/apache/poi/poifs/filesystem/DirectoryNode.html" title="class in org.apache.poi.poifs.filesystem">DirectoryNode</a>&nbsp;dir)</code>
 <div class="block">Return a stream with decrypted data.</div>
 </td>
 </tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.io.InputStream</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getDataStream(java.io.InputStream,%20int,%20int)">getDataStream</a></strong>(java.io.InputStream&nbsp;stream,
+             int&nbsp;size,
+             int&nbsp;initialPos)</code>
+<div class="block">Wraps a stream for decryption</div>
+</td>
+</tr>
 <tr class="altColor">
 <td class="colFirst"><code>java.io.InputStream</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getDataStream(org.apache.poi.poifs.filesystem.NPOIFSFileSystem)">getDataStream</a></strong>(<a href="../../../../../org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html" title="class in org.apache.poi.poifs.filesystem">NPOIFSFileSystem</a>&nbsp;fs)</code>&nbsp;</td>
@@ -187,36 +204,57 @@ extends java.lang.Object</pre>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getDataStream(org.apache.poi.poifs.filesystem.POIFSFileSystem)">getDataStream</a></strong>(<a href="../../../../../org/apache/poi/poifs/filesystem/POIFSFileSystem.html" title="class in org.apache.poi.poifs.filesystem">POIFSFileSystem</a>&nbsp;fs)</code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getEncryptionInfo()">getEncryptionInfo</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html" title="class in org.apache.poi.poifs.crypt">Decryptor</a></code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getInstance(org.apache.poi.poifs.crypt.EncryptionInfo)">getInstance</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a>&nbsp;info)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>byte[]</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getIntegrityHmacKey()">getIntegrityHmacKey</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>byte[]</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getIntegrityHmacValue()">getIntegrityHmacValue</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected int</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getKeySizeInBytes()">getKeySizeInBytes</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>abstract long</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getLength()">getLength</a></strong>()</code>
 <div class="block">Returns the length of the encrypted data that can be safely read with
  <a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getDataStream(org.apache.poi.poifs.filesystem.DirectoryNode)"><code>getDataStream(org.apache.poi.poifs.filesystem.DirectoryNode)</code></a>.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>javax.crypto.SecretKey</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getSecretKey()">getSecretKey</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>byte[]</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#getVerifier()">getVerifier</a></strong>()</code>&nbsp;</td>
 </tr>
+<tr class="rowColor">
+<td class="colFirst"><code>javax.crypto.Cipher</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#initCipherForBlock(javax.crypto.Cipher,%20int)">initCipherForBlock</a></strong>(javax.crypto.Cipher&nbsp;cipher,
+                  int&nbsp;block)</code>
+<div class="block">Initializes a cipher object for a given block index for encryption</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#setChunkSize(int)">setChunkSize</a></strong>(int&nbsp;chunkSize)</code>
+<div class="block">Sets the chunk size of the data stream.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#setEncryptionInfo(org.apache.poi.poifs.crypt.EncryptionInfo)">setEncryptionInfo</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a>&nbsp;encryptionInfo)</code>&nbsp;</td>
+</tr>
 <tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html#setIntegrityHmacKey(byte[])">setIntegrityHmacKey</a></strong>(byte[]&nbsp;integrityHmacKey)</code>&nbsp;</td>
@@ -243,7 +281,7 @@ extends java.lang.Object</pre>
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
-<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+<code>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
 </ul>
 </li>
 </ul>
@@ -279,13 +317,13 @@ extends java.lang.Object</pre>
 <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.poifs.crypt.Decryptor.DEFAULT_POIFS_ENTRY">Constant Field Values</a></dd></dl>
 </li>
 </ul>
-<a name="builder">
+<a name="encryptionInfo">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
-<h4>builder</h4>
-<pre>protected final&nbsp;<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfoBuilder.html" title="interface in org.apache.poi.poifs.crypt">EncryptionInfoBuilder</a> builder</pre>
+<h4>encryptionInfo</h4>
+<pre>protected&nbsp;<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a> encryptionInfo</pre>
 </li>
 </ul>
 </li>
@@ -296,13 +334,13 @@ extends java.lang.Object</pre>
 <!--   -->
 </a>
 <h3>Constructor Detail</h3>
-<a name="Decryptor(org.apache.poi.poifs.crypt.EncryptionInfoBuilder)">
+<a name="Decryptor()">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>Decryptor</h4>
-<pre>protected&nbsp;Decryptor(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfoBuilder.html" title="interface in org.apache.poi.poifs.crypt">EncryptionInfoBuilder</a>&nbsp;builder)</pre>
+<pre>protected&nbsp;Decryptor()</pre>
 </li>
 </ul>
 </li>
@@ -335,6 +373,57 @@ extends java.lang.Object</pre>
 <dd><code>java.security.GeneralSecurityException</code></dd></dl>
 </li>
 </ul>
+<a name="getDataStream(java.io.InputStream, int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getDataStream</h4>
+<pre>public&nbsp;java.io.InputStream&nbsp;getDataStream(java.io.InputStream&nbsp;stream,
+                                int&nbsp;size,
+                                int&nbsp;initialPos)
+                                  throws java.io.IOException,
+                                         java.security.GeneralSecurityException</pre>
+<div class="block">Wraps a stream for decryption<p>
+ 
+ As we are handling streams and don't know the total length beforehand,
+ it's the callers duty to care for the length of the entries.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stream</code> - the stream to be wrapped</dd><dd><code>initialPos</code> - initial/current byte position within the stream</dd>
+<dt><span class="strong">Returns:</span></dt><dd>decrypted stream</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd>
+<dd><code>java.security.GeneralSecurityException</code></dd></dl>
+</li>
+</ul>
+<a name="setChunkSize(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setChunkSize</h4>
+<pre>public&nbsp;void&nbsp;setChunkSize(int&nbsp;chunkSize)</pre>
+<div class="block">Sets the chunk size of the data stream.
+ Needs to be set before the data stream is requested.
+ When not set, the implementation uses method specific default values</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>chunkSize</code> - the chunk size, i.e. the block size with the same encryption key</dd></dl>
+</li>
+</ul>
+<a name="initCipherForBlock(javax.crypto.Cipher, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>initCipherForBlock</h4>
+<pre>public&nbsp;javax.crypto.Cipher&nbsp;initCipherForBlock(javax.crypto.Cipher&nbsp;cipher,
+                                     int&nbsp;block)
+                                       throws java.security.GeneralSecurityException</pre>
+<div class="block">Initializes a cipher object for a given block index for encryption</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cipher</code> - may be null, otherwise the given instance is reset to the new block index</dd><dd><code>block</code> - the block index, e.g. the persist/slide id (hslf)</dd>
+<dt><span class="strong">Returns:</span></dt><dd>a new cipher object, if cipher was null, otherwise the reinitialized cipher</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.security.GeneralSecurityException</code></dd></dl>
+</li>
+</ul>
 <a name="verifyPassword(java.lang.String)">
 <!--   -->
 </a>
@@ -504,12 +593,45 @@ extends java.lang.Object</pre>
 <a name="getKeySizeInBytes()">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>getKeySizeInBytes</h4>
 <pre>protected&nbsp;int&nbsp;getKeySizeInBytes()</pre>
 </li>
 </ul>
+<a name="getEncryptionInfo()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getEncryptionInfo</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a>&nbsp;getEncryptionInfo()</pre>
+</li>
+</ul>
+<a name="setEncryptionInfo(org.apache.poi.poifs.crypt.EncryptionInfo)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setEncryptionInfo</h4>
+<pre>public&nbsp;void&nbsp;setEncryptionInfo(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a>&nbsp;encryptionInfo)</pre>
+</li>
+</ul>
+<a name="clone()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>clone</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html" title="class in org.apache.poi.poifs.crypt">Decryptor</a>&nbsp;clone()
+                throws java.lang.CloneNotSupportedException</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>clone</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.CloneNotSupportedException</code></dd></dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>

Modified: poi/site/publish/apidocs/org/apache/poi/poifs/crypt/EncryptionHeader.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/crypt/EncryptionHeader.html?rev=1762842&r1=1762841&r2=1762842&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/poifs/crypt/EncryptionHeader.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/poifs/crypt/EncryptionHeader.html Thu Sep 29 22:07:51 2016
@@ -93,13 +93,18 @@
 <ul class="blockList">
 <li class="blockList">
 <dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.lang.Cloneable</dd>
+</dl>
+<dl>
 <dt>Direct Known Subclasses:</dt>
-<dd><a href="../../../../../org/apache/poi/poifs/crypt/agile/AgileEncryptionHeader.html" title="class in org.apache.poi.poifs.crypt.agile">AgileEncryptionHeader</a>, <a href="../../../../../org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4EncryptionHeader.html" title="class in org.apache.poi.poifs.crypt.binaryrc4">BinaryRC4EncryptionHeader</a>, <a href="../../../../../org/apache/poi/poifs/crypt/standard/StandardEncryptionHeader.html" title="class in org.apache.poi.poifs.crypt.standard">StandardEncryptionHeader</a></dd>
+<dd><a href="../../../../../org/apache/poi/poifs/crypt/agile/AgileEncryptionHeader.html" title="class in org.apache.poi.poifs.crypt.agile">AgileEncryptionHeader</a>, <a href="../../../../../org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4EncryptionHeader.html" title="class in org.apache.poi.poifs.crypt.binaryrc4">BinaryRC4EncryptionHeader</a>, <a href="../../../../../org/apache/poi/poifs/crypt/standard/StandardEncryptionHeader.html" title="class in org.apache.poi.poifs.crypt.standard">StandardEncryptionHeader</a>, <a href="../../../../../org/apache/poi/poifs/crypt/xor/XOREncryptionHeader.html" title="class in org.apache.poi.poifs.crypt.xor">XOREncryptionHeader</a></dd>
 </dl>
 <hr>
 <br>
 <pre>public abstract class <span class="strong">EncryptionHeader</span>
-extends java.lang.Object</pre>
+extends java.lang.Object
+implements java.lang.Cloneable</pre>
 <div class="block">Reads and processes OOXML Encryption Headers
  The constants are largely based on ZIP constants.</div>
 </li>
@@ -211,82 +216,86 @@ extends java.lang.Object</pre>
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html" title="class in org.apache.poi.poifs.crypt">EncryptionHeader</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#clone()">clone</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getBlockSize()">getBlockSize</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/ChainingMode.html" title="enum in org.apache.poi.poifs.crypt">ChainingMode</a></code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getChainingMode()">getChainingMode</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/CipherAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">CipherAlgorithm</a></code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getCipherAlgorithm()">getCipherAlgorithm</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/CipherProvider.html" title="enum in org.apache.poi.poifs.crypt">CipherProvider</a></code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getCipherProvider()">getCipherProvider</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>java.lang.String</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getCspName()">getCspName</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getFlags()">getFlags</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a></code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getHashAlgorithmEx()">getHashAlgorithmEx</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>byte[]</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getKeySalt()">getKeySalt</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getKeySize()">getKeySize</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#getSizeExtra()">getSizeExtra</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setBlockSize(int)">setBlockSize</a></strong>(int&nbsp;blockSize)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setChainingMode(org.apache.poi.poifs.crypt.ChainingMode)">setChainingMode</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/ChainingMode.html" title="enum in org.apache.poi.poifs.crypt">ChainingMode</a>&nbsp;chainingMode)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setCipherAlgorithm(org.apache.poi.poifs.crypt.CipherAlgorithm)">setCipherAlgorithm</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/CipherAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">CipherAlgorithm</a>&nbsp;cipherAlgorithm)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setCipherProvider(org.apache.poi.poifs.crypt.CipherProvider)">setCipherProvider</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/CipherProvider.html" title="enum in org.apache.poi.poifs.crypt">CipherProvider</a>&nbsp;providerType)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setCspName(java.lang.String)">setCspName</a></strong>(java.lang.String&nbsp;cspName)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setFlags(int)">setFlags</a></strong>(int&nbsp;flags)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setHashAlgorithm(org.apache.poi.poifs.crypt.HashAlgorithm)">setHashAlgorithm</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/HashAlgorithm.html" title="enum in org.apache.poi.poifs.crypt">HashAlgorithm</a>&nbsp;hashAlgorithm)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setKeySalt(byte[])">setKeySalt</a></strong>(byte[]&nbsp;salt)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setKeySize(int)">setKeySize</a></strong>(int&nbsp;keyBits)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html#setSizeExtra(int)">setSizeExtra</a></strong>(int&nbsp;sizeExtra)</code>&nbsp;</td>
 </tr>
@@ -296,7 +305,7 @@ extends java.lang.Object</pre>
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
-<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+<code>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
 </ul>
 </li>
 </ul>
@@ -637,12 +646,27 @@ extends java.lang.Object</pre>
 <a name="setCspName(java.lang.String)">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>setCspName</h4>
 <pre>protected&nbsp;void&nbsp;setCspName(java.lang.String&nbsp;cspName)</pre>
 </li>
 </ul>
+<a name="clone()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>clone</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html" title="class in org.apache.poi.poifs.crypt">EncryptionHeader</a>&nbsp;clone()
+                       throws java.lang.CloneNotSupportedException</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>clone</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.CloneNotSupportedException</code></dd></dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>

Modified: poi/site/publish/apidocs/org/apache/poi/poifs/crypt/EncryptionInfo.html
URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/poifs/crypt/EncryptionInfo.html?rev=1762842&r1=1762841&r2=1762842&view=diff
==============================================================================
--- poi/site/publish/apidocs/org/apache/poi/poifs/crypt/EncryptionInfo.html (original)
+++ poi/site/publish/apidocs/org/apache/poi/poifs/crypt/EncryptionInfo.html Thu Sep 29 22:07:51 2016
@@ -92,10 +92,15 @@
 <div class="description">
 <ul class="blockList">
 <li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.lang.Cloneable</dd>
+</dl>
 <hr>
 <br>
 <pre>public class <span class="strong">EncryptionInfo</span>
-extends java.lang.Object</pre>
+extends java.lang.Object
+implements java.lang.Cloneable</pre>
 </li>
 </ul>
 </div>
@@ -176,8 +181,8 @@ extends java.lang.Object</pre>
 </td>
 </tr>
 <tr class="rowColor">
-<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#EncryptionInfo(org.apache.poi.util.LittleEndianInput,%20boolean)">EncryptionInfo</a></strong>(<a href="../../../../../org/apache/poi/util/LittleEndianInput.html" title="interface in org.apache.poi.util">LittleEndianInput</a>&nbsp;dis,
-              boolean&nbsp;isCryptoAPI)</code>&nbsp;</td>
+<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#EncryptionInfo(org.apache.poi.util.LittleEndianInput,%20org.apache.poi.poifs.crypt.EncryptionMode)">EncryptionInfo</a></strong>(<a href="../../../../../org/apache/poi/util/LittleEndianInput.html" title="interface in org.apache.poi.util">LittleEndianInput</a>&nbsp;dis,
+              <a href="../../../../../org/apache/poi/poifs/crypt/EncryptionMode.html" title="enum in org.apache.poi.poifs.crypt">EncryptionMode</a>&nbsp;preferredEncryptionMode)</code>&nbsp;</td>
 </tr>
 <tr class="altColor">
 <td class="colOne"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#EncryptionInfo(org.apache.poi.poifs.filesystem.NPOIFSFileSystem)">EncryptionInfo</a></strong>(<a href="../../../../../org/apache/poi/poifs/filesystem/NPOIFSFileSystem.html" title="class in org.apache.poi.poifs.filesystem">NPOIFSFileSystem</a>&nbsp;fs)</code>
@@ -210,17 +215,25 @@ extends java.lang.Object</pre>
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#clone()">clone</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><code>protected static <a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfoBuilder.html" title="interface in org.apache.poi.poifs.crypt">EncryptionInfoBuilder</a></code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#getBuilder(org.apache.poi.poifs.crypt.EncryptionMode)">getBuilder</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionMode.html" title="enum in org.apache.poi.poifs.crypt">EncryptionMode</a>&nbsp;encryptionMode)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html" title="class in org.apache.poi.poifs.crypt">Decryptor</a></code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#getDecryptor()">getDecryptor</a></strong>()</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#getEncryptionFlags()">getEncryptionFlags</a></strong>()</code>&nbsp;</td>
 </tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionMode.html" title="enum in org.apache.poi.poifs.crypt">EncryptionMode</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#getEncryptionMode()">getEncryptionMode</a></strong>()</code>&nbsp;</td>
+</tr>
 <tr class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/poi/poifs/crypt/Encryptor.html" title="class in org.apache.poi.poifs.crypt">Encryptor</a></code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#getEncryptor()">getEncryptor</a></strong>()</code>&nbsp;</td>
@@ -241,13 +254,29 @@ extends java.lang.Object</pre>
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#getVersionMinor()">getVersionMinor</a></strong>()</code>&nbsp;</td>
 </tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#setDecryptor(org.apache.poi.poifs.crypt.Decryptor)">setDecryptor</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html" title="class in org.apache.poi.poifs.crypt">Decryptor</a>&nbsp;decryptor)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#setEncryptor(org.apache.poi.poifs.crypt.Encryptor)">setEncryptor</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/Encryptor.html" title="class in org.apache.poi.poifs.crypt">Encryptor</a>&nbsp;encryptor)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#setHeader(org.apache.poi.poifs.crypt.EncryptionHeader)">setHeader</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html" title="class in org.apache.poi.poifs.crypt">EncryptionHeader</a>&nbsp;header)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html#setVerifier(org.apache.poi.poifs.crypt.EncryptionVerifier)">setVerifier</a></strong>(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionVerifier.html" title="class in org.apache.poi.poifs.crypt">EncryptionVerifier</a>&nbsp;verifier)</code>&nbsp;</td>
+</tr>
 </table>
 <ul class="blockList">
 <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
-<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+<code>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
 </ul>
 </li>
 </ul>
@@ -367,14 +396,14 @@ extends java.lang.Object</pre>
 <dd><code>java.io.IOException</code></dd></dl>
 </li>
 </ul>
-<a name="EncryptionInfo(org.apache.poi.util.LittleEndianInput, boolean)">
+<a name="EncryptionInfo(org.apache.poi.util.LittleEndianInput, org.apache.poi.poifs.crypt.EncryptionMode)">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>EncryptionInfo</h4>
 <pre>public&nbsp;EncryptionInfo(<a href="../../../../../org/apache/poi/util/LittleEndianInput.html" title="interface in org.apache.poi.util">LittleEndianInput</a>&nbsp;dis,
-              boolean&nbsp;isCryptoAPI)
+              <a href="../../../../../org/apache/poi/poifs/crypt/EncryptionMode.html" title="enum in org.apache.poi.poifs.crypt">EncryptionMode</a>&nbsp;preferredEncryptionMode)
                throws java.io.IOException</pre>
 <dl><dt><span class="strong">Throws:</span></dt>
 <dd><code>java.io.IOException</code></dd></dl>
@@ -493,12 +522,72 @@ extends java.lang.Object</pre>
 <a name="getEncryptor()">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>getEncryptor</h4>
 <pre>public&nbsp;<a href="../../../../../org/apache/poi/poifs/crypt/Encryptor.html" title="class in org.apache.poi.poifs.crypt">Encryptor</a>&nbsp;getEncryptor()</pre>
 </li>
 </ul>
+<a name="setHeader(org.apache.poi.poifs.crypt.EncryptionHeader)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setHeader</h4>
+<pre>public&nbsp;void&nbsp;setHeader(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionHeader.html" title="class in org.apache.poi.poifs.crypt">EncryptionHeader</a>&nbsp;header)</pre>
+</li>
+</ul>
+<a name="setVerifier(org.apache.poi.poifs.crypt.EncryptionVerifier)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setVerifier</h4>
+<pre>public&nbsp;void&nbsp;setVerifier(<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionVerifier.html" title="class in org.apache.poi.poifs.crypt">EncryptionVerifier</a>&nbsp;verifier)</pre>
+</li>
+</ul>
+<a name="setDecryptor(org.apache.poi.poifs.crypt.Decryptor)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setDecryptor</h4>
+<pre>public&nbsp;void&nbsp;setDecryptor(<a href="../../../../../org/apache/poi/poifs/crypt/Decryptor.html" title="class in org.apache.poi.poifs.crypt">Decryptor</a>&nbsp;decryptor)</pre>
+</li>
+</ul>
+<a name="setEncryptor(org.apache.poi.poifs.crypt.Encryptor)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setEncryptor</h4>
+<pre>public&nbsp;void&nbsp;setEncryptor(<a href="../../../../../org/apache/poi/poifs/crypt/Encryptor.html" title="class in org.apache.poi.poifs.crypt">Encryptor</a>&nbsp;encryptor)</pre>
+</li>
+</ul>
+<a name="getEncryptionMode()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getEncryptionMode</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionMode.html" title="enum in org.apache.poi.poifs.crypt">EncryptionMode</a>&nbsp;getEncryptionMode()</pre>
+</li>
+</ul>
+<a name="clone()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>clone</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/poi/poifs/crypt/EncryptionInfo.html" title="class in org.apache.poi.poifs.crypt">EncryptionInfo</a>&nbsp;clone()
+                     throws java.lang.CloneNotSupportedException</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>clone</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.CloneNotSupportedException</code></dd></dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>



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