You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2012/12/04 13:49:58 UTC

svn commit: r1416918 [34/47] - in /webservices/wss4j/site: ./ apidocs/ apidocs/org/apache/ws/security/ apidocs/org/apache/ws/security/action/ apidocs/org/apache/ws/security/action/class-use/ apidocs/org/apache/ws/security/cache/ apidocs/org/apache/ws/s...

Modified: webservices/wss4j/site/xref/org/apache/ws/security/handler/WSHandlerConstants.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/handler/WSHandlerConstants.html?rev=1416918&r1=1416917&r2=1416918&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/handler/WSHandlerConstants.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/handler/WSHandlerConstants.html Tue Dec  4 12:48:10 2012
@@ -522,249 +522,276 @@
 <a name="512" href="#512">512</a> 
 <a name="513" href="#513">513</a>     <em class="jxr_javadoccomment">/**</em>
 <a name="514" href="#514">514</a> <em class="jxr_javadoccomment">     * Defines which signature algorithm to use. The default is set by the data in the </em>
-<a name="515" href="#515">515</a> <em class="jxr_javadoccomment">     * certificate.</em>
-<a name="516" href="#516">516</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="517" href="#517">517</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
-<a name="518" href="#518">518</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
-<a name="519" href="#519">519</a> <em class="jxr_javadoccomment">     * call.setProperty(</em>
-<a name="520" href="#520">520</a> <em class="jxr_javadoccomment">     *     WSHandlerConstants.SIG_ALGO, </em>
-<a name="521" href="#521">521</a> <em class="jxr_javadoccomment">     *     "<a href="http://www.w3.org/2001/04/xmldsig-more" target="alexandria_uri">http://www.w3.org/2001/04/xmldsig-more</a>#rsa-sha256"</em>
-<a name="522" href="#522">522</a> <em class="jxr_javadoccomment">     * );</em>
-<a name="523" href="#523">523</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
-<a name="524" href="#524">524</a> <em class="jxr_javadoccomment">     */</em>
-<a name="525" href="#525">525</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIG_ALGO = <span class="jxr_string">"signatureAlgorithm"</span>;
-<a name="526" href="#526">526</a>     
-<a name="527" href="#527">527</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="528" href="#528">528</a> <em class="jxr_javadoccomment">     * Defines which signature digest algorithm to use. The default is SHA-1.</em>
-<a name="529" href="#529">529</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="530" href="#530">530</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
-<a name="531" href="#531">531</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
-<a name="532" href="#532">532</a> <em class="jxr_javadoccomment">     * call.setProperty(</em>
-<a name="533" href="#533">533</a> <em class="jxr_javadoccomment">     *    WSHandlerConstants.SIG_DIGEST_ALGO, "<a href="http://www.w3.org/2001/04/xmlenc" target="alexandria_uri">http://www.w3.org/2001/04/xmlenc</a>#sha256"</em>
-<a name="534" href="#534">534</a> <em class="jxr_javadoccomment">     * );</em>
-<a name="535" href="#535">535</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
-<a name="536" href="#536">536</a> <em class="jxr_javadoccomment">     */</em>
-<a name="537" href="#537">537</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIG_DIGEST_ALGO = <span class="jxr_string">"signatureDigestAlgorithm"</span>;
-<a name="538" href="#538">538</a> 
-<a name="539" href="#539">539</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="540" href="#540">540</a> <em class="jxr_javadoccomment">     * Parameter to define which parts of the request shall be signed.</em>
-<a name="541" href="#541">541</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="542" href="#542">542</a> <em class="jxr_javadoccomment">     * Refer to {@link #ENCRYPTION_PARTS} for a detailed description of</em>
-<a name="543" href="#543">543</a> <em class="jxr_javadoccomment">     * the format of the value string.</em>
-<a name="544" href="#544">544</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="545" href="#545">545</a> <em class="jxr_javadoccomment">     * If this parameter is not specified the handler signs the SOAP Body</em>
-<a name="546" href="#546">546</a> <em class="jxr_javadoccomment">     * by default, i.e.:</em>
-<a name="547" href="#547">547</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
-<a name="548" href="#548">548</a> <em class="jxr_javadoccomment">     * &amp;lt;parameter name="signatureParts"</em>
-<a name="549" href="#549">549</a> <em class="jxr_javadoccomment">     *   value="{}{<a href="http://schemas.xmlsoap.org/soap/envelope/" target="alexandria_uri">http://schemas.xmlsoap.org/soap/envelope/</a>}Body;" /&gt;</em>
-<a name="550" href="#550">550</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
-<a name="551" href="#551">551</a> <em class="jxr_javadoccomment">     * To specify an element without a namespace use the string</em>
-<a name="552" href="#552">552</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Null&lt;/code&gt; as the namespace name (this is a case sensitive</em>
-<a name="553" href="#553">553</a> <em class="jxr_javadoccomment">     * string)</em>
-<a name="554" href="#554">554</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="555" href="#555">555</a> <em class="jxr_javadoccomment">     * If there is no other element in the request with a local name of</em>
-<a name="556" href="#556">556</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Body&lt;/code&gt; then the SOAP namespace identifier can be empty</em>
-<a name="557" href="#557">557</a> <em class="jxr_javadoccomment">     * (&lt;code&gt;{}&lt;/code&gt;).</em>
-<a name="558" href="#558">558</a> <em class="jxr_javadoccomment">     */</em>
-<a name="559" href="#559">559</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIGNATURE_PARTS = <span class="jxr_string">"signatureParts"</span>;
-<a name="560" href="#560">560</a>     
-<a name="561" href="#561">561</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="562" href="#562">562</a> <em class="jxr_javadoccomment">     * This parameter sets the length of the secret (derived) key to use for the</em>
-<a name="563" href="#563">563</a> <em class="jxr_javadoccomment">     * WSE UT_SIGN functionality.</em>
-<a name="564" href="#564">564</a> <em class="jxr_javadoccomment">     * </em>
-<a name="565" href="#565">565</a> <em class="jxr_javadoccomment">     * The default value is 16 bytes.</em>
-<a name="566" href="#566">566</a> <em class="jxr_javadoccomment">     */</em>
-<a name="567" href="#567">567</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String WSE_SECRET_KEY_LENGTH = <span class="jxr_string">"wseSecretKeyLength"</span>;
-<a name="568" href="#568">568</a>     
-<a name="569" href="#569">569</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="570" href="#570">570</a> <em class="jxr_javadoccomment">     * This parameter sets the number of iterations to use when deriving a key</em>
-<a name="571" href="#571">571</a> <em class="jxr_javadoccomment">     * from a Username Token. The default is 1000. </em>
-<a name="572" href="#572">572</a> <em class="jxr_javadoccomment">     */</em>
-<a name="573" href="#573">573</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DERIVED_KEY_ITERATIONS = <span class="jxr_string">"derivedKeyIterations"</span>;
-<a name="574" href="#574">574</a> 
-<a name="575" href="#575">575</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="576" href="#576">576</a> <em class="jxr_javadoccomment">     * Defines which key identifier type to use for encryption. The WS-Security specifications</em>
-<a name="577" href="#577">577</a> <em class="jxr_javadoccomment">     * recommends to use the identifier type &lt;code&gt;IssuerSerial&lt;/code&gt;. For</em>
-<a name="578" href="#578">578</a> <em class="jxr_javadoccomment">     * possible encryption key identifier types refer to</em>
-<a name="579" href="#579">579</a> <em class="jxr_javadoccomment">     * {@link #keyIdentifier}. For encryption &lt;code&gt;IssuerSerial&lt;/code&gt;,</em>
-<a name="580" href="#580">580</a> <em class="jxr_javadoccomment">     * &lt;code&gt;X509KeyIdentifier&lt;/code&gt;,  &lt;code&gt;DirectReference&lt;/code&gt;, </em>
-<a name="581" href="#581">581</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Thumbprint&lt;/code&gt;, &lt;code&gt;SKIKeyIdentifier&lt;/code&gt;, and</em>
-<a name="582" href="#582">582</a> <em class="jxr_javadoccomment">     * &lt;code&gt;EmbeddedKeyName&lt;/code&gt; are valid only.</em>
-<a name="583" href="#583">583</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="584" href="#584">584</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
-<a name="585" href="#585">585</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
-<a name="586" href="#586">586</a> <em class="jxr_javadoccomment">     * call.setProperty(WSHandlerConstants.ENC_KEY_ID, "X509KeyIdentifier");</em>
-<a name="587" href="#587">587</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
-<a name="588" href="#588">588</a> <em class="jxr_javadoccomment">     */</em>
-<a name="589" href="#589">589</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENC_KEY_ID = <span class="jxr_string">"encryptionKeyIdentifier"</span>;
-<a name="590" href="#590">590</a> 
-<a name="591" href="#591">591</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="592" href="#592">592</a> <em class="jxr_javadoccomment">     * Defines which symmetric encryption algorithm to use. WSS4J supports the</em>
-<a name="593" href="#593">593</a> <em class="jxr_javadoccomment">     * following alorithms: {@link WSConstants#TRIPLE_DES},</em>
-<a name="594" href="#594">594</a> <em class="jxr_javadoccomment">     * {@link WSConstants#AES_128}, {@link WSConstants#AES_256},</em>
-<a name="595" href="#595">595</a> <em class="jxr_javadoccomment">     * and {@link WSConstants#AES_192}. Except for AES 192 all of these</em>
-<a name="596" href="#596">596</a> <em class="jxr_javadoccomment">     * algorithms are required by the XML Encryption specification.</em>
-<a name="597" href="#597">597</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="598" href="#598">598</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
-<a name="599" href="#599">599</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
-<a name="600" href="#600">600</a> <em class="jxr_javadoccomment">     * call.setProperty(WSHandlerConstants.ENC_SYM_ALGO, WSConstants.AES_256);</em>
-<a name="601" href="#601">601</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
-<a name="602" href="#602">602</a> <em class="jxr_javadoccomment">     */</em>
-<a name="603" href="#603">603</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENC_SYM_ALGO = <span class="jxr_string">"encryptionSymAlgorithm"</span>;
-<a name="604" href="#604">604</a> 
-<a name="605" href="#605">605</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="606" href="#606">606</a> <em class="jxr_javadoccomment">     * Defines which algorithm to use to encrypt the generated symmetric key.</em>
-<a name="607" href="#607">607</a> <em class="jxr_javadoccomment">     * Currently WSS4J supports {@link WSConstants#KEYTRANSPORT_RSA15} only.</em>
+<a name="515" href="#515">515</a> <em class="jxr_javadoccomment">     * certificate, i.e. one of the following:</em>
+<a name="516" href="#516">516</a> <em class="jxr_javadoccomment">     * </em>
+<a name="517" href="#517">517</a> <em class="jxr_javadoccomment">     * "<a href="http://www.w3.org/2000/09/xmldsig" target="alexandria_uri">http://www.w3.org/2000/09/xmldsig</a>#rsa-sha1"</em>
+<a name="518" href="#518">518</a> <em class="jxr_javadoccomment">     * "<a href="http://www.w3.org/2000/09/xmldsig" target="alexandria_uri">http://www.w3.org/2000/09/xmldsig</a>#dsa-sha1"</em>
+<a name="519" href="#519">519</a> <em class="jxr_javadoccomment">     * </em>
+<a name="520" href="#520">520</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="521" href="#521">521</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
+<a name="522" href="#522">522</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
+<a name="523" href="#523">523</a> <em class="jxr_javadoccomment">     * call.setProperty(</em>
+<a name="524" href="#524">524</a> <em class="jxr_javadoccomment">     *     WSHandlerConstants.SIG_ALGO, </em>
+<a name="525" href="#525">525</a> <em class="jxr_javadoccomment">     *     "<a href="http://www.w3.org/2001/04/xmldsig-more" target="alexandria_uri">http://www.w3.org/2001/04/xmldsig-more</a>#rsa-sha256"</em>
+<a name="526" href="#526">526</a> <em class="jxr_javadoccomment">     * );</em>
+<a name="527" href="#527">527</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
+<a name="528" href="#528">528</a> <em class="jxr_javadoccomment">     */</em>
+<a name="529" href="#529">529</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIG_ALGO = <span class="jxr_string">"signatureAlgorithm"</span>;
+<a name="530" href="#530">530</a>     
+<a name="531" href="#531">531</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="532" href="#532">532</a> <em class="jxr_javadoccomment">     * Defines which signature digest algorithm to use. The default is:</em>
+<a name="533" href="#533">533</a> <em class="jxr_javadoccomment">     * </em>
+<a name="534" href="#534">534</a> <em class="jxr_javadoccomment">     * "<a href="http://www.w3.org/2000/09/xmldsig" target="alexandria_uri">http://www.w3.org/2000/09/xmldsig</a>#sha1"</em>
+<a name="535" href="#535">535</a> <em class="jxr_javadoccomment">     * </em>
+<a name="536" href="#536">536</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="537" href="#537">537</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
+<a name="538" href="#538">538</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
+<a name="539" href="#539">539</a> <em class="jxr_javadoccomment">     * call.setProperty(</em>
+<a name="540" href="#540">540</a> <em class="jxr_javadoccomment">     *    WSHandlerConstants.SIG_DIGEST_ALGO, "<a href="http://www.w3.org/2001/04/xmlenc" target="alexandria_uri">http://www.w3.org/2001/04/xmlenc</a>#sha256"</em>
+<a name="541" href="#541">541</a> <em class="jxr_javadoccomment">     * );</em>
+<a name="542" href="#542">542</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
+<a name="543" href="#543">543</a> <em class="jxr_javadoccomment">     */</em>
+<a name="544" href="#544">544</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIG_DIGEST_ALGO = <span class="jxr_string">"signatureDigestAlgorithm"</span>;
+<a name="545" href="#545">545</a> 
+<a name="546" href="#546">546</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="547" href="#547">547</a> <em class="jxr_javadoccomment">     * Parameter to define which parts of the request shall be signed.</em>
+<a name="548" href="#548">548</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="549" href="#549">549</a> <em class="jxr_javadoccomment">     * Refer to {@link #ENCRYPTION_PARTS} for a detailed description of</em>
+<a name="550" href="#550">550</a> <em class="jxr_javadoccomment">     * the format of the value string.</em>
+<a name="551" href="#551">551</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="552" href="#552">552</a> <em class="jxr_javadoccomment">     * If this parameter is not specified the handler signs the SOAP Body</em>
+<a name="553" href="#553">553</a> <em class="jxr_javadoccomment">     * by default, i.e.:</em>
+<a name="554" href="#554">554</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
+<a name="555" href="#555">555</a> <em class="jxr_javadoccomment">     * &amp;lt;parameter name="signatureParts"</em>
+<a name="556" href="#556">556</a> <em class="jxr_javadoccomment">     *   value="{}{<a href="http://schemas.xmlsoap.org/soap/envelope/" target="alexandria_uri">http://schemas.xmlsoap.org/soap/envelope/</a>}Body;" /&gt;</em>
+<a name="557" href="#557">557</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
+<a name="558" href="#558">558</a> <em class="jxr_javadoccomment">     * To specify an element without a namespace use the string</em>
+<a name="559" href="#559">559</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Null&lt;/code&gt; as the namespace name (this is a case sensitive</em>
+<a name="560" href="#560">560</a> <em class="jxr_javadoccomment">     * string)</em>
+<a name="561" href="#561">561</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="562" href="#562">562</a> <em class="jxr_javadoccomment">     * If there is no other element in the request with a local name of</em>
+<a name="563" href="#563">563</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Body&lt;/code&gt; then the SOAP namespace identifier can be empty</em>
+<a name="564" href="#564">564</a> <em class="jxr_javadoccomment">     * (&lt;code&gt;{}&lt;/code&gt;).</em>
+<a name="565" href="#565">565</a> <em class="jxr_javadoccomment">     */</em>
+<a name="566" href="#566">566</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIGNATURE_PARTS = <span class="jxr_string">"signatureParts"</span>;
+<a name="567" href="#567">567</a>     
+<a name="568" href="#568">568</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="569" href="#569">569</a> <em class="jxr_javadoccomment">     * This parameter sets the length of the secret (derived) key to use for the</em>
+<a name="570" href="#570">570</a> <em class="jxr_javadoccomment">     * WSE UT_SIGN functionality.</em>
+<a name="571" href="#571">571</a> <em class="jxr_javadoccomment">     * </em>
+<a name="572" href="#572">572</a> <em class="jxr_javadoccomment">     * The default value is 16 bytes.</em>
+<a name="573" href="#573">573</a> <em class="jxr_javadoccomment">     */</em>
+<a name="574" href="#574">574</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String WSE_SECRET_KEY_LENGTH = <span class="jxr_string">"wseSecretKeyLength"</span>;
+<a name="575" href="#575">575</a>     
+<a name="576" href="#576">576</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="577" href="#577">577</a> <em class="jxr_javadoccomment">     * This parameter sets the number of iterations to use when deriving a key</em>
+<a name="578" href="#578">578</a> <em class="jxr_javadoccomment">     * from a Username Token. The default is 1000. </em>
+<a name="579" href="#579">579</a> <em class="jxr_javadoccomment">     */</em>
+<a name="580" href="#580">580</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DERIVED_KEY_ITERATIONS = <span class="jxr_string">"derivedKeyIterations"</span>;
+<a name="581" href="#581">581</a> 
+<a name="582" href="#582">582</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="583" href="#583">583</a> <em class="jxr_javadoccomment">     * Defines which key identifier type to use for encryption. The WS-Security specifications</em>
+<a name="584" href="#584">584</a> <em class="jxr_javadoccomment">     * recommends to use the identifier type &lt;code&gt;IssuerSerial&lt;/code&gt;. For</em>
+<a name="585" href="#585">585</a> <em class="jxr_javadoccomment">     * possible encryption key identifier types refer to</em>
+<a name="586" href="#586">586</a> <em class="jxr_javadoccomment">     * {@link #keyIdentifier}. For encryption &lt;code&gt;IssuerSerial&lt;/code&gt;,</em>
+<a name="587" href="#587">587</a> <em class="jxr_javadoccomment">     * &lt;code&gt;X509KeyIdentifier&lt;/code&gt;,  &lt;code&gt;DirectReference&lt;/code&gt;, </em>
+<a name="588" href="#588">588</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Thumbprint&lt;/code&gt;, &lt;code&gt;SKIKeyIdentifier&lt;/code&gt;, and</em>
+<a name="589" href="#589">589</a> <em class="jxr_javadoccomment">     * &lt;code&gt;EmbeddedKeyName&lt;/code&gt; are valid only.</em>
+<a name="590" href="#590">590</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="591" href="#591">591</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
+<a name="592" href="#592">592</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
+<a name="593" href="#593">593</a> <em class="jxr_javadoccomment">     * call.setProperty(WSHandlerConstants.ENC_KEY_ID, "X509KeyIdentifier");</em>
+<a name="594" href="#594">594</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
+<a name="595" href="#595">595</a> <em class="jxr_javadoccomment">     */</em>
+<a name="596" href="#596">596</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENC_KEY_ID = <span class="jxr_string">"encryptionKeyIdentifier"</span>;
+<a name="597" href="#597">597</a> 
+<a name="598" href="#598">598</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="599" href="#599">599</a> <em class="jxr_javadoccomment">     * Defines which symmetric encryption algorithm to use. WSS4J supports the</em>
+<a name="600" href="#600">600</a> <em class="jxr_javadoccomment">     * following algorithms: {@link WSConstants#TRIPLE_DES},</em>
+<a name="601" href="#601">601</a> <em class="jxr_javadoccomment">     * {@link WSConstants#AES_128}, {@link WSConstants#AES_256},</em>
+<a name="602" href="#602">602</a> <em class="jxr_javadoccomment">     * and {@link WSConstants#AES_192}. Except for AES 192 all of these</em>
+<a name="603" href="#603">603</a> <em class="jxr_javadoccomment">     * algorithms are required by the XML Encryption specification.</em>
+<a name="604" href="#604">604</a> <em class="jxr_javadoccomment">     * The default algorithm is:</em>
+<a name="605" href="#605">605</a> <em class="jxr_javadoccomment">     * </em>
+<a name="606" href="#606">606</a> <em class="jxr_javadoccomment">     * "<a href="http://www.w3.org/2001/04/xmlenc" target="alexandria_uri">http://www.w3.org/2001/04/xmlenc</a>#aes128-cbc"</em>
+<a name="607" href="#607">607</a> <em class="jxr_javadoccomment">     * </em>
 <a name="608" href="#608">608</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
 <a name="609" href="#609">609</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
 <a name="610" href="#610">610</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
-<a name="611" href="#611">611</a> <em class="jxr_javadoccomment">     * call.setProperty(WSHandlerConstants.ENC_KEY_TRANSPORT, "RSA15");</em>
+<a name="611" href="#611">611</a> <em class="jxr_javadoccomment">     * call.setProperty(WSHandlerConstants.ENC_SYM_ALGO, WSConstants.AES_256);</em>
 <a name="612" href="#612">612</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
 <a name="613" href="#613">613</a> <em class="jxr_javadoccomment">     */</em>
-<a name="614" href="#614">614</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENC_KEY_TRANSPORT = <span class="jxr_string">"encryptionKeyTransportAlgorithm"</span>;
-<a name="615" href="#615">615</a>     
+<a name="614" href="#614">614</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENC_SYM_ALGO = <span class="jxr_string">"encryptionSymAlgorithm"</span>;
+<a name="615" href="#615">615</a> 
 <a name="616" href="#616">616</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="617" href="#617">617</a> <em class="jxr_javadoccomment">     * Parameter to define which parts of the request shall be encrypted.</em>
-<a name="618" href="#618">618</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="619" href="#619">619</a> <em class="jxr_javadoccomment">     * The value of this parameter is a list of semi-colon separated</em>
-<a name="620" href="#620">620</a> <em class="jxr_javadoccomment">     * element names that identify the elements to encrypt. An encryption mode</em>
-<a name="621" href="#621">621</a> <em class="jxr_javadoccomment">     * specifier and a namespace identification, each inside a pair of curly</em>
-<a name="622" href="#622">622</a> <em class="jxr_javadoccomment">     * brackets, may preceed each element name.</em>
-<a name="623" href="#623">623</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="624" href="#624">624</a> <em class="jxr_javadoccomment">     * The encryption mode specifier is either &lt;code&gt;{Content}&lt;/code&gt; or</em>
-<a name="625" href="#625">625</a> <em class="jxr_javadoccomment">     * &lt;code&gt;{Element}&lt;/code&gt;. Please refer to the W3C XML Encryption</em>
-<a name="626" href="#626">626</a> <em class="jxr_javadoccomment">     * specification about the differences between Element and Content</em>
-<a name="627" href="#627">627</a> <em class="jxr_javadoccomment">     * encryption. The encryption mode defaults to &lt;code&gt;Content&lt;/code&gt;</em>
-<a name="628" href="#628">628</a> <em class="jxr_javadoccomment">     * if it is omitted. Example of a list:</em>
-<a name="629" href="#629">629</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
-<a name="630" href="#630">630</a> <em class="jxr_javadoccomment">     * &amp;lt;parameter name="encryptionParts"</em>
-<a name="631" href="#631">631</a> <em class="jxr_javadoccomment">     *   value="{Content}{<a href="http://example.org/paymentv2" target="alexandria_uri">http://example.org/paymentv2</a>}CreditCard;</em>
-<a name="632" href="#632">632</a> <em class="jxr_javadoccomment">     *             {Element}{}UserName" /&gt;</em>
-<a name="633" href="#633">633</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
-<a name="634" href="#634">634</a> <em class="jxr_javadoccomment">     * The the first entry of the list identifies the element</em>
-<a name="635" href="#635">635</a> <em class="jxr_javadoccomment">     * &lt;code&gt;CreditCard&lt;/code&gt; in the namespace</em>
-<a name="636" href="#636">636</a> <em class="jxr_javadoccomment">     * &lt;code&gt;<a href="http://example.org/paymentv2&lt;/code&gt;," target="alexandria_uri">http://example.org/paymentv2&lt;/code&gt;,</a> and will encrypt its content.</em>
-<a name="637" href="#637">637</a> <em class="jxr_javadoccomment">     * Be aware that the element name, the namespace identifier, and the</em>
-<a name="638" href="#638">638</a> <em class="jxr_javadoccomment">     * encryption modifier are case sensitive.</em>
-<a name="639" href="#639">639</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="640" href="#640">640</a> <em class="jxr_javadoccomment">     * The encryption modifier and the namespace identifier can be ommited.</em>
-<a name="641" href="#641">641</a> <em class="jxr_javadoccomment">     * In this case the encryption mode defaults to &lt;code&gt;Content&lt;/code&gt; and</em>
-<a name="642" href="#642">642</a> <em class="jxr_javadoccomment">     * the namespace is set to the SOAP namespace.</em>
-<a name="643" href="#643">643</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="644" href="#644">644</a> <em class="jxr_javadoccomment">     * An empty encryption mode defaults to &lt;code&gt;Content&lt;/code&gt;, an empty</em>
-<a name="645" href="#645">645</a> <em class="jxr_javadoccomment">     * namespace identifier defaults to the SOAP namespace.</em>
-<a name="646" href="#646">646</a> <em class="jxr_javadoccomment">     * The second line of the example defines &lt;code&gt;Element&lt;/code&gt; as</em>
-<a name="647" href="#647">647</a> <em class="jxr_javadoccomment">     * encryption mode for an &lt;code&gt;UserName&lt;/code&gt; element in the SOAP</em>
-<a name="648" href="#648">648</a> <em class="jxr_javadoccomment">     * namespace.</em>
-<a name="649" href="#649">649</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="650" href="#650">650</a> <em class="jxr_javadoccomment">     * To specify an element without a namespace use the string</em>
-<a name="651" href="#651">651</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Null&lt;/code&gt; as the namespace name (this is a case sensitive</em>
-<a name="652" href="#652">652</a> <em class="jxr_javadoccomment">     * string)</em>
+<a name="617" href="#617">617</a> <em class="jxr_javadoccomment">     * Defines which algorithm to use to encrypt the generated symmetric key.</em>
+<a name="618" href="#618">618</a> <em class="jxr_javadoccomment">     * The default algorithm is:</em>
+<a name="619" href="#619">619</a> <em class="jxr_javadoccomment">     * </em>
+<a name="620" href="#620">620</a> <em class="jxr_javadoccomment">     * "<a href="http://www.w3.org/2001/04/xmlenc" target="alexandria_uri">http://www.w3.org/2001/04/xmlenc</a>#rsa-oaep-mgf1p"</em>
+<a name="621" href="#621">621</a> <em class="jxr_javadoccomment">     * </em>
+<a name="622" href="#622">622</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="623" href="#623">623</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
+<a name="624" href="#624">624</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
+<a name="625" href="#625">625</a> <em class="jxr_javadoccomment">     * call.setProperty(WSHandlerConstants.ENC_KEY_TRANSPORT, WSConstants.KEYTRANSPORT_RSA15);</em>
+<a name="626" href="#626">626</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
+<a name="627" href="#627">627</a> <em class="jxr_javadoccomment">     */</em>
+<a name="628" href="#628">628</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENC_KEY_TRANSPORT = <span class="jxr_string">"encryptionKeyTransportAlgorithm"</span>;
+<a name="629" href="#629">629</a>     
+<a name="630" href="#630">630</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="631" href="#631">631</a> <em class="jxr_javadoccomment">     * Parameter to define which parts of the request shall be encrypted.</em>
+<a name="632" href="#632">632</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="633" href="#633">633</a> <em class="jxr_javadoccomment">     * The value of this parameter is a list of semi-colon separated</em>
+<a name="634" href="#634">634</a> <em class="jxr_javadoccomment">     * element names that identify the elements to encrypt. An encryption mode</em>
+<a name="635" href="#635">635</a> <em class="jxr_javadoccomment">     * specifier and a namespace identification, each inside a pair of curly</em>
+<a name="636" href="#636">636</a> <em class="jxr_javadoccomment">     * brackets, may preceed each element name.</em>
+<a name="637" href="#637">637</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="638" href="#638">638</a> <em class="jxr_javadoccomment">     * The encryption mode specifier is either &lt;code&gt;{Content}&lt;/code&gt; or</em>
+<a name="639" href="#639">639</a> <em class="jxr_javadoccomment">     * &lt;code&gt;{Element}&lt;/code&gt;. Please refer to the W3C XML Encryption</em>
+<a name="640" href="#640">640</a> <em class="jxr_javadoccomment">     * specification about the differences between Element and Content</em>
+<a name="641" href="#641">641</a> <em class="jxr_javadoccomment">     * encryption. The encryption mode defaults to &lt;code&gt;Content&lt;/code&gt;</em>
+<a name="642" href="#642">642</a> <em class="jxr_javadoccomment">     * if it is omitted. Example of a list:</em>
+<a name="643" href="#643">643</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
+<a name="644" href="#644">644</a> <em class="jxr_javadoccomment">     * &amp;lt;parameter name="encryptionParts"</em>
+<a name="645" href="#645">645</a> <em class="jxr_javadoccomment">     *   value="{Content}{<a href="http://example.org/paymentv2" target="alexandria_uri">http://example.org/paymentv2</a>}CreditCard;</em>
+<a name="646" href="#646">646</a> <em class="jxr_javadoccomment">     *             {Element}{}UserName" /&gt;</em>
+<a name="647" href="#647">647</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
+<a name="648" href="#648">648</a> <em class="jxr_javadoccomment">     * The the first entry of the list identifies the element</em>
+<a name="649" href="#649">649</a> <em class="jxr_javadoccomment">     * &lt;code&gt;CreditCard&lt;/code&gt; in the namespace</em>
+<a name="650" href="#650">650</a> <em class="jxr_javadoccomment">     * &lt;code&gt;<a href="http://example.org/paymentv2&lt;/code&gt;," target="alexandria_uri">http://example.org/paymentv2&lt;/code&gt;,</a> and will encrypt its content.</em>
+<a name="651" href="#651">651</a> <em class="jxr_javadoccomment">     * Be aware that the element name, the namespace identifier, and the</em>
+<a name="652" href="#652">652</a> <em class="jxr_javadoccomment">     * encryption modifier are case sensitive.</em>
 <a name="653" href="#653">653</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="654" href="#654">654</a> <em class="jxr_javadoccomment">     * If no list is specified, the handler encrypts the SOAP Body in</em>
-<a name="655" href="#655">655</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Content&lt;/code&gt; mode by default.</em>
-<a name="656" href="#656">656</a> <em class="jxr_javadoccomment">     */</em>
-<a name="657" href="#657">657</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENCRYPTION_PARTS = <span class="jxr_string">"encryptionParts"</span>;
-<a name="658" href="#658">658</a> 
-<a name="659" href="#659">659</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="660" href="#660">660</a> <em class="jxr_javadoccomment">     * Time-To-Live is the time difference between creation and expiry time in</em>
-<a name="661" href="#661">661</a> <em class="jxr_javadoccomment">     * seconds in the WSS Timestamp. After this time the SOAP request is</em>
-<a name="662" href="#662">662</a> <em class="jxr_javadoccomment">     * invalid (at least the security data shall be treated this way).</em>
+<a name="654" href="#654">654</a> <em class="jxr_javadoccomment">     * The encryption modifier and the namespace identifier can be ommited.</em>
+<a name="655" href="#655">655</a> <em class="jxr_javadoccomment">     * In this case the encryption mode defaults to &lt;code&gt;Content&lt;/code&gt; and</em>
+<a name="656" href="#656">656</a> <em class="jxr_javadoccomment">     * the namespace is set to the SOAP namespace.</em>
+<a name="657" href="#657">657</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="658" href="#658">658</a> <em class="jxr_javadoccomment">     * An empty encryption mode defaults to &lt;code&gt;Content&lt;/code&gt;, an empty</em>
+<a name="659" href="#659">659</a> <em class="jxr_javadoccomment">     * namespace identifier defaults to the SOAP namespace.</em>
+<a name="660" href="#660">660</a> <em class="jxr_javadoccomment">     * The second line of the example defines &lt;code&gt;Element&lt;/code&gt; as</em>
+<a name="661" href="#661">661</a> <em class="jxr_javadoccomment">     * encryption mode for an &lt;code&gt;UserName&lt;/code&gt; element in the SOAP</em>
+<a name="662" href="#662">662</a> <em class="jxr_javadoccomment">     * namespace.</em>
 <a name="663" href="#663">663</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="664" href="#664">664</a> <em class="jxr_javadoccomment">     * If this parameter is not defined, contains a value less or equal</em>
-<a name="665" href="#665">665</a> <em class="jxr_javadoccomment">     * zero, or an illegal format the handlers use a default TTL of</em>
-<a name="666" href="#666">666</a> <em class="jxr_javadoccomment">     * 300 seconds (5 minutes).</em>
-<a name="667" href="#667">667</a> <em class="jxr_javadoccomment">     */</em>
-<a name="668" href="#668">668</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TTL_TIMESTAMP = <span class="jxr_string">"timeToLive"</span>;
-<a name="669" href="#669">669</a>     
-<a name="670" href="#670">670</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="671" href="#671">671</a> <em class="jxr_javadoccomment">     * This configuration tag specifies the time in seconds in the future within which</em>
-<a name="672" href="#672">672</a> <em class="jxr_javadoccomment">     * the Created time of an incoming Timestamp is valid. The default value is "60",</em>
-<a name="673" href="#673">673</a> <em class="jxr_javadoccomment">     * to avoid problems where clocks are slightly askew. To reject all future-created</em>
-<a name="674" href="#674">674</a> <em class="jxr_javadoccomment">     * Timestamps, set this value to "0". </em>
-<a name="675" href="#675">675</a> <em class="jxr_javadoccomment">     */</em>
-<a name="676" href="#676">676</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TTL_FUTURE_TIMESTAMP = <span class="jxr_string">"futureTimeToLive"</span>;
-<a name="677" href="#677">677</a>     
-<a name="678" href="#678">678</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="679" href="#679">679</a> <em class="jxr_javadoccomment">     * This configuration tag is a comma separated String of regular expressions which</em>
-<a name="680" href="#680">680</a> <em class="jxr_javadoccomment">     * will be applied to the subject DN of the certificate used for signature</em>
-<a name="681" href="#681">681</a> <em class="jxr_javadoccomment">     * validation, after trust verification of the certificate chain associated with the </em>
-<a name="682" href="#682">682</a> <em class="jxr_javadoccomment">     * certificate. These constraints are not used when the certificate is contained in</em>
-<a name="683" href="#683">683</a> <em class="jxr_javadoccomment">     * the keystore (direct trust).</em>
-<a name="684" href="#684">684</a> <em class="jxr_javadoccomment">     */</em>
-<a name="685" href="#685">685</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIG_SUBJECT_CERT_CONSTRAINTS = <span class="jxr_string">"sigSubjectCertConstraints"</span>;
-<a name="686" href="#686">686</a>     
-<a name="687" href="#687">687</a>     
-<a name="688" href="#688">688</a>     <em class="jxr_comment">//</em>
-<a name="689" href="#689">689</a>     <em class="jxr_comment">// Internal storage constants</em>
-<a name="690" href="#690">690</a>     <em class="jxr_comment">//</em>
-<a name="691" href="#691">691</a>     
-<a name="692" href="#692">692</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="693" href="#693">693</a> <em class="jxr_javadoccomment">     * The WSHandler stores a result &lt;code&gt;List&lt;/code&gt; in this property.</em>
+<a name="664" href="#664">664</a> <em class="jxr_javadoccomment">     * To specify an element without a namespace use the string</em>
+<a name="665" href="#665">665</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Null&lt;/code&gt; as the namespace name (this is a case sensitive</em>
+<a name="666" href="#666">666</a> <em class="jxr_javadoccomment">     * string)</em>
+<a name="667" href="#667">667</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="668" href="#668">668</a> <em class="jxr_javadoccomment">     * If no list is specified, the handler encrypts the SOAP Body in</em>
+<a name="669" href="#669">669</a> <em class="jxr_javadoccomment">     * &lt;code&gt;Content&lt;/code&gt; mode by default.</em>
+<a name="670" href="#670">670</a> <em class="jxr_javadoccomment">     */</em>
+<a name="671" href="#671">671</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENCRYPTION_PARTS = <span class="jxr_string">"encryptionParts"</span>;
+<a name="672" href="#672">672</a>     
+<a name="673" href="#673">673</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="674" href="#674">674</a> <em class="jxr_javadoccomment">     * Defines which encryption digest algorithm to use with the RSA OAEP Key Transport </em>
+<a name="675" href="#675">675</a> <em class="jxr_javadoccomment">     * algorithm for encryption. The default is SHA-1.</em>
+<a name="676" href="#676">676</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="677" href="#677">677</a> <em class="jxr_javadoccomment">     * The application may set this parameter using the following method:</em>
+<a name="678" href="#678">678</a> <em class="jxr_javadoccomment">     * &lt;pre&gt;</em>
+<a name="679" href="#679">679</a> <em class="jxr_javadoccomment">     * call.setProperty(</em>
+<a name="680" href="#680">680</a> <em class="jxr_javadoccomment">     *    WSHandlerConstants.ENC_DIGEST_ALGO, "<a href="http://www.w3.org/2001/04/xmlenc" target="alexandria_uri">http://www.w3.org/2001/04/xmlenc</a>#sha256"</em>
+<a name="681" href="#681">681</a> <em class="jxr_javadoccomment">     * );</em>
+<a name="682" href="#682">682</a> <em class="jxr_javadoccomment">     * &lt;/pre&gt;</em>
+<a name="683" href="#683">683</a> <em class="jxr_javadoccomment">     */</em>
+<a name="684" href="#684">684</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENC_DIGEST_ALGO = <span class="jxr_string">"encryptionDigestAlgorithm"</span>;
+<a name="685" href="#685">685</a> 
+<a name="686" href="#686">686</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="687" href="#687">687</a> <em class="jxr_javadoccomment">     * Time-To-Live is the time difference between creation and expiry time in</em>
+<a name="688" href="#688">688</a> <em class="jxr_javadoccomment">     * seconds in the WSS Timestamp. After this time the SOAP request is</em>
+<a name="689" href="#689">689</a> <em class="jxr_javadoccomment">     * invalid (at least the security data shall be treated this way).</em>
+<a name="690" href="#690">690</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="691" href="#691">691</a> <em class="jxr_javadoccomment">     * If this parameter is not defined, contains a value less or equal</em>
+<a name="692" href="#692">692</a> <em class="jxr_javadoccomment">     * zero, or an illegal format the handlers use a default TTL of</em>
+<a name="693" href="#693">693</a> <em class="jxr_javadoccomment">     * 300 seconds (5 minutes).</em>
 <a name="694" href="#694">694</a> <em class="jxr_javadoccomment">     */</em>
-<a name="695" href="#695">695</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RECV_RESULTS = <span class="jxr_string">"RECV_RESULTS"</span>;
+<a name="695" href="#695">695</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TTL_TIMESTAMP = <span class="jxr_string">"timeToLive"</span>;
 <a name="696" href="#696">696</a>     
 <a name="697" href="#697">697</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="698" href="#698">698</a> <em class="jxr_javadoccomment">     * internally used property names to store values inside the message context</em>
-<a name="699" href="#699">699</a> <em class="jxr_javadoccomment">     * that must have the same lifetime as a message (request/response model).</em>
-<a name="700" href="#700">700</a> <em class="jxr_javadoccomment">     */</em>
-<a name="701" href="#701">701</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SEND_SIGV = <span class="jxr_string">"_sendSignatureValues_"</span>;
-<a name="702" href="#702">702</a>     
-<a name="703" href="#703">703</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="704" href="#704">704</a> <em class="jxr_javadoccomment">     * </em>
-<a name="705" href="#705">705</a> <em class="jxr_javadoccomment">     */</em>
-<a name="706" href="#706">706</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIG_CONF_DONE = <span class="jxr_string">"_sigConfDone_"</span>;
-<a name="707" href="#707">707</a> 
-<a name="708" href="#708">708</a> 
-<a name="709" href="#709">709</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="710" href="#710">710</a> <em class="jxr_javadoccomment">     * Define the parameter values to set the key identifier types. These are:</em>
-<a name="711" href="#711">711</a> <em class="jxr_javadoccomment">     * &lt;ul&gt;</em>
-<a name="712" href="#712">712</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;DirectReference&lt;/code&gt; for {@link WSConstants#BST_DIRECT_REFERENCE}</em>
-<a name="713" href="#713">713</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
-<a name="714" href="#714">714</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;IssuerSerial&lt;/code&gt; for {@link WSConstants#ISSUER_SERIAL}</em>
-<a name="715" href="#715">715</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
-<a name="716" href="#716">716</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;X509KeyIdentifier&lt;/code&gt; for {@link WSConstants#X509_KEY_IDENTIFIER}</em>
-<a name="717" href="#717">717</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
-<a name="718" href="#718">718</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;SKIKeyIdentifier&lt;/code&gt; for {@link WSConstants#SKI_KEY_IDENTIFIER}</em>
-<a name="719" href="#719">719</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
-<a name="720" href="#720">720</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;EmbeddedKeyName&lt;/code&gt; for {@link WSConstants#EMBEDDED_KEYNAME}</em>
-<a name="721" href="#721">721</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
-<a name="722" href="#722">722</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;Thumbprint&lt;/code&gt; for {@link WSConstants#THUMBPRINT}</em>
-<a name="723" href="#723">723</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
-<a name="724" href="#724">724</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;EncryptedKeySHA1&lt;/code&gt; for {@link WSConstants#ENCRYPTED_KEY_SHA1_IDENTIFIER}</em>
-<a name="725" href="#725">725</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
-<a name="726" href="#726">726</a> <em class="jxr_javadoccomment">     * &lt;/ul&gt;</em>
-<a name="727" href="#727">727</a> <em class="jxr_javadoccomment">     * See {@link #SIG_KEY_ID} {@link #ENC_KEY_ID}.</em>
-<a name="728" href="#728">728</a> <em class="jxr_javadoccomment">     */</em>
-<a name="729" href="#729">729</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> Map&lt;String, Integer&gt; keyIdentifier = <strong class="jxr_keyword">new</strong> HashMap&lt;String, Integer&gt;();
-<a name="730" href="#730">730</a> 
-<a name="731" href="#731">731</a>     <strong class="jxr_keyword">static</strong> {
-<a name="732" href="#732">732</a>         keyIdentifier.put(<span class="jxr_string">"DirectReference"</span>,
-<a name="733" href="#733">733</a>                 Integer.valueOf(WSConstants.BST_DIRECT_REFERENCE));
-<a name="734" href="#734">734</a>         keyIdentifier.put(<span class="jxr_string">"IssuerSerial"</span>,
-<a name="735" href="#735">735</a>                 Integer.valueOf(WSConstants.ISSUER_SERIAL));
-<a name="736" href="#736">736</a>         keyIdentifier.put(<span class="jxr_string">"X509KeyIdentifier"</span>,
-<a name="737" href="#737">737</a>                 Integer.valueOf(WSConstants.X509_KEY_IDENTIFIER));
-<a name="738" href="#738">738</a>         keyIdentifier.put(<span class="jxr_string">"SKIKeyIdentifier"</span>,
-<a name="739" href="#739">739</a>                 Integer.valueOf(WSConstants.SKI_KEY_IDENTIFIER));
-<a name="740" href="#740">740</a>         keyIdentifier.put(<span class="jxr_string">"EmbeddedKeyName"</span>,
-<a name="741" href="#741">741</a>                 Integer.valueOf(WSConstants.EMBEDDED_KEYNAME));
-<a name="742" href="#742">742</a>         keyIdentifier.put(<span class="jxr_string">"Thumbprint"</span>,
-<a name="743" href="#743">743</a>                 Integer.valueOf(WSConstants.THUMBPRINT_IDENTIFIER));
-<a name="744" href="#744">744</a>         keyIdentifier.put(<span class="jxr_string">"EncryptedKeySHA1"</span>,
-<a name="745" href="#745">745</a>                 Integer.valueOf(WSConstants.ENCRYPTED_KEY_SHA1_IDENTIFIER));
-<a name="746" href="#746">746</a>     }
-<a name="747" href="#747">747</a>     
-<a name="748" href="#748">748</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="749" href="#749">749</a> <em class="jxr_javadoccomment">     * Get the key identifier type corresponding to the parameter</em>
-<a name="750" href="#750">750</a> <em class="jxr_javadoccomment">     * @param parameter</em>
-<a name="751" href="#751">751</a> <em class="jxr_javadoccomment">     * @return the key identifier type corresponding to the parameter</em>
-<a name="752" href="#752">752</a> <em class="jxr_javadoccomment">     */</em>
-<a name="753" href="#753">753</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Integer getKeyIdentifier(String parameter) {
-<a name="754" href="#754">754</a>         <strong class="jxr_keyword">return</strong> keyIdentifier.get(parameter);
-<a name="755" href="#755">755</a>     }
-<a name="756" href="#756">756</a> }
+<a name="698" href="#698">698</a> <em class="jxr_javadoccomment">     * This configuration tag specifies the time in seconds in the future within which</em>
+<a name="699" href="#699">699</a> <em class="jxr_javadoccomment">     * the Created time of an incoming Timestamp is valid. The default value is "60",</em>
+<a name="700" href="#700">700</a> <em class="jxr_javadoccomment">     * to avoid problems where clocks are slightly askew. To reject all future-created</em>
+<a name="701" href="#701">701</a> <em class="jxr_javadoccomment">     * Timestamps, set this value to "0". </em>
+<a name="702" href="#702">702</a> <em class="jxr_javadoccomment">     */</em>
+<a name="703" href="#703">703</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TTL_FUTURE_TIMESTAMP = <span class="jxr_string">"futureTimeToLive"</span>;
+<a name="704" href="#704">704</a>     
+<a name="705" href="#705">705</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="706" href="#706">706</a> <em class="jxr_javadoccomment">     * This configuration tag is a comma separated String of regular expressions which</em>
+<a name="707" href="#707">707</a> <em class="jxr_javadoccomment">     * will be applied to the subject DN of the certificate used for signature</em>
+<a name="708" href="#708">708</a> <em class="jxr_javadoccomment">     * validation, after trust verification of the certificate chain associated with the </em>
+<a name="709" href="#709">709</a> <em class="jxr_javadoccomment">     * certificate. These constraints are not used when the certificate is contained in</em>
+<a name="710" href="#710">710</a> <em class="jxr_javadoccomment">     * the keystore (direct trust).</em>
+<a name="711" href="#711">711</a> <em class="jxr_javadoccomment">     */</em>
+<a name="712" href="#712">712</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIG_SUBJECT_CERT_CONSTRAINTS = <span class="jxr_string">"sigSubjectCertConstraints"</span>;
+<a name="713" href="#713">713</a>     
+<a name="714" href="#714">714</a>     
+<a name="715" href="#715">715</a>     <em class="jxr_comment">//</em>
+<a name="716" href="#716">716</a>     <em class="jxr_comment">// Internal storage constants</em>
+<a name="717" href="#717">717</a>     <em class="jxr_comment">//</em>
+<a name="718" href="#718">718</a>     
+<a name="719" href="#719">719</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="720" href="#720">720</a> <em class="jxr_javadoccomment">     * The WSHandler stores a result &lt;code&gt;List&lt;/code&gt; in this property.</em>
+<a name="721" href="#721">721</a> <em class="jxr_javadoccomment">     */</em>
+<a name="722" href="#722">722</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RECV_RESULTS = <span class="jxr_string">"RECV_RESULTS"</span>;
+<a name="723" href="#723">723</a>     
+<a name="724" href="#724">724</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="725" href="#725">725</a> <em class="jxr_javadoccomment">     * internally used property names to store values inside the message context</em>
+<a name="726" href="#726">726</a> <em class="jxr_javadoccomment">     * that must have the same lifetime as a message (request/response model).</em>
+<a name="727" href="#727">727</a> <em class="jxr_javadoccomment">     */</em>
+<a name="728" href="#728">728</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SEND_SIGV = <span class="jxr_string">"_sendSignatureValues_"</span>;
+<a name="729" href="#729">729</a>     
+<a name="730" href="#730">730</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="731" href="#731">731</a> <em class="jxr_javadoccomment">     * </em>
+<a name="732" href="#732">732</a> <em class="jxr_javadoccomment">     */</em>
+<a name="733" href="#733">733</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SIG_CONF_DONE = <span class="jxr_string">"_sigConfDone_"</span>;
+<a name="734" href="#734">734</a> 
+<a name="735" href="#735">735</a> 
+<a name="736" href="#736">736</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="737" href="#737">737</a> <em class="jxr_javadoccomment">     * Define the parameter values to set the key identifier types. These are:</em>
+<a name="738" href="#738">738</a> <em class="jxr_javadoccomment">     * &lt;ul&gt;</em>
+<a name="739" href="#739">739</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;DirectReference&lt;/code&gt; for {@link WSConstants#BST_DIRECT_REFERENCE}</em>
+<a name="740" href="#740">740</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
+<a name="741" href="#741">741</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;IssuerSerial&lt;/code&gt; for {@link WSConstants#ISSUER_SERIAL}</em>
+<a name="742" href="#742">742</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
+<a name="743" href="#743">743</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;X509KeyIdentifier&lt;/code&gt; for {@link WSConstants#X509_KEY_IDENTIFIER}</em>
+<a name="744" href="#744">744</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
+<a name="745" href="#745">745</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;SKIKeyIdentifier&lt;/code&gt; for {@link WSConstants#SKI_KEY_IDENTIFIER}</em>
+<a name="746" href="#746">746</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
+<a name="747" href="#747">747</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;EmbeddedKeyName&lt;/code&gt; for {@link WSConstants#EMBEDDED_KEYNAME}</em>
+<a name="748" href="#748">748</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
+<a name="749" href="#749">749</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;Thumbprint&lt;/code&gt; for {@link WSConstants#THUMBPRINT}</em>
+<a name="750" href="#750">750</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
+<a name="751" href="#751">751</a> <em class="jxr_javadoccomment">     * &lt;li&gt;&lt;code&gt;EncryptedKeySHA1&lt;/code&gt; for {@link WSConstants#ENCRYPTED_KEY_SHA1_IDENTIFIER}</em>
+<a name="752" href="#752">752</a> <em class="jxr_javadoccomment">     * &lt;/li&gt;</em>
+<a name="753" href="#753">753</a> <em class="jxr_javadoccomment">     * &lt;/ul&gt;</em>
+<a name="754" href="#754">754</a> <em class="jxr_javadoccomment">     * See {@link #SIG_KEY_ID} {@link #ENC_KEY_ID}.</em>
+<a name="755" href="#755">755</a> <em class="jxr_javadoccomment">     */</em>
+<a name="756" href="#756">756</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> Map&lt;String, Integer&gt; keyIdentifier = <strong class="jxr_keyword">new</strong> HashMap&lt;String, Integer&gt;();
 <a name="757" href="#757">757</a> 
+<a name="758" href="#758">758</a>     <strong class="jxr_keyword">static</strong> {
+<a name="759" href="#759">759</a>         keyIdentifier.put(<span class="jxr_string">"DirectReference"</span>,
+<a name="760" href="#760">760</a>                 Integer.valueOf(WSConstants.BST_DIRECT_REFERENCE));
+<a name="761" href="#761">761</a>         keyIdentifier.put(<span class="jxr_string">"IssuerSerial"</span>,
+<a name="762" href="#762">762</a>                 Integer.valueOf(WSConstants.ISSUER_SERIAL));
+<a name="763" href="#763">763</a>         keyIdentifier.put(<span class="jxr_string">"X509KeyIdentifier"</span>,
+<a name="764" href="#764">764</a>                 Integer.valueOf(WSConstants.X509_KEY_IDENTIFIER));
+<a name="765" href="#765">765</a>         keyIdentifier.put(<span class="jxr_string">"SKIKeyIdentifier"</span>,
+<a name="766" href="#766">766</a>                 Integer.valueOf(WSConstants.SKI_KEY_IDENTIFIER));
+<a name="767" href="#767">767</a>         keyIdentifier.put(<span class="jxr_string">"EmbeddedKeyName"</span>,
+<a name="768" href="#768">768</a>                 Integer.valueOf(WSConstants.EMBEDDED_KEYNAME));
+<a name="769" href="#769">769</a>         keyIdentifier.put(<span class="jxr_string">"Thumbprint"</span>,
+<a name="770" href="#770">770</a>                 Integer.valueOf(WSConstants.THUMBPRINT_IDENTIFIER));
+<a name="771" href="#771">771</a>         keyIdentifier.put(<span class="jxr_string">"EncryptedKeySHA1"</span>,
+<a name="772" href="#772">772</a>                 Integer.valueOf(WSConstants.ENCRYPTED_KEY_SHA1_IDENTIFIER));
+<a name="773" href="#773">773</a>     }
+<a name="774" href="#774">774</a>     
+<a name="775" href="#775">775</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="776" href="#776">776</a> <em class="jxr_javadoccomment">     * Get the key identifier type corresponding to the parameter</em>
+<a name="777" href="#777">777</a> <em class="jxr_javadoccomment">     * @param parameter</em>
+<a name="778" href="#778">778</a> <em class="jxr_javadoccomment">     * @return the key identifier type corresponding to the parameter</em>
+<a name="779" href="#779">779</a> <em class="jxr_javadoccomment">     */</em>
+<a name="780" href="#780">780</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Integer getKeyIdentifier(String parameter) {
+<a name="781" href="#781">781</a>         <strong class="jxr_keyword">return</strong> keyIdentifier.get(parameter);
+<a name="782" href="#782">782</a>     }
+<a name="783" href="#783">783</a> }
+<a name="784" href="#784">784</a> 
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

Modified: webservices/wss4j/site/xref/org/apache/ws/security/handler/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/handler/package-frame.html?rev=1416918&r1=1416917&r2=1416918&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/handler/package-frame.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/handler/package-frame.html Tue Dec  4 12:48:10 2012
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
-		<title>WSS4J 1.6.7 Reference Package org.apache.ws.security.handler</title>
+		<title>Apache WSS4J 1.6.8 Reference Package org.apache.ws.security.handler</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: webservices/wss4j/site/xref/org/apache/ws/security/handler/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/handler/package-summary.html?rev=1416918&r1=1416917&r2=1416918&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/handler/package-summary.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/handler/package-summary.html Tue Dec  4 12:48:10 2012
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
-		<title>WSS4J 1.6.7 Reference Package org.apache.ws.security.handler</title>
+		<title>Apache WSS4J 1.6.8 Reference Package org.apache.ws.security.handler</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: webservices/wss4j/site/xref/org/apache/ws/security/message/DOMCallbackLookup.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/message/DOMCallbackLookup.html?rev=1416918&r1=1416917&r2=1416918&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/message/DOMCallbackLookup.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/message/DOMCallbackLookup.html Tue Dec  4 12:48:10 2012
@@ -64,50 +64,60 @@
 <a name="54" href="#54">54</a>          String id, String valueType, <strong class="jxr_keyword">boolean</strong> checkMultipleElements
 <a name="55" href="#55">55</a>      ) <strong class="jxr_keyword">throws</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a> {
 <a name="56" href="#56">56</a>          <em class="jxr_comment">//</em>
-<a name="57" href="#57">57</a>          <em class="jxr_comment">// Try to find a SAML Assertion Element if the ValueType corresponds to a SAML Assertion</em>
+<a name="57" href="#57">57</a>          <em class="jxr_comment">// Try the SOAP Body first</em>
 <a name="58" href="#58">58</a>          <em class="jxr_comment">//</em>
-<a name="59" href="#59">59</a>          <strong class="jxr_keyword">if</strong> (WSConstants.WSS_SAML_KI_VALUE_TYPE.equals(valueType) 
-<a name="60" href="#60">60</a>              || WSConstants.WSS_SAML2_KI_VALUE_TYPE.equals(valueType)) {
-<a name="61" href="#61">61</a>              <strong class="jxr_keyword">return</strong> 
-<a name="62" href="#62">62</a>                  WSSecurityUtil.findSAMLAssertionElementById(
-<a name="63" href="#63">63</a>                      doc.getDocumentElement(), id
-<a name="64" href="#64">64</a>                  );
+<a name="59" href="#59">59</a>          Element bodyElement = WSSecurityUtil.findBodyElement(doc);
+<a name="60" href="#60">60</a>          <strong class="jxr_keyword">if</strong> (bodyElement != <strong class="jxr_keyword">null</strong>) {
+<a name="61" href="#61">61</a>              String cId = bodyElement.getAttributeNS(WSConstants.WSU_NS, <span class="jxr_string">"Id"</span>);
+<a name="62" href="#62">62</a>              <strong class="jxr_keyword">if</strong> (cId.equals(id)) {
+<a name="63" href="#63">63</a>                   <strong class="jxr_keyword">return</strong> bodyElement;
+<a name="64" href="#64">64</a>              }
 <a name="65" href="#65">65</a>          }
-<a name="66" href="#66">66</a>          <em class="jxr_comment">//</em>
-<a name="67" href="#67">67</a>          <em class="jxr_comment">// Try the SOAP Body next</em>
-<a name="68" href="#68">68</a>          <em class="jxr_comment">//</em>
-<a name="69" href="#69">69</a>          Element bodyElement = WSSecurityUtil.findBodyElement(doc);
-<a name="70" href="#70">70</a>          <strong class="jxr_keyword">if</strong> (bodyElement != <strong class="jxr_keyword">null</strong>) {
-<a name="71" href="#71">71</a>              String cId = bodyElement.getAttributeNS(WSConstants.WSU_NS, <span class="jxr_string">"Id"</span>);
-<a name="72" href="#72">72</a>              <strong class="jxr_keyword">if</strong> (cId.equals(id)) {
-<a name="73" href="#73">73</a>                   <strong class="jxr_keyword">return</strong> bodyElement;
-<a name="74" href="#74">74</a>              }
-<a name="75" href="#75">75</a>          }
-<a name="76" href="#76">76</a>          <em class="jxr_comment">// Otherwise do a general search</em>
-<a name="77" href="#77">77</a>          <strong class="jxr_keyword">return</strong> WSSecurityUtil.findElementById(doc.getDocumentElement(), id, checkMultipleElements);
-<a name="78" href="#78">78</a>      }
-<a name="79" href="#79">79</a>      
-<a name="80" href="#80">80</a>      <em class="jxr_javadoccomment">/**</em>
-<a name="81" href="#81">81</a>  <em class="jxr_javadoccomment">     * Get the DOM element(s) that correspond to the given localname/namespace. </em>
-<a name="82" href="#82">82</a>  <em class="jxr_javadoccomment">     * @param localname The localname of the Element(s)</em>
-<a name="83" href="#83">83</a>  <em class="jxr_javadoccomment">     * @param namespace The namespace of the Element(s)</em>
-<a name="84" href="#84">84</a>  <em class="jxr_javadoccomment">     * @return the located element(s)</em>
-<a name="85" href="#85">85</a>  <em class="jxr_javadoccomment">     * @throws WSSecurityException</em>
-<a name="86" href="#86">86</a>  <em class="jxr_javadoccomment">     */</em>
-<a name="87" href="#87">87</a>      <strong class="jxr_keyword">public</strong> List&lt;Element&gt; getElements(
-<a name="88" href="#88">88</a>          String localname, String namespace
-<a name="89" href="#89">89</a>      ) <strong class="jxr_keyword">throws</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a> {
-<a name="90" href="#90">90</a>          <em class="jxr_comment">//</em>
-<a name="91" href="#91">91</a>          <em class="jxr_comment">// Try the SOAP Body first</em>
-<a name="92" href="#92">92</a>          <em class="jxr_comment">//</em>
-<a name="93" href="#93">93</a>          Element bodyElement = WSSecurityUtil.findBodyElement(doc);
-<a name="94" href="#94">94</a>          <strong class="jxr_keyword">if</strong> (WSConstants.ELEM_BODY.equals(localname) &amp;&amp;
-<a name="95" href="#95">95</a>              bodyElement.getNamespaceURI().equals(namespace)) {
-<a name="96" href="#96">96</a>              <strong class="jxr_keyword">return</strong> Collections.singletonList(bodyElement);
-<a name="97" href="#97">97</a>          }
-<a name="98" href="#98">98</a>          <strong class="jxr_keyword">return</strong> WSSecurityUtil.findElements(doc.getDocumentElement(), localname, namespace);
-<a name="99" href="#99">99</a>      }
-<a name="100" href="#100">100</a> }
+<a name="66" href="#66">66</a>          <em class="jxr_comment">// Otherwise do a general search</em>
+<a name="67" href="#67">67</a>          Element foundElement = 
+<a name="68" href="#68">68</a>              WSSecurityUtil.findElementById(doc.getDocumentElement(), id, checkMultipleElements);
+<a name="69" href="#69">69</a>          <strong class="jxr_keyword">if</strong> (foundElement != <strong class="jxr_keyword">null</strong>) {
+<a name="70" href="#70">70</a>              <strong class="jxr_keyword">return</strong> foundElement;
+<a name="71" href="#71">71</a>          }
+<a name="72" href="#72">72</a>          
+<a name="73" href="#73">73</a>          <em class="jxr_comment">//</em>
+<a name="74" href="#74">74</a>          <em class="jxr_comment">// Try to find a SAML Assertion Element if the ValueType corresponds to a SAML Assertion</em>
+<a name="75" href="#75">75</a>          <em class="jxr_comment">// (or is empty)</em>
+<a name="76" href="#76">76</a>          <em class="jxr_comment">//</em>
+<a name="77" href="#77">77</a>          <strong class="jxr_keyword">if</strong> (WSConstants.WSS_SAML_KI_VALUE_TYPE.equals(valueType) 
+<a name="78" href="#78">78</a>              || WSConstants.WSS_SAML2_KI_VALUE_TYPE.equals(valueType)
+<a name="79" href="#79">79</a>              || <span class="jxr_string">""</span>.equals(valueType)
+<a name="80" href="#80">80</a>              || valueType == <strong class="jxr_keyword">null</strong>) {
+<a name="81" href="#81">81</a>              <strong class="jxr_keyword">return</strong> 
+<a name="82" href="#82">82</a>                  WSSecurityUtil.findSAMLAssertionElementById(
+<a name="83" href="#83">83</a>                      doc.getDocumentElement(), id
+<a name="84" href="#84">84</a>                  );
+<a name="85" href="#85">85</a>          }
+<a name="86" href="#86">86</a>          
+<a name="87" href="#87">87</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a name="88" href="#88">88</a>      }
+<a name="89" href="#89">89</a>      
+<a name="90" href="#90">90</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="91" href="#91">91</a>  <em class="jxr_javadoccomment">     * Get the DOM element(s) that correspond to the given localname/namespace. </em>
+<a name="92" href="#92">92</a>  <em class="jxr_javadoccomment">     * @param localname The localname of the Element(s)</em>
+<a name="93" href="#93">93</a>  <em class="jxr_javadoccomment">     * @param namespace The namespace of the Element(s)</em>
+<a name="94" href="#94">94</a>  <em class="jxr_javadoccomment">     * @return the located element(s)</em>
+<a name="95" href="#95">95</a>  <em class="jxr_javadoccomment">     * @throws WSSecurityException</em>
+<a name="96" href="#96">96</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="97" href="#97">97</a>      <strong class="jxr_keyword">public</strong> List&lt;Element&gt; getElements(
+<a name="98" href="#98">98</a>          String localname, String namespace
+<a name="99" href="#99">99</a>      ) <strong class="jxr_keyword">throws</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a> {
+<a name="100" href="#100">100</a>         <em class="jxr_comment">//</em>
+<a name="101" href="#101">101</a>         <em class="jxr_comment">// Try the SOAP Body first</em>
+<a name="102" href="#102">102</a>         <em class="jxr_comment">//</em>
+<a name="103" href="#103">103</a>         Element bodyElement = WSSecurityUtil.findBodyElement(doc);
+<a name="104" href="#104">104</a>         <strong class="jxr_keyword">if</strong> (WSConstants.ELEM_BODY.equals(localname) &amp;&amp;
+<a name="105" href="#105">105</a>             bodyElement.getNamespaceURI().equals(namespace)) {
+<a name="106" href="#106">106</a>             <strong class="jxr_keyword">return</strong> Collections.singletonList(bodyElement);
+<a name="107" href="#107">107</a>         }
+<a name="108" href="#108">108</a>         <strong class="jxr_keyword">return</strong> WSSecurityUtil.findElements(doc.getDocumentElement(), localname, namespace);
+<a name="109" href="#109">109</a>     }
+<a name="110" href="#110">110</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>