camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r896870 - in /websites/production/camel/content: book-dataformat-appendix.html book-in-one-page.html cache/main.pageCache crypto.html
Date Sat, 08 Feb 2014 10:19:35 GMT
Author: buildbot
Date: Sat Feb  8 10:19:34 2014
New Revision: 896870

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 Sat Feb  8 10:19:34 2014
@@ -3675,7 +3675,23 @@ from("direct:start")
          ...     
         .unmarshal(pgpVerifyWithSpecificKeysAndDecrypt)
         ...      ]]></script>
-</div></div><ul><li>If the PGP content has several signatures the
verification is successful as soon as one signature can be verified.</li><li>If
you do not want to restrict the signer identities for verification then do not specify the
signature key User IDs. In this case all public keys in the public keyring are taken into
account.</li></ul><h3 id="BookDataFormatAppendix-Dependencies.15">Dependencies</h3><p>To
use the <a shape="rect" href="crypto.html">Crypto</a> dataformat in your camel
routes you need to add the following dependency to your pom.</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><ul><li>If the PGP content has several signatures the
verification is successful as soon as one signature can be verified.</li><li>If
you do not want to restrict the signer identities for verification then do not specify the
signature key User IDs. In this case all public keys in the public keyring are taken into
account.</li></ul><h3 id="BookDataFormatAppendix-SeveralSignaturesinOnePGPDataFormat">Several
Signatures in One PGP Data Format</h3><p>Since&#160;<strong>Camel 2.12.3.</strong></p><p>The
PGP specification allows that one PGP data format can contain several signatures from different
keys. Since Camel 2.13.3 it is possible to create such kind of PGP content via specifying
signature User IDs which relate to several private keys in the secret keyring.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Several Signatures</b></div><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
PGPDataFormat pgpSignAndEncryptSeveralSignerKeys = new PGPDataFormat();
+ pgpSignAndEncryptSeveralSignerKeys.setKeyUserid(keyUserid); // for encrypting, you can also
use setKeyUserids if you want to encrypt with several keys
+ pgpSignAndEncryptSeveralSignerKeys.setKeyFileName(keyfileName);
+ pgpSignAndEncryptSeveralSignerKeys.setSignatureKeyFileName(signatgureKeyfileName);
+ pgpSignAndEncryptSeveralSignerKeys.setSignaturePassword(&quot;sdude&quot;); // here
we assume that all private keys have the same password, if this is not the case then you can
use setPassphraseAccessor
+
+ List&lt;String&gt; signerUserIds = new ArrayList&lt;String&gt;();
+ signerUserIds.add(&quot;company old key&quot;);
+ signerUserIds.add(&quot;company new key&quot;);
+ pgpSignAndEncryptSeveralSignerKeys.setSignatureKeyUserids(signerUserIds);
+ 
+from(&quot;direct:start&quot;)
+         ...     
+        .marshal(pgpSignAndEncryptSeveralSignerKeys)
+        ...      ]]></script>
+</div></div><p>&#160;</p><p>&#160;</p><h3
id="BookDataFormatAppendix-Dependencies.15">Dependencies</h3><p>To use the
<a shape="rect" href="crypto.html">Crypto</a> dataformat in your camel routes
you need to add the following dependency to your pom.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
   &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
   &lt;artifactId&gt;camel-crypto&lt;/artifactId&gt;

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 Sat Feb  8 10:19:34 2014
@@ -4269,11 +4269,11 @@ While not actual tutorials you might fin
 
 <p>This tutorial aims to guide the reader through the stages of creating a project
