Author: buildbot
Date: Wed Dec  4 12:19:44 2013
New Revision: 889088

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 Wed Dec  4 
12:19:44 2013
@@ -3784,7 +3784,7 @@ from("direct:key-in-header-decrypt").unm
 
 <h3><a shape="rect" 
name="BookDataFormatAppendix-PGPDataFormatOptions"></a>PGPDataFormat 
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>keyUserid</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 userid of the key in the PGP keyring used during 
encryption. See also option <tt>keyUserids</tt>. </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>keyUserids</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>List&lt;String&gt;</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>: PGP 
allows t
 o encrypt the symmetric key by several asymmetric public receiver keys. You 
can specify here the User IDs of several public keys contained in the PGP 
keyring.  If you just have one User ID, then you can also use the option 
<tt>keyUserid</tt>. The User ID specified in <tt>keyUserid</tt> and the User 
IDs in <tt>keyUserids</tt> will be merged together and the corresponding public 
keys will be used for the encryption. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>password</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"> Password used when opening the private key (not used for 
encryption). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>keyFileName</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>null</tt> </td><t
 d colspan="1" rowspan="1" class="confluenceTd"> Filename of the keyring; must 
be accessible as a classpath resource (but you can specify a location in the 
file system by using the "file:" prefix). </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>encryptionKeyRing</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"> <b>Since camel 2.12.1</b>; 
encryption keyring; you can not set the keyFileName and encryptionKeyRing at 
the same time. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyUserid</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"> <b>Since Camel 2.11.0</b>; optional userid of the key in 
the PGP keyring to use for signing (during encrypti
 on) or signature verification (during decryption) .</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>signaturePassword</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"> <b>Since Camel 2.11.0</b>; 
optional password used when opening the private key used for signing (during 
encryption). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyFileName</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"> <b>Since Camel 2.11.0</b>; optional filename of the 
keyring to use for signing (during encryption) or for signature verification 
(during decryption); must be accessible as a classpath resource (but you can 
specify a location in the file system by using t
 he "file:" prefix). </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>signatureKeyRing</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"> <b>Since camel 2.12.1</b>; signature keyring; 
you can not set the signatureKeyFileName and signatureKeyRing at the same time. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>SymmetricKeyAlgorithmTags.CAST5</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>; symmetric key encryption 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags</tt>; for example 2 (= 
TRIPLE DES), 3 (= CAST5), 4 (= BLOWFISH), 6 (= DES), 7 (= AES_128). Only 
relevant for encryptin
 g. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>compressionAlgorithm</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CompressionAlgorithmTags.ZIP</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>; 
compression algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.CompressionAlgorithmTags</tt>; for example 0 (= 
UNCOMPRESSED), 1 (= ZIP), 2 (= ZLIB), 3 (= BZIP2). Only relevant for 
encrypting. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>hashAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>HashAlgorithmTags.SHA1</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>: signature hash algorithm; 
possible values are defined in 
<tt>org.bouncycastle.bcpg.HashAlgorithmTags</tt>; for example 2 (= 
 SHA1), 8 (= SHA256), 9 (= SHA384), 10 (= SHA512), 11 (=SHA224). Only relevant 
for signing. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>armored</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"> This 
option will cause PGP to base64 encode the encrypted text, making it available 
for copy/paste, etc. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>integrity</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Adds an integrity check/sign into the encryption file. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>passphraseAccessor</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" class="external-link" href
 
="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.12.2</b>; provides passphrases 
corresponding to user Ids.  If no passpharase can be found from the option 
<tt>password</tt> or <tt>signaturePassword</tt> and from the headers 
<tt>CamelPGPDataFormatKeyPassword</tt> or 
<tt>CamelPGPDataFormatSignatureKeyPassword</tt> then the passphrase is feteched 
from the passphrase accessor. You provide a bean which implements the interface 
<a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a>. A default implementation is given by 
<a shape="rect" class="ex
 ternal-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessorDefault.java";
 rel="nofollow">PGPPassphraseAccessorDefault</a>.  The passphrase accessor is 
especially useful in the decrypt case; see chapter 'PGP Decrypting/Verifying of 
Messages Encrypted/Signed by Different Private/Public Keys'  below. 
</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>keyUserid</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 user ID of the key in the PGP keyring used during 
encryption. See also option <tt>keyUserids</tt>. Can also be only a part of a 
user ID. For example, if the user ID is "Test User &lt;[email protected]&gt;" then 
you can use the part "Test User" or "&lt;[email protected]&gt;" to address the 
user ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>keyUserids</tt> </td><td colspan="1" rowspan="1" class="confluenceT
 d"> <tt>List&lt;String&gt;</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>: PGP allows to encrypt the 
