You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2015/01/12 16:19:58 UTC

svn commit: r935929 - in /websites/production/camel/content: cache/main.pageCache xml-security-component.html

Author: buildbot
Date: Mon Jan 12 15:19:57 2015
New Revision: 935929

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/xml-security-component.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/xml-security-component.html
==============================================================================
--- websites/production/camel/content/xml-security-component.html (original)
+++ websites/production/camel/content/xml-security-component.html Mon Jan 12 15:19:57 2015
@@ -283,7 +283,7 @@
             <to
                 uri="xmlsecurity:verify://detached?keySelector=#keySelectorBean&schemaResourceUri=Test.xsd" />
             &lt;to uri=&quot;mock:result&quot; /&gt;]]></script>
-</div></div><p><span style="line-height: 1.4285715;"><br clear="none"></span></p><h3 id="XMLSecuritycomponent-XAdES-BES/EPESfortheSignerEndpoint"><span style="line-height: 1.4285715;">XAdES-BES/EPES for the Signer Endpoint</span></h3><p><span style="line-height: 1.4285715;"><strong>Available as of Camel 2.15.0</strong></span><span style="line-height: 1.4285715;">&#160;</span></p><div class="O2"><a shape="rect" class="external-link" href="http://www.etsi.org/deliver/etsi_ts/101900_101999/101903/01.04.02_60/ts_101903v010402p.pdf" rel="nofollow">&#376;<u>X</u>ML <u>Ad</u>vanced <u>E</u>lectronic <u>S</u>ignatures (XAdES)</a> defines extensions to XML Signature. This standard was defined by the <a shape="rect" class="external-link" href="http://www.etsi.org/" rel="nofollow">European Telecomunication Standards Institute</a> and allows you to create signatures which are compliant to the <a shape="rect" class="external-link" href="http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:
 2000:013:0012:0020:EN:PDF" rel="nofollow">European Union Directive (1999/93/EC) on a Community framework for electronic signatrues</a>. XAdES defines different sets of signature properties which are called signature forms. We support the signature forms <strong>Basic Electronic Signature</strong> (XAdES-BES) and <strong>Explicit Policy Based Electronic Signature</strong> (XAdES-EPES) for the Signer Endpoint. The forms <strong>E<span style="line-height: 1.4285715;">lectronic&#160;</span></strong><span style="line-height: 1.4285715;"><strong>Signature with Validation Data</strong>&#160;XAdES-T and XAdES-C are not supported.</span></div><div class="O2"><span style="line-height: 1.4285715;"><br clear="none"></span></div><div class="O2">We support the following properties of the XAdES-EPES form ("?" denotes zero or one occurrence):</div><div class="O2"><p>&#160;</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1
 px;"><b>Supported XAdES-EPES Properties</b></div><div class="codeContent panelContent pdl">
+</div></div><p><span style="line-height: 1.4285715;"><br clear="none"></span></p><h3 id="XMLSecuritycomponent-XAdES-BES/EPESfortheSignerEndpoint"><span style="line-height: 1.4285715;">XAdES-BES/EPES for the Signer Endpoint</span></h3><p><span style="line-height: 1.4285715;"><strong>Available as of Camel 2.15.0</strong></span><span style="line-height: 1.4285715;">&#160;</span></p><div class="O2"><a shape="rect" class="external-link" href="http://www.etsi.org/deliver/etsi_ts/101900_101999/101903/01.04.02_60/ts_101903v010402p.pdf" rel="nofollow">&#376;<u>X</u>ML <u>Ad</u>vanced <u>E</u>lectronic <u>S</u>ignatures (XAdES)</a> defines extensions to XML Signature. This standard was defined by the <a shape="rect" class="external-link" href="http://www.etsi.org/" rel="nofollow">European Telecomunication Standards Institute</a> and allows you to create signatures which are compliant to the <a shape="rect" class="external-link" href="http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:
 2000:013:0012:0020:EN:PDF" rel="nofollow">European Union Directive (1999/93/EC) on a Community framework for electronic signatures</a>. XAdES defines different sets of signature properties which are called signature forms. We support the signature forms <strong>Basic Electronic Signature</strong> (XAdES-BES) and <strong>Explicit Policy Based Electronic Signature</strong> (XAdES-EPES) for the Signer Endpoint. The forms <strong>E<span style="line-height: 1.4285715;">lectronic&#160;</span></strong><span style="line-height: 1.4285715;"><strong>Signature with Validation Data</strong>&#160;XAdES-T and XAdES-C are not supported.</span></div><div class="O2"><span style="line-height: 1.4285715;"><br clear="none"></span></div><div class="O2">We support the following properties of the XAdES-EPES form ("?" denotes zero or one occurrence):</div><div class="O2"><p>&#160;</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1
 px;"><b>Supported XAdES-EPES Properties</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[        &lt;QualifyingProperties Target&gt;
             &lt;SignedProperties&gt;
                 &lt;SignedSignatureProperties&gt;