which uses Camel to facilitate the routing of messages from a JMS queue to a <a shape="rect"
class="external-link" href="http://www.springramework.org" rel="nofollow">Spring</a>
service.  The route works in a synchronous fashion returning a response to the client.</p>
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1391851103862 {padding: 0px;}
-div.rbtoc1391851103862 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1391851103862 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1391854708976 {padding: 0px;}
+div.rbtoc1391854708976 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1391854708976 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1391851103862">
+/*]]>*/</style><div class="toc-macro rbtoc1391854708976">
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-JmsRemoting-TutorialonSpringRemotingwithJMS">Tutorial
on Spring Remoting with JMS</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Preface">Preface</a></li><li><a
shape="rect" href="#Tutorial-JmsRemoting-Prerequisites">Prerequisites</a></li><li><a
shape="rect" href="#Tutorial-JmsRemoting-Distribution">Distribution</a></li><li><a
shape="rect" href="#Tutorial-JmsRemoting-About">About</a></li><li><a
shape="rect" href="#Tutorial-JmsRemoting-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-JmsRemoting-UpdatethePOMwithDependencies">Update
the POM with Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#Tutorial-JmsRemoting-WritingtheServer">Writing
the Server</a>
@@ -6614,11 +6614,11 @@ So we completed the last piece in the pi
 
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1391851104237 {padding: 0px;}
-div.rbtoc1391851104237 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1391851104237 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1391854709502 {padding: 0px;}
+div.rbtoc1391854709502 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1391854709502 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1391851104237">
+/*]]>*/</style><div class="toc-macro rbtoc1391854709502">
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-TutorialusingAxis1.4withApacheCamel">Tutorial
using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-Prerequisites">Prerequisites</a></li><li><a
shape="rect" href="#Tutorial-AXIS-Camel-Distribution">Distribution</a></li><li><a
shape="rect" href="#Tutorial-AXIS-Camel-Introduction">Introduction</a></li><li><a
shape="rect" href="#Tutorial-AXIS-Camel-SettinguptheprojecttorunAxis">Setting up the project
to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-Maven2">Maven
2</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-wsdl">wsdl</a></li><li><a
shape="rect" href="#Tutorial-AXIS-Camel-ConfiguringAxis">Configuring Axis</a></li><li><a
shape="rect" href="#Tutorial-AXIS-Camel-RunningtheExample">Running the Example</a></li></ul>
@@ -14329,7 +14329,23 @@ from(&quot;direct:start&quot;)
          ...     
         .unmarshal(pgpVerifyWithSpecificKeysAndDecrypt)
         ...      ]]></script>
-</div></div><ul><li>If the PGP content has several signatures the
verification is successful as soon as one signature can be verified.</li><li>If
you do not want to restrict the signer identities for verification then do not specify the
signature key User IDs. In this case all public keys in the public keyring are taken into
account.</li></ul><h3 id="BookInOnePage-Dependencies.34">Dependencies</h3><p>To
use the <a shape="rect" href="crypto.html">Crypto</a> dataformat in your camel
routes you need to add the following dependency to your pom.</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><ul><li>If the PGP content has several signatures the
verification is successful as soon as one signature can be verified.</li><li>If
you do not want to restrict the signer identities for verification then do not specify the
signature key User IDs. In this case all public keys in the public keyring are taken into
account.</li></ul><h3 id="BookInOnePage-SeveralSignaturesinOnePGPDataFormat">Several
Signatures in One PGP Data Format</h3><p>Since&#160;<strong>Camel 2.12.3.</strong></p><p>The
PGP specification allows that one PGP data format can contain several signatures from different
keys. Since Camel 2.13.3 it is possible to create such kind of PGP content via specifying
signature User IDs which relate to several private keys in the secret keyring.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Several Signatures</b></div><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
PGPDataFormat pgpSignAndEncryptSeveralSignerKeys = new PGPDataFormat();
+ pgpSignAndEncryptSeveralSignerKeys.setKeyUserid(keyUserid); // for encrypting, you can also
use setKeyUserids if you want to encrypt with several keys
+ pgpSignAndEncryptSeveralSignerKeys.setKeyFileName(keyfileName);
+ pgpSignAndEncryptSeveralSignerKeys.setSignatureKeyFileName(signatgureKeyfileName);
+ pgpSignAndEncryptSeveralSignerKeys.setSignaturePassword(&quot;sdude&quot;); // here
we assume that all private keys have the same password, if this is not the case then you can
use setPassphraseAccessor
+
+ List&lt;String&gt; signerUserIds = new ArrayList&lt;String&gt;();
+ signerUserIds.add(&quot;company old key&quot;);
+ signerUserIds.add(&quot;company new key&quot;);
+ pgpSignAndEncryptSeveralSignerKeys.setSignatureKeyUserids(signerUserIds);
+ 
+from(&quot;direct:start&quot;)
+         ...     
+        .marshal(pgpSignAndEncryptSeveralSignerKeys)
+        ...      ]]></script>
+</div></div><p>&#160;</p><p>&#160;</p><h3
id="BookInOnePage-Dependencies.34">Dependencies</h3><p>To use the <a shape="rect"
href="crypto.html">Crypto</a> dataformat in your camel routes you need to add the
following dependency to your pom.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
   &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
   &lt;artifactId&gt;camel-crypto&lt;/artifactId&gt;