symmetric key by several asymmetric public receiver keys. You can specify here 
the User IDs or parts of User IDs of several public keys contained in the PGP 
keyring.  If you just have one User ID, then you can also use the option 
<tt>keyUserid</tt>. The User ID specified in <tt>keyUserid</tt> and the User 
IDs in <tt>keyUserids</tt> will be merged together and the corresponding public 
keys will be used for the encryption. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>password</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"> Password used when opening the private key (not used for 
encryption). </td></tr><tr><t
 d colspan="1" rowspan="1" class="confluenceTd"> <tt>keyFileName</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"> Filename of the keyring; must be 
accessible as a classpath resource (but you can specify a location in the file 
system by using the "file:" prefix). </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>encryptionKeyRing</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"> <b>Since camel 2.12.1</b>; encryption 
keyring; you can not set the keyFileName and encryptionKeyRing at the same 
time. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyUserid</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"> <b>Since Camel 2.11.0</b>; optional userid of 
the key in the PGP keyring used for signing (during encryption) or signature 
verification (during decryption). Can also be only a part of a user ID. For 
example, if the user ID is "Test User &lt;[email protected]&gt;" then you can use 
the part "Test User" or "&lt;[email protected]&gt;" to address the user ID. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signaturePassword</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"> <b>Since Camel 2.11.0</b>; optional password used when 
opening the private key used for signing (during encryption). </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>signatureKeyFileName</tt> 
</td><td colspan="1" rowspan="1" class="c
 onfluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.11.0</b>; optional filename of the 
keyring to use for signing (during encryption) or for signature verification 
(during decryption); must be accessible as a classpath resource (but you can 
specify a location in the file system by using the "file:" prefix). 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyRing</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"> <b>Since camel 2.12.1</b>; signature keyring; you can not 
set the signatureKeyFileName and signatureKeyRing at the same time. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><t
 d colspan="1" rowspan="1" class="confluenceTd"> 
<tt>SymmetricKeyAlgorithmTags.CAST5</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>; symmetric key encryption 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags</tt>; for example 2 (= 
TRIPLE DES), 3 (= CAST5), 4 (= BLOWFISH), 6 (= DES), 7 (= AES_128). Only 
relevant for encrypting. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>compressionAlgorithm</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CompressionAlgorithmTags.ZIP</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>; 
compression algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.CompressionAlgorithmTags</tt>; for example 0 (= 
UNCOMPRESSED), 1 (= ZIP), 2 (= ZLIB), 3 (= BZIP2). Only relevant for 
encrypting. </td></tr><tr><td colspan="1" rowspan="1
 " class="confluenceTd"> <tt>hashAlgorithm</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>HashAlgorithmTags.SHA1</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>: signature hash 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.HashAlgorithmTags</tt>; for example 2 (= SHA1), 8 (= 
SHA256), 9 (= SHA384), 10 (= SHA512), 11 (=SHA224). Only relevant for signing. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>armored</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"> This 
option will cause PGP to base64 encode the encrypted text, making it available 
for copy/paste, etc. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>integrity</tt> </td><td colspan="1" rowspan="1"
  class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Adds an integrity check/sign into the encryption file. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>passphraseAccessor</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.12.2</b>; provides passphrases 
corresponding to user Ids.  If no passpharase can be found from the option 
<tt>password</tt> or <tt>signaturePassword</tt> and from the headers 
<tt>CamelPGPDataFormatKeyPassword</tt> or 
<tt>CamelPGPDataFormatSignatureKeyPassword</
 tt> then the passphrase is feteched from the passphrase accessor. You provide 
a bean which implements the interface <a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a>. A default implementation is given by 
<a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessorDefault.java";
 rel="nofollow">PGPPassphraseAccessorDefault</a>.  The passphrase accessor is 
especially useful in the decrypt case; see chapter 'PGP Decrypting/Verifying of 
Messages Encrypted/Signed by Different Private/Public Keys'  below. 
</td></tr></tbody></table>
 </div>
 
 </div>

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 Wed Dec  4 12:19:44 
2013
@@ -14975,7 +14975,7 @@ from("direct:key-in-header-decrypt").unm
 
 <h3><a shape="rect" 