@@ -299,7 +299,7 @@
                 &lt;/SignedDataObjectProperties&gt;
             &lt;/SignedProperties&gt;
         &lt;/QualifyingProperties&gt;]]></script>
-</div></div><p>The properties of the XAdES-BES form are the same except that the&#160;<span style="line-height: 1.4285715;"><code>SignaturePolicyIdentifier</code> property is not p&#252;art of XAdES-BES.&#160;</span></p><p><span style="line-height: 1.4285715;">You can configure the XAdES-BES/EPES properties via the bean&#160;<code><span>org.apache.camel.component.xmlsecurity.api.</span>XAdESSignatureProperties</code> or&#160;<code>org.apache.camel.component.xmlsecurity.api.DefaultXAdESSignatureProperties. <span>XAdESSignatureProperties</span></code><span>&#160;does support all properties mentioned above except the&#160;</span></span><code><span style="line-height: 1.4285715;">SigningCertificate&#160;</span></code><span style="line-height: 1.4285715;">property. To get the&#160;<code><span>SigningCertificate&#160;</span></code><span>property, you must overwrite either the method&#160;<code>XAdESSignatureProperties.getSigningCertificate() </code>or<code>&#160;<span>XAdESSignatureProper
 ties.</span>getSigningCertificateChain().&#160;</code>The class&#160;<code>DefaultXAdESSignatureProperties</code>&#160;overwrites the method&#160;<code>getSigningCertificate()</code>&#160;and allows you to specify the signing certificate via a keystore and alias. The following example shows all parameters you can specify. If you do not need certain parameters you can just omit them.</span></span></p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>XAdES-BES/EPES Example in Java DSL</b></div><div class="codeContent panelContent pdl">
+</div></div><p>The properties of the XAdES-BES form are the same except that the&#160;<span style="line-height: 1.4285715;"><code>SignaturePolicyIdentifier</code> property is not part of XAdES-BES.&#160;</span></p><p><span style="line-height: 1.4285715;">You can configure the XAdES-BES/EPES properties via the bean&#160;<code><span>org.apache.camel.component.xmlsecurity.api.</span>XAdESSignatureProperties</code> or&#160;<code>org.apache.camel.component.xmlsecurity.api.DefaultXAdESSignatureProperties. <span>XAdESSignatureProperties</span></code><span>&#160;does support all properties mentioned above except the&#160;</span></span><code><span style="line-height: 1.4285715;">SigningCertificate&#160;</span></code><span style="line-height: 1.4285715;">property. To get the&#160;<code><span>SigningCertificate&#160;</span></code><span>property, you must overwrite either the method&#160;<code>XAdESSignatureProperties.getSigningCertificate() </code>or<code>&#160;<span>XAdESSignatureProperties.<
 /span>getSigningCertificateChain().&#160;</code>The class&#160;<code>DefaultXAdESSignatureProperties</code>&#160;overwrites the method&#160;<code>getSigningCertificate()</code>&#160;and allows you to specify the signing certificate via a keystore and alias. The following example shows all parameters you can specify. If you do not need certain parameters you can just omit them.</span></span></p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>XAdES-BES/EPES Example in Java DSL</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[        Keystore keystore = ... // load a keystore
         DefaultKeyAccessor accessor = new DefaultKeyAccessor();
         accessor.setKeyStore(keystore);