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&amp;schemaResourceUri=Test.xsd" />
<to uri="mock:result" />]]></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;"> </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">Ÿ<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 </span></strong><span style="line-height: 1.4285715;"><strong>Signature with Validation Data</strong> 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> </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;"> </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">Ÿ<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 </span></strong><span style="line-height: 1.4285715;"><strong>Signature with Validation Data</strong> 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> </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[ <QualifyingProperties Target>
<SignedProperties>
<SignedSignatureProperties>
@@ -299,7 +299,7 @@
</SignedDataObjectProperties>
</SignedProperties>
</QualifyingProperties>]]></script>
-</div></div><p>The properties of the XAdES-BES form are the same except that the <span style="line-height: 1.4285715;"><code>SignaturePolicyIdentifier</code> property is not püart of XAdES-BES. </span></p><p><span style="line-height: 1.4285715;">You can configure the XAdES-BES/EPES properties via the bean <code><span>org.apache.camel.component.xmlsecurity.api.</span>XAdESSignatureProperties</code> or <code>org.apache.camel.component.xmlsecurity.api.DefaultXAdESSignatureProperties. <span>XAdESSignatureProperties</span></code><span> does support all properties mentioned above except the </span></span><code><span style="line-height: 1.4285715;">SigningCertificate </span></code><span style="line-height: 1.4285715;">property. To get the <code><span>SigningCertificate </span></code><span>property, you must overwrite either the method <code>XAdESSignatureProperties.getSigningCertificate() </code>or<code> <span>XAdESSignatureProper
ties.</span>getSigningCertificateChain(). </code>The class <code>DefaultXAdESSignatureProperties</code> overwrites the method <code>getSigningCertificate()</code> 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 <span style="line-height: 1.4285715;"><code>SignaturePolicyIdentifier</code> property is not part of XAdES-BES. </span></p><p><span style="line-height: 1.4285715;">You can configure the XAdES-BES/EPES properties via the bean <code><span>org.apache.camel.component.xmlsecurity.api.</span>XAdESSignatureProperties</code> or <code>org.apache.camel.component.xmlsecurity.api.DefaultXAdESSignatureProperties. <span>XAdESSignatureProperties</span></code><span> does support all properties mentioned above except the </span></span><code><span style="line-height: 1.4285715;">SigningCertificate </span></code><span style="line-height: 1.4285715;">property. To get the <code><span>SigningCertificate </span></code><span>property, you must overwrite either the method <code>XAdESSignatureProperties.getSigningCertificate() </code>or<code> <span>XAdESSignatureProperties.<
/span>getSigningCertificateChain(). </code>The class <code>DefaultXAdESSignatureProperties</code> overwrites the method <code>getSigningCertificate()</code> 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);