name="BookInOnePage-PGPDataFormatOptions"></a>PGPDataFormat 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>keyUserid</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 userid of the key in the PGP keyring used during 
encryption. See also option <tt>keyUserids</tt>. </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>keyUserids</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>List&lt;String&gt;</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>: PGP 
allows t
 o encrypt the symmetric key by several asymmetric public receiver keys. You 
can specify here the User IDs of several public keys contained in the PGP 
keyring.  If you just have one User ID, then you can also use the option 
<tt>keyUserid</tt>. The User ID specified in <tt>keyUserid</tt> and the User 
IDs in <tt>keyUserids</tt> will be merged together and the corresponding public 
keys will be used for the encryption. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>password</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"> Password used when opening the private key (not used for 
encryption). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>keyFileName</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>null</tt> </td><t
 d colspan="1" rowspan="1" class="confluenceTd"> Filename of the keyring; must 
be accessible as a classpath resource (but you can specify a location in the 
file system by using the "file:" prefix). </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>encryptionKeyRing</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"> <b>Since camel 2.12.1</b>; 
encryption keyring; you can not set the keyFileName and encryptionKeyRing at 
the same time. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyUserid</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"> <b>Since Camel 2.11.0</b>; optional userid of the key in 
the PGP keyring to use for signing (during encrypti
 on) or signature verification (during decryption) .</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>signaturePassword</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"> <b>Since Camel 2.11.0</b>; 
optional password used when opening the private key used for signing (during 
encryption). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyFileName</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"> <b>Since Camel 2.11.0</b>; optional filename of the 
keyring to use for signing (during encryption) or for signature verification 
(during decryption); must be accessible as a classpath resource (but you can 
specify a location in the file system by using t
 he "file:" prefix). </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>signatureKeyRing</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"> <b>Since camel 2.12.1</b>; signature keyring; 
you can not set the signatureKeyFileName and signatureKeyRing at the same time. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>SymmetricKeyAlgorithmTags.CAST5</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>; symmetric key encryption 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags</tt>; for example 2 (= 
TRIPLE DES), 3 (= CAST5), 4 (= BLOWFISH), 6 (= DES), 7 (= AES_128). Only 
relevant for encryptin
 g. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>compressionAlgorithm</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CompressionAlgorithmTags.ZIP</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>; 
compression algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.CompressionAlgorithmTags</tt>; for example 0 (= 
UNCOMPRESSED), 1 (= ZIP), 2 (= ZLIB), 3 (= BZIP2). Only relevant for 
encrypting. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>hashAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>HashAlgorithmTags.SHA1</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>: signature hash algorithm; 
possible values are defined in 
<tt>org.bouncycastle.bcpg.HashAlgorithmTags</tt>; for example 2 (= 
 SHA1), 8 (= SHA256), 9 (= SHA384), 10 (= SHA512), 11 (=SHA224). Only relevant 
for signing. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>armored</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"> This 
option will cause PGP to base64 encode the encrypted text, making it available 
for copy/paste, etc. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>integrity</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Adds an integrity check/sign into the encryption file. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>passphraseAccessor</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" class="external-link" href
 
="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.12.2</b>; provides passphrases 
corresponding to user Ids.  If no passpharase can be found from the option 
<tt>password</tt> or <tt>signaturePassword</tt> and from the headers 
<tt>CamelPGPDataFormatKeyPassword</tt> or 
<tt>CamelPGPDataFormatSignatureKeyPassword</tt> then the passphrase is feteched 
from the passphrase accessor. You provide a bean which implements the interface 
<a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a>. A default implementation is given by 
<a shape="rect" class="ex
 ternal-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessorDefault.java";
 rel="nofollow">PGPPassphraseAccessorDefault</a>.  The passphrase accessor is 
especially useful in the decrypt case; see chapter 'PGP Decrypting/Verifying of 
Messages Encrypted/Signed by Different Private/Public Keys'  below. 
</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>keyUserid</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 user ID of the key in the PGP keyring used during 
encryption. See also option <tt>keyUserids</tt>. Can also be only a part of a 
user ID. For example, if the user ID is "Test User &lt;[email protected]&gt;" then 
you can use the part "Test User" or "&lt;[email protected]&gt;" to address the 
user ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>keyUserids</tt> </td><td colspan="1" rowspan="1" class="confluenceT
 d"> <tt>List&lt;String&gt;</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>: PGP allows to encrypt the 