@@ -22197,11 +22213,11 @@ template.send(&quot;direct:alias-verify&
                     </div>
     </div>
 <p>The <strong>cxf:</strong> component provides integration with <a
shape="rect" href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS
services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1391851108752 {padding: 0px;}
-div.rbtoc1391851108752 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1391851108752 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1391854722382 {padding: 0px;}
+div.rbtoc1391854722382 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1391854722382 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1391851108752">
+/*]]>*/</style></p><div class="toc-macro rbtoc1391854722382">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI
format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-Thedescriptionsofthedataformats">The
descriptions of the dataformats</a>

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 Sat Feb  8 10:19:34 2014
@@ -336,7 +336,23 @@ from(&quot;direct:start&quot;)
          ...     
         .unmarshal(pgpVerifyWithSpecificKeysAndDecrypt)
         ...      ]]></script>
-</div></div><ul><li>If the PGP content has several signatures the
verification is successful as soon as one signature can be verified.</li><li>If
you do not want to restrict the signer identities for verification then do not specify the
signature key User IDs. In this case all public keys in the public keyring are taken into
account.</li></ul><h3 id="Crypto-Dependencies">Dependencies</h3><p>To
use the <a shape="rect" href="crypto.html">Crypto</a> dataformat in your camel
routes you need to add the following dependency to your pom.</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><ul><li>If the PGP content has several signatures the
verification is successful as soon as one signature can be verified.</li><li>If
you do not want to restrict the signer identities for verification then do not specify the
signature key User IDs. In this case all public keys in the public keyring are taken into
account.</li></ul><h3 id="Crypto-SeveralSignaturesinOnePGPDataFormat">Several
Signatures in One PGP Data Format</h3><p>Since&#160;<strong>Camel 2.12.3.</strong></p><p>The
PGP specification allows that one PGP data format can contain several signatures from different
keys. Since Camel 2.13.3 it is possible to create such kind of PGP content via specifying
signature User IDs which relate to several private keys in the secret keyring.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Several Signatures</b></div><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
PGPDataFormat pgpSignAndEncryptSeveralSignerKeys = new PGPDataFormat();
+ pgpSignAndEncryptSeveralSignerKeys.setKeyUserid(keyUserid); // for encrypting, you can also
use setKeyUserids if you want to encrypt with several keys
+ pgpSignAndEncryptSeveralSignerKeys.setKeyFileName(keyfileName);
+ pgpSignAndEncryptSeveralSignerKeys.setSignatureKeyFileName(signatgureKeyfileName);
+ pgpSignAndEncryptSeveralSignerKeys.setSignaturePassword(&quot;sdude&quot;); // here
we assume that all private keys have the same password, if this is not the case then you can
use setPassphraseAccessor
+
+ List&lt;String&gt; signerUserIds = new ArrayList&lt;String&gt;();
+ signerUserIds.add(&quot;company old key&quot;);
+ signerUserIds.add(&quot;company new key&quot;);
+ pgpSignAndEncryptSeveralSignerKeys.setSignatureKeyUserids(signerUserIds);
+ 
+from(&quot;direct:start&quot;)
+         ...     
+        .marshal(pgpSignAndEncryptSeveralSignerKeys)
+        ...      ]]></script>
+</div></div><p>&#160;</p><p>&#160;</p><h3
id="Crypto-Dependencies">Dependencies</h3><p>To use the <a shape="rect"
href="crypto.html">Crypto</a> dataformat in your camel routes you need to add the
following dependency to your pom.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
   &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
   &lt;artifactId&gt;camel-crypto&lt;/artifactId&gt;



Mime
View raw message