Author: buildbot Date: Thu Aug 8 15:20:41 2013 New Revision: 873521 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/book-dataformat-appendix.html websites/production/camel/content/book-in-one-page.html websites/production/camel/content/cache/main.pageCache websites/production/camel/content/crypto.html Modified: websites/production/camel/content/book-dataformat-appendix.html ============================================================================== --- websites/production/camel/content/book-dataformat-appendix.html (original) +++ websites/production/camel/content/book-dataformat-appendix.html Thu Aug 8 15:20:41 2013 @@ -3525,7 +3525,7 @@ from("jms://queue:customerServiceQueue") <h3><a shape="rect" name="BookDataFormatAppendix-Options"></a>Options</h3> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>DES/CBC/PKCS5Padding</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algoorithm name indicating the cryptographic algorithm that will be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithmParamterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>AlgorithmParameterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">A JCE AlgorithmParameterSpec used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>bufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>2048</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> the size of the buffer used in the signature process. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>cryptoProvider</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The name of the JCE Security Provider that should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>initializationVector</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>byte[]</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> A byte array containing the Initialization Vector that will be used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that the configured IV should be inlined into the encrypted data stream. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>macAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the Message Authentication algorithm. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>shouldAppendHMAC</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" ro wspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that a Message Authentication Code should be calculated and appended to the encrypted data.</td></tr></tbody></table> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>DES/CBC/PKCS5Padding</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the cryptographic algorithm that will be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithmParamterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>AlgorithmParameterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">A JCE AlgorithmParameterSpec u sed to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>bufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>2048</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> the size of the buffer used in the signature process. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>cryptoProvider</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The name of the JCE Security Provider that should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>initializationVector</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>byte[]</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> A byte array containing the Initialization Vector that will be used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that the configured IV should be inlined into the encrypted data stream. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>macAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the Message Authentication algorithm. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>shouldAppendHMAC</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" row span="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that a Message Authentication Code should be calculated and appended to the encrypted data.</td></tr></tbody></table> </div> </div> @@ -3588,7 +3588,7 @@ from("direct:hmac-algorithm") <h3><a shape="rect" name="BookDataFormatAppendix-SpecifyinganInitializationVector"></a>Specifying an Initialization Vector</h3> -<p>Some crypto algorhithms, particularly block algorithms, require configuration with an initial block of data known as an Initialization Vector. In the JCE this is passed as an AlgorithmParameterSpec when the Cipher is initialized. To use such a vector with the CryptoDataFormat you can configure it with a byte[] contianing the required data e.g.</p> +<p>Some crypto algorithms, particularly block algorithms, require configuration with an initial block of data known as an Initialization Vector. In the JCE this is passed as an AlgorithmParameterSpec when the Cipher is initialized. To use such a vector with the CryptoDataFormat you can configure it with a byte[] containing the required data e.g.</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ @@ -3653,7 +3653,7 @@ from("direct:inline") <h3><a shape="rect" name="BookDataFormatAppendix-HashedMessageAuthenticationCodes%28HMAC%29"></a>Hashed Message Authentication Codes (HMAC)</h3> -<p>To avoid attacks against the encrypted data while it is in transit the CryptoDataFormat can also calculate a Message Authentication Code forthe encrypted exchange contents based on a configurable MAC algorithm. The calculated HMAC is appended to the stream after encryption. It is separated from the stream in the decryption phase. The MAC is recalculated and verified against the transmitted version to insure nothing was tampered with in transit.For more information on Message Authentication Codes see <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/HMAC" rel="nofollow">http://en.wikipedia.org/wiki/HMAC</a></p> +<p>To avoid attacks against the encrypted data while it is in transit the CryptoDataFormat can also calculate a Message Authentication Code for the encrypted exchange contents based on a configurable MAC algorithm. The calculated HMAC is appended to the stream after encryption. It is separated from the stream in the decryption phase. The MAC is recalculated and verified against the transmitted version to insure nothing was tampered with in transit.For more information on Message Authentication Codes see <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/HMAC" rel="nofollow">http://en.wikipedia.org/wiki/HMAC</a></p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ Modified: websites/production/camel/content/book-in-one-page.html ============================================================================== --- websites/production/camel/content/book-in-one-page.html (original) +++ websites/production/camel/content/book-in-one-page.html Thu Aug 8 15:20:41 2013 @@ -14905,7 +14905,7 @@ from("jms://queue:customerServiceQueue") <h3><a shape="rect" name="BookInOnePage-Options"></a>Options</h3> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>DES/CBC/PKCS5Padding</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algoorithm name indicating the cryptographic algorithm that will be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithmParamterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>AlgorithmParameterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">A JCE AlgorithmParameterSpec used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>bufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>2048</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> the size of the buffer used in the signature process. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>cryptoProvider</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The name of the JCE Security Provider that should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>initializationVector</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>byte[]</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> A byte array containing the Initialization Vector that will be used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that the configured IV should be inlined into the encrypted data stream. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>macAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the Message Authentication algorithm. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>shouldAppendHMAC</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" ro wspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that a Message Authentication Code should be calculated and appended to the encrypted data.</td></tr></tbody></table> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>DES/CBC/PKCS5Padding</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the cryptographic algorithm that will be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithmParamterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>AlgorithmParameterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">A JCE AlgorithmParameterSpec u sed to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>bufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>2048</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> the size of the buffer used in the signature process. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>cryptoProvider</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The name of the JCE Security Provider that should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>initializationVector</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>byte[]</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> A byte array containing the Initialization Vector that will be used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that the configured IV should be inlined into the encrypted data stream. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>macAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the Message Authentication algorithm. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>shouldAppendHMAC</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" row span="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that a Message Authentication Code should be calculated and appended to the encrypted data.</td></tr></tbody></table> </div> </div> @@ -14968,7 +14968,7 @@ from("direct:hmac-algorithm") <h3><a shape="rect" name="BookInOnePage-SpecifyinganInitializationVector"></a>Specifying an Initialization Vector</h3> -<p>Some crypto algorhithms, particularly block algorithms, require configuration with an initial block of data known as an Initialization Vector. In the JCE this is passed as an AlgorithmParameterSpec when the Cipher is initialized. To use such a vector with the CryptoDataFormat you can configure it with a byte[] contianing the required data e.g.</p> +<p>Some crypto algorithms, particularly block algorithms, require configuration with an initial block of data known as an Initialization Vector. In the JCE this is passed as an AlgorithmParameterSpec when the Cipher is initialized. To use such a vector with the CryptoDataFormat you can configure it with a byte[] containing the required data e.g.</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ @@ -15033,7 +15033,7 @@ from("direct:inline") <h3><a shape="rect" name="BookInOnePage-HashedMessageAuthenticationCodes%28HMAC%29"></a>Hashed Message Authentication Codes (HMAC)</h3> -<p>To avoid attacks against the encrypted data while it is in transit the CryptoDataFormat can also calculate a Message Authentication Code forthe encrypted exchange contents based on a configurable MAC algorithm. The calculated HMAC is appended to the stream after encryption. It is separated from the stream in the decryption phase. The MAC is recalculated and verified against the transmitted version to insure nothing was tampered with in transit.For more information on Message Authentication Codes see <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/HMAC" rel="nofollow">http://en.wikipedia.org/wiki/HMAC</a></p> +<p>To avoid attacks against the encrypted data while it is in transit the CryptoDataFormat can also calculate a Message Authentication Code for the encrypted exchange contents based on a configurable MAC algorithm. The calculated HMAC is appended to the stream after encryption. It is separated from the stream in the decryption phase. The MAC is recalculated and verified against the transmitted version to insure nothing was tampered with in transit.For more information on Message Authentication Codes see <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/HMAC" rel="nofollow">http://en.wikipedia.org/wiki/HMAC</a></p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/crypto.html ============================================================================== --- websites/production/camel/content/crypto.html (original) +++ websites/production/camel/content/crypto.html Thu Aug 8 15:20:41 2013 @@ -93,7 +93,7 @@ <h3><a shape="rect" name="Crypto-Options"></a>Options</h3> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>DES/CBC/PKCS5Padding</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algoorithm name indicating the cryptographic algorithm that will be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithmParamterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>AlgorithmParameterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">A JCE AlgorithmParameterSpec used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>bufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>2048</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> the size of the buffer used in the signature process. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>cryptoProvider</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The name of the JCE Security Provider that should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>initializationVector</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>byte[]</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> A byte array containing the Initialization Vector that will be used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that the configured IV should be inlined into the encrypted data stream. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>macAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the Message Authentication algorithm. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>shouldAppendHMAC</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" ro wspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that a Message Authentication Code should be calculated and appended to the encrypted data.</td></tr></tbody></table> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>DES/CBC/PKCS5Padding</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the cryptographic algorithm that will be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>algorithmParamterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>AlgorithmParameterSpec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">A JCE AlgorithmParameterSpec u sed to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>bufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>2048</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> the size of the buffer used in the signature process. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>cryptoProvider</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The name of the JCE Security Provider that should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>initializationVector</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>byte[]</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> A byte array containing the Initialization Vector that will be used to initialize the Cipher. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that the configured IV should be inlined into the encrypted data stream. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>macAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The JCE algorithm name indicating the Message Authentication algorithm. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>shouldAppendHMAC</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" row span="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Flag indicating that a Message Authentication Code should be calculated and appended to the encrypted data.</td></tr></tbody></table> </div> </div> @@ -156,7 +156,7 @@ from("direct:hmac-algorithm") <h3><a shape="rect" name="Crypto-SpecifyinganInitializationVector"></a>Specifying an Initialization Vector</h3> -<p>Some crypto algorhithms, particularly block algorithms, require configuration with an initial block of data known as an Initialization Vector. In the JCE this is passed as an AlgorithmParameterSpec when the Cipher is initialized. To use such a vector with the CryptoDataFormat you can configure it with a byte[] contianing the required data e.g.</p> +<p>Some crypto algorithms, particularly block algorithms, require configuration with an initial block of data known as an Initialization Vector. In the JCE this is passed as an AlgorithmParameterSpec when the Cipher is initialized. To use such a vector with the CryptoDataFormat you can configure it with a byte[] containing the required data e.g.</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ @@ -221,7 +221,7 @@ from("direct:inline") <h3><a shape="rect" name="Crypto-HashedMessageAuthenticationCodes%28HMAC%29"></a>Hashed Message Authentication Codes (HMAC)</h3> -<p>To avoid attacks against the encrypted data while it is in transit the CryptoDataFormat can also calculate a Message Authentication Code forthe encrypted exchange contents based on a configurable MAC algorithm. The calculated HMAC is appended to the stream after encryption. It is separated from the stream in the decryption phase. The MAC is recalculated and verified against the transmitted version to insure nothing was tampered with in transit.For more information on Message Authentication Codes see <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/HMAC" rel="nofollow">http://en.wikipedia.org/wiki/HMAC</a></p> +<p>To avoid attacks against the encrypted data while it is in transit the CryptoDataFormat can also calculate a Message Authentication Code for the encrypted exchange contents based on a configurable MAC algorithm. The calculated HMAC is appended to the stream after encryption. It is separated from the stream in the decryption phase. The MAC is recalculated and verified against the transmitted version to insure nothing was tampered with in transit.For more information on Message Authentication Codes see <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/HMAC" rel="nofollow">http://en.wikipedia.org/wiki/HMAC</a></p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[