symmetric key by several asymmetric public receiver keys. You can specify here 
the User IDs or parts of User IDs of several public keys contained in the PGP 
keyring.  If you just have one User ID, then you can also use the option 
<tt>keyUserid</tt>. The User ID specified in <tt>keyUserid</tt> and the User 
IDs in <tt>keyUserids</tt> will be merged together and the corresponding public 
keys will be used for the encryption. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>password</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"> Password used when opening the private key (not used for 
encryption). </td></tr><tr><t
 d colspan="1" rowspan="1" class="confluenceTd"> <tt>keyFileName</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"> Filename of the keyring; must be 
accessible as a classpath resource (but you can specify a location in the file 
system by using the "file:" prefix). </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>encryptionKeyRing</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"> <b>Since camel 2.12.1</b>; encryption 
keyring; you can not set the keyFileName and encryptionKeyRing at the same 
time. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyUserid</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"> <b>Since Camel 2.11.0</b>; optional userid of 
the key in the PGP keyring used for signing (during encryption) or signature 
verification (during decryption). Can also be only a part of a user ID. For 
example, if the user ID is "Test User &lt;[email protected]&gt;" then you can use 
the part "Test User" or "&lt;[email protected]&gt;" to address the user ID. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signaturePassword</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"> <b>Since Camel 2.11.0</b>; optional password used when 
opening the private key used for signing (during encryption). </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>signatureKeyFileName</tt> 
</td><td colspan="1" rowspan="1" class="c
 onfluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.11.0</b>; optional filename of the 
keyring to use for signing (during encryption) or for signature verification 
(during decryption); must be accessible as a classpath resource (but you can 
specify a location in the file system by using the "file:" prefix). 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyRing</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"> <b>Since camel 2.12.1</b>; signature keyring; you can not 
set the signatureKeyFileName and signatureKeyRing at the same time. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><t
 d colspan="1" rowspan="1" class="confluenceTd"> 
<tt>SymmetricKeyAlgorithmTags.CAST5</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>; symmetric key encryption 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags</tt>; for example 2 (= 
TRIPLE DES), 3 (= CAST5), 4 (= BLOWFISH), 6 (= DES), 7 (= AES_128). Only 
relevant for encrypting. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>compressionAlgorithm</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CompressionAlgorithmTags.ZIP</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>; 
compression algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.CompressionAlgorithmTags</tt>; for example 0 (= 
UNCOMPRESSED), 1 (= ZIP), 2 (= ZLIB), 3 (= BZIP2). Only relevant for 
encrypting. </td></tr><tr><td colspan="1" rowspan="1
 " class="confluenceTd"> <tt>hashAlgorithm</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>HashAlgorithmTags.SHA1</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>: signature hash 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.HashAlgorithmTags</tt>; for example 2 (= SHA1), 8 (= 
SHA256), 9 (= SHA384), 10 (= SHA512), 11 (=SHA224). Only relevant for signing. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>armored</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"> This 
option will cause PGP to base64 encode the encrypted text, making it available 
for copy/paste, etc. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>integrity</tt> </td><td colspan="1" rowspan="1"
  class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Adds an integrity check/sign into the encryption file. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>passphraseAccessor</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.12.2</b>; provides passphrases 
corresponding to user Ids.  If no passpharase can be found from the option 
<tt>password</tt> or <tt>signaturePassword</tt> and from the headers 
<tt>CamelPGPDataFormatKeyPassword</tt> or 
<tt>CamelPGPDataFormatSignatureKeyPassword</
 tt> then the passphrase is feteched from the passphrase accessor. You provide 
a bean which implements the interface <a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a>. A default implementation is given by 
<a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessorDefault.java";
 rel="nofollow">PGPPassphraseAccessorDefault</a>.  The passphrase accessor is 
especially useful in the decrypt case; see chapter 'PGP Decrypting/Verifying of 
Messages Encrypted/Signed by Different Private/Public Keys'  below. 
</td></tr></tbody></table>
 </div>
 
 </div>

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 Wed Dec  4 12:19:44 2013
@@ -315,7 +315,7 @@ from("direct:key-in-header-decrypt").unm
 
 <h3><a shape="rect" name="Crypto-PGPDataFormatOptions"></a>PGPDataFormat 
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>keyUserid</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 userid of the key in the PGP keyring used during 
encryption. See also option <tt>keyUserids</tt>. </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>keyUserids</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>List&lt;String&gt;</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>: PGP 
allows t
 o encrypt the symmetric key by several asymmetric public receiver keys. You 
can specify here the User IDs of several public keys contained in the PGP 
keyring.  If you just have one User ID, then you can also use the option 
<tt>keyUserid</tt>. The User ID specified in <tt>keyUserid</tt> and the User 
IDs in <tt>keyUserids</tt> will be merged together and the corresponding public 
keys will be used for the encryption. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>password</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"> Password used when opening the private key (not used for 
encryption). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>keyFileName</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>null</tt> </td><t
 d colspan="1" rowspan="1" class="confluenceTd"> Filename of the keyring; must 
be accessible as a classpath resource (but you can specify a location in the 
file system by using the "file:" prefix). </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>encryptionKeyRing</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"> <b>Since camel 2.12.1</b>; 
encryption keyring; you can not set the keyFileName and encryptionKeyRing at 
the same time. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyUserid</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"> <b>Since Camel 2.11.0</b>; optional userid of the key in 
the PGP keyring to use for signing (during encrypti
 on) or signature verification (during decryption) .</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>signaturePassword</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"> <b>Since Camel 2.11.0</b>; 
optional password used when opening the private key used for signing (during 
encryption). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyFileName</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"> <b>Since Camel 2.11.0</b>; optional filename of the 
keyring to use for signing (during encryption) or for signature verification 
(during decryption); must be accessible as a classpath resource (but you can 
specify a location in the file system by using t
 he "file:" prefix). </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>signatureKeyRing</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"> <b>Since camel 2.12.1</b>; signature keyring; 
you can not set the signatureKeyFileName and signatureKeyRing at the same time. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>SymmetricKeyAlgorithmTags.CAST5</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>; symmetric key encryption 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags</tt>; for example 2 (= 
TRIPLE DES), 3 (= CAST5), 4 (= BLOWFISH), 6 (= DES), 7 (= AES_128). Only 
relevant for encryptin
 g. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>compressionAlgorithm</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CompressionAlgorithmTags.ZIP</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>; 
compression algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.CompressionAlgorithmTags</tt>; for example 0 (= 
UNCOMPRESSED), 1 (= ZIP), 2 (= ZLIB), 3 (= BZIP2). Only relevant for 
encrypting. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>hashAlgorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>HashAlgorithmTags.SHA1</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>: signature hash algorithm; 
possible values are defined in 
<tt>org.bouncycastle.bcpg.HashAlgorithmTags</tt>; for example 2 (= 
 SHA1), 8 (= SHA256), 9 (= SHA384), 10 (= SHA512), 11 (=SHA224). Only relevant 
for signing. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>armored</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"> This 
option will cause PGP to base64 encode the encrypted text, making it available 
for copy/paste, etc. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>integrity</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Adds an integrity check/sign into the encryption file. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>passphraseAccessor</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" class="external-link" href
 
="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.12.2</b>; provides passphrases 
corresponding to user Ids.  If no passpharase can be found from the option 
<tt>password</tt> or <tt>signaturePassword</tt> and from the headers 
<tt>CamelPGPDataFormatKeyPassword</tt> or 
<tt>CamelPGPDataFormatSignatureKeyPassword</tt> then the passphrase is feteched 
from the passphrase accessor. You provide a bean which implements the interface 
<a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a>. A default implementation is given by 
<a shape="rect" class="ex
 ternal-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessorDefault.java";
 rel="nofollow">PGPPassphraseAccessorDefault</a>.  The passphrase accessor is 
especially useful in the decrypt case; see chapter 'PGP Decrypting/Verifying of 
Messages Encrypted/Signed by Different Private/Public Keys'  below. 
</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>keyUserid</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 user ID of the key in the PGP keyring used during 
encryption. See also option <tt>keyUserids</tt>. Can also be only a part of a 
user ID. For example, if the user ID is "Test User &lt;[email protected]&gt;" then 
you can use the part "Test User" or "&lt;[email protected]&gt;" to address the 
user ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>keyUserids</tt> </td><td colspan="1" rowspan="1" class="confluenceT
 d"> <tt>List&lt;String&gt;</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>: PGP allows to encrypt the 
symmetric key by several asymmetric public receiver keys. You can specify here 
the User IDs or parts of User IDs of several public keys contained in the PGP 
keyring.  If you just have one User ID, then you can also use the option 
<tt>keyUserid</tt>. The User ID specified in <tt>keyUserid</tt> and the User 
IDs in <tt>keyUserids</tt> will be merged together and the corresponding public 
keys will be used for the encryption. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>password</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"> Password used when opening the private key (not used for 
encryption). </td></tr><tr><t
 d colspan="1" rowspan="1" class="confluenceTd"> <tt>keyFileName</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"> Filename of the keyring; must be 
accessible as a classpath resource (but you can specify a location in the file 
system by using the "file:" prefix). </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>encryptionKeyRing</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"> <b>Since camel 2.12.1</b>; encryption 
keyring; you can not set the keyFileName and encryptionKeyRing at the same 
time. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyUserid</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"> <b>Since Camel 2.11.0</b>; optional userid of 
the key in the PGP keyring used for signing (during encryption) or signature 
verification (during decryption). Can also be only a part of a user ID. For 
example, if the user ID is "Test User &lt;[email protected]&gt;" then you can use 
the part "Test User" or "&lt;[email protected]&gt;" to address the user ID. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signaturePassword</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"> <b>Since Camel 2.11.0</b>; optional password used when 
opening the private key used for signing (during encryption). </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>signatureKeyFileName</tt> 
</td><td colspan="1" rowspan="1" class="c
 onfluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.11.0</b>; optional filename of the 
keyring to use for signing (during encryption) or for signature verification 
(during decryption); must be accessible as a classpath resource (but you can 
specify a location in the file system by using the "file:" prefix). 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>signatureKeyRing</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"> <b>Since camel 2.12.1</b>; signature keyring; you can not 
set the signatureKeyFileName and signatureKeyRing at the same time. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>algorithm</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>int</tt> </td><t
 d colspan="1" rowspan="1" class="confluenceTd"> 
<tt>SymmetricKeyAlgorithmTags.CAST5</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since camel 2.12.2</b>; symmetric key encryption 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags</tt>; for example 2 (= 
TRIPLE DES), 3 (= CAST5), 4 (= BLOWFISH), 6 (= DES), 7 (= AES_128). Only 
relevant for encrypting. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>compressionAlgorithm</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CompressionAlgorithmTags.ZIP</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>; 
compression algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.CompressionAlgorithmTags</tt>; for example 0 (= 
UNCOMPRESSED), 1 (= ZIP), 2 (= ZLIB), 3 (= BZIP2). Only relevant for 
encrypting. </td></tr><tr><td colspan="1" rowspan="1
 " class="confluenceTd"> <tt>hashAlgorithm</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>int</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>HashAlgorithmTags.SHA1</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>Since camel 2.12.2</b>: signature hash 
algorithm; possible values are defined in 
<tt>org.bouncycastle.bcpg.HashAlgorithmTags</tt>; for example 2 (= SHA1), 8 (= 
SHA256), 9 (= SHA384), 10 (= SHA512), 11 (=SHA224). Only relevant for signing. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>armored</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"> This 
option will cause PGP to base64 encode the encrypted text, making it available 
for copy/paste, etc. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>integrity</tt> </td><td colspan="1" rowspan="1"
  class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Adds an integrity check/sign into the encryption file. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>passphraseAccessor</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Since Camel 2.12.2</b>; provides passphrases 
corresponding to user Ids.  If no passpharase can be found from the option 
<tt>password</tt> or <tt>signaturePassword</tt> and from the headers 
<tt>CamelPGPDataFormatKeyPassword</tt> or 
<tt>CamelPGPDataFormatSignatureKeyPassword</
 tt> then the passphrase is feteched from the passphrase accessor. You provide 
a bean which implements the interface <a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessor.java";
 rel="nofollow">PGPPassphraseAccessor</a>. A default implementation is given by 
<a shape="rect" class="external-link" 
href="https://github.com/apache/camel/blob/master/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/PGPPassphraseAccessorDefault.java";
 rel="nofollow">PGPPassphraseAccessorDefault</a>.  The passphrase accessor is 
especially useful in the decrypt case; see chapter 'PGP Decrypting/Verifying of 
Messages Encrypted/Signed by Different Private/Public Keys'  below. 
</td></tr></tbody></table>
 </div>
 
 </div>


Reply via email to