You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by co...@apache.org on 2009/04/20 15:56:38 UTC

svn commit: r766696 [16/36] - in /webservices/wss4j/site: ./ apidocs/ apidocs/org/apache/ws/axis/security/ apidocs/org/apache/ws/axis/security/class-use/ apidocs/org/apache/ws/axis/security/handler/ apidocs/org/apache/ws/axis/security/handler/class-use...

Modified: webservices/wss4j/site/xref/org/apache/ws/security/WSConstants.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/WSConstants.html?rev=766696&r1=766695&r2=766696&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/WSConstants.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/WSConstants.html Mon Apr 20 13:56:25 2009
@@ -132,394 +132,395 @@
 <a name="122" href="#122">122</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ASSERTION_LN = <span class="jxr_string">"Assertion"</span>;
 <a name="123" href="#123">123</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String WSS_SAML_NS = <span class="jxr_string">"http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.0#"</span>;
 <a name="124" href="#124">124</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String WSS_SAML_ASSERTION = <span class="jxr_string">"SAMLAssertion-1.1"</span>;
-<a name="125" href="#125">125</a> 
-<a name="126" href="#126">126</a>     <em class="jxr_comment">//</em>
-<a name="127" href="#127">127</a>     <em class="jxr_comment">// SOAP-ENV Namespaces</em>
-<a name="128" href="#128">128</a>     <em class="jxr_comment">//</em>
-<a name="129" href="#129">129</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP11_ENV =
-<a name="130" href="#130">130</a>             <span class="jxr_string">"http://schemas.xmlsoap.org/soap/envelope/"</span>;
-<a name="131" href="#131">131</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP12_ENV =
-<a name="132" href="#132">132</a>             <span class="jxr_string">"http://www.w3.org/2003/05/soap-envelope"</span>;
-<a name="133" href="#133">133</a> 
-<a name="134" href="#134">134</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String[] URIS_SOAP_ENV = {
-<a name="135" href="#135">135</a>         URI_SOAP11_ENV,
-<a name="136" href="#136">136</a>         URI_SOAP12_ENV,
-<a name="137" href="#137">137</a>     };
-<a name="138" href="#138">138</a> 
-<a name="139" href="#139">139</a>     <em class="jxr_comment">// Misc SOAP Namespaces / URIs</em>
-<a name="140" href="#140">140</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP11_NEXT_ACTOR =
-<a name="141" href="#141">141</a>             <span class="jxr_string">"http://schemas.xmlsoap.org/soap/actor/next"</span>;
-<a name="142" href="#142">142</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP12_NEXT_ROLE =
-<a name="143" href="#143">143</a>             <span class="jxr_string">"http://www.w3.org/2003/05/soap-envelope/role/next"</span>;
-<a name="144" href="#144">144</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP12_NONE_ROLE =
-<a name="145" href="#145">145</a>             <span class="jxr_string">"http://www.w3.org/2003/05/soap-envelope/role/none"</span>;
-<a name="146" href="#146">146</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP12_ULTIMATE_ROLE =
-<a name="147" href="#147">147</a>             <span class="jxr_string">"http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"</span>;
-<a name="148" href="#148">148</a> 
-<a name="149" href="#149">149</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ELEM_ENVELOPE = <span class="jxr_string">"Envelope"</span>;
-<a name="150" href="#150">150</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ELEM_HEADER = <span class="jxr_string">"Header"</span>;
-<a name="151" href="#151">151</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ELEM_BODY = <span class="jxr_string">"Body"</span>;
-<a name="152" href="#152">152</a> 
-<a name="153" href="#153">153</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ATTR_MUST_UNDERSTAND = <span class="jxr_string">"mustUnderstand"</span>;
-<a name="154" href="#154">154</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ATTR_ACTOR = <span class="jxr_string">"actor"</span>;
-<a name="155" href="#155">155</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ATTR_ROLE = <span class="jxr_string">"role"</span>;
-<a name="156" href="#156">156</a> 
-<a name="157" href="#157">157</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String NULL_NS = <span class="jxr_string">"Null"</span>;
-<a name="158" href="#158">158</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="159" href="#159">159</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSAddUsernameToken#build(Document, String, String) UserNameToken}</em>
-<a name="160" href="#160">160</a> <em class="jxr_javadoccomment">     * method to use a password digest to send the password information</em>
-<a name="161" href="#161">161</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="162" href="#162">162</a> <em class="jxr_javadoccomment">     * This is a required method as defined by WS Specification, Username token profile.</em>
-<a name="163" href="#163">163</a> <em class="jxr_javadoccomment">     */</em>
-<a name="164" href="#164">164</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PW_DIGEST = <span class="jxr_string">"PasswordDigest"</span>;
-<a name="165" href="#165">165</a>     <em class="jxr_comment">/*</em>
-<a name="166" href="#166">166</a> <em class="jxr_comment">     * The password type URI used in the username token </em>
-<a name="167" href="#167">167</a> <em class="jxr_comment">     */</em>
-<a name="168" href="#168">168</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PASSWORD_DIGEST = USERNAMETOKEN_NS + <span class="jxr_string">"#PasswordDigest"</span>;
-<a name="169" href="#169">169</a> 
-<a name="170" href="#170">170</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="171" href="#171">171</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSAddUsernameToken#build(Document, String, String) UserNameToken}</em>
-<a name="172" href="#172">172</a> <em class="jxr_javadoccomment">     * method to send the password in clear</em>
-<a name="173" href="#173">173</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="174" href="#174">174</a> <em class="jxr_javadoccomment">     * This is a required method as defined by WS Specification, Username token profile.</em>
-<a name="175" href="#175">175</a> <em class="jxr_javadoccomment">     */</em>
-<a name="176" href="#176">176</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PW_TEXT = <span class="jxr_string">"PasswordText"</span>;
-<a name="177" href="#177">177</a>     <em class="jxr_comment">/*</em>
-<a name="178" href="#178">178</a> <em class="jxr_comment">     * The password type URI used in the username token </em>
-<a name="179" href="#179">179</a> <em class="jxr_comment">     */</em>
-<a name="180" href="#180">180</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PASSWORD_TEXT = USERNAMETOKEN_NS + <span class="jxr_string">"#PasswordText"</span>;
-<a name="181" href="#181">181</a>     
-<a name="182" href="#182">182</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="183" href="#183">183</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSAddUsernameToken#build(Document, String, String) UserNameToken}</em>
-<a name="184" href="#184">184</a> <em class="jxr_javadoccomment">     * method to send _no_ password related information. </em>
-<a name="185" href="#185">185</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="186" href="#186">186</a> <em class="jxr_javadoccomment">     * This is a required method as defined by WS Specification, Username token profile as passwords are optional.</em>
-<a name="187" href="#187">187</a> <em class="jxr_javadoccomment">     * Also see the WS-I documentation for scenario's using this feature in a trust environment.</em>
-<a name="188" href="#188">188</a> <em class="jxr_javadoccomment">     */</em> 
-<a name="189" href="#189">189</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PW_NONE = <span class="jxr_string">"PasswordNone"</span>;
-<a name="190" href="#190">190</a> 
-<a name="191" href="#191">191</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="192" href="#192">192</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
-<a name="193" href="#193">193</a> <em class="jxr_javadoccomment">     * method to encrypt the symmetric data encryption key with the RSA algorithm.</em>
-<a name="194" href="#194">194</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="195" href="#195">195</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
-<a name="196" href="#196">196</a> <em class="jxr_javadoccomment">     */</em>
-<a name="197" href="#197">197</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String KEYTRANSPORT_RSA15 = EncryptionConstants.ALGO_ID_KEYTRANSPORT_RSA15;
-<a name="198" href="#198">198</a> 
-<a name="199" href="#199">199</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="200" href="#200">200</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
-<a name="201" href="#201">201</a> <em class="jxr_javadoccomment">     * method to encrypt the symmetric data encryption key with the RSA algorithm.</em>
-<a name="202" href="#202">202</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="203" href="#203">203</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
-<a name="204" href="#204">204</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="205" href="#205">205</a> <em class="jxr_javadoccomment">     * NOTE: This algorithm is not yet supported by WSS4J</em>
-<a name="206" href="#206">206</a> <em class="jxr_javadoccomment">     */</em>
-<a name="207" href="#207">207</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String KEYTRANSPORT_RSAOEP = EncryptionConstants.ALGO_ID_KEYTRANSPORT_RSAOAEP;
-<a name="208" href="#208">208</a> 
-<a name="209" href="#209">209</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="210" href="#210">210</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
-<a name="211" href="#211">211</a> <em class="jxr_javadoccomment">     * method to use triple DES as the symmetric algorithm to encrypt data.</em>
-<a name="212" href="#212">212</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="213" href="#213">213</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
-<a name="214" href="#214">214</a> <em class="jxr_javadoccomment">     * The String to use in WSDD file (in accordance to w3c specifications:</em>
-<a name="215" href="#215">215</a> <em class="jxr_javadoccomment">     * &lt;br/&gt;</em>
-<a name="216" href="#216">216</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>#tripledes-cbc</em>
-<a name="217" href="#217">217</a> <em class="jxr_javadoccomment">     */</em>
-<a name="218" href="#218">218</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRIPLE_DES = EncryptionConstants.ALGO_ID_BLOCKCIPHER_TRIPLEDES;
-<a name="219" href="#219">219</a> 
-<a name="220" href="#220">220</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="221" href="#221">221</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
-<a name="222" href="#222">222</a> <em class="jxr_javadoccomment">     * method to use AES with 128 bit key as the symmetric algorithm to encrypt data.</em>
-<a name="223" href="#223">223</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="224" href="#224">224</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
-<a name="225" href="#225">225</a> <em class="jxr_javadoccomment">     * The String to use in WSDD file (in accordance to w3c specifications:</em>
-<a name="226" href="#226">226</a> <em class="jxr_javadoccomment">     * &lt;br/&gt;</em>
-<a name="227" href="#227">227</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="228" href="#228">228</a> <em class="jxr_javadoccomment">     */</em>
-<a name="229" href="#229">229</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String AES_128 = EncryptionConstants.ALGO_ID_BLOCKCIPHER_AES128;
-<a name="230" href="#230">230</a> 
-<a name="231" href="#231">231</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="232" href="#232">232</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
-<a name="233" href="#233">233</a> <em class="jxr_javadoccomment">     * method to use AES with 256 bit key as the symmetric algorithm to encrypt data.</em>
-<a name="234" href="#234">234</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="235" href="#235">235</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
-<a name="236" href="#236">236</a> <em class="jxr_javadoccomment">     * The String to use in WSDD file (in accordance to w3c specifications:</em>
-<a name="237" href="#237">237</a> <em class="jxr_javadoccomment">     * &lt;br/&gt;</em>
-<a name="238" href="#238">238</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>#aes256-cbc</em>
-<a name="239" href="#239">239</a> <em class="jxr_javadoccomment">     */</em>
-<a name="240" href="#240">240</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String AES_256 = EncryptionConstants.ALGO_ID_BLOCKCIPHER_AES256;
-<a name="241" href="#241">241</a> 
-<a name="242" href="#242">242</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="243" href="#243">243</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
-<a name="244" href="#244">244</a> <em class="jxr_javadoccomment">     * method to use AES with 192 bit key as the symmetric algorithm to encrypt data.</em>
-<a name="245" href="#245">245</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="246" href="#246">246</a> <em class="jxr_javadoccomment">     * This is a optional method as defined by XML encryption.</em>
-<a name="247" href="#247">247</a> <em class="jxr_javadoccomment">     * The String to use in WSDD file (in accordance to w3c specifications:</em>
-<a name="248" href="#248">248</a> <em class="jxr_javadoccomment">     * &lt;br/&gt;</em>
-<a name="249" href="#249">249</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>#aes192-cbc</em>
-<a name="250" href="#250">250</a> <em class="jxr_javadoccomment">     */</em>
-<a name="251" href="#251">251</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String AES_192 = EncryptionConstants.ALGO_ID_BLOCKCIPHER_AES192;
-<a name="252" href="#252">252</a> 
-<a name="253" href="#253">253</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="254" href="#254">254</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto) signature}</em>
-<a name="255" href="#255">255</a> <em class="jxr_javadoccomment">     * method to use DSA with SHA1 (DSS) to sign data.</em>
-<a name="256" href="#256">256</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="257" href="#257">257</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML signature.</em>
-<a name="258" href="#258">258</a> <em class="jxr_javadoccomment">     */</em>
-<a name="259" href="#259">259</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DSA = XMLSignature.ALGO_ID_SIGNATURE_DSA;
-<a name="260" href="#260">260</a> 
-<a name="261" href="#261">261</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="262" href="#262">262</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto) signature}</em>
-<a name="263" href="#263">263</a> <em class="jxr_javadoccomment">     * method to use RSA with SHA to sign data.</em>
-<a name="264" href="#264">264</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="265" href="#265">265</a> <em class="jxr_javadoccomment">     * This is a recommended method as defined by XML signature.</em>
-<a name="266" href="#266">266</a> <em class="jxr_javadoccomment">     */</em>
-<a name="267" href="#267">267</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RSA = XMLSignature.ALGO_ID_SIGNATURE_RSA_SHA1;
-<a name="268" href="#268">268</a> 
-<a name="269" href="#269">269</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String C14N_OMIT_COMMENTS = Canonicalizer.ALGO_ID_C14N_OMIT_COMMENTS;
-<a name="270" href="#270">270</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String C14N_WITH_COMMENTS = Canonicalizer.ALGO_ID_C14N_WITH_COMMENTS;
-<a name="271" href="#271">271</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String C14N_EXCL_OMIT_COMMENTS = Canonicalizer.ALGO_ID_C14N_EXCL_OMIT_COMMENTS;
-<a name="272" href="#272">272</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String C14N_EXCL_WITH_COMMENTS = Canonicalizer.ALGO_ID_C14N_EXCL_WITH_COMMENTS;
-<a name="273" href="#273">273</a> 
-<a name="274" href="#274">274</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="275" href="#275">275</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto) signing}</em>
-<a name="276" href="#276">276</a> <em class="jxr_javadoccomment">     * method to send the signing certificate as a</em>
-<a name="277" href="#277">277</a> <em class="jxr_javadoccomment">     * &lt;code&gt;BinarySecurityToken&lt;/code&gt;.</em>
-<a name="278" href="#278">278</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="279" href="#279">279</a> <em class="jxr_javadoccomment">     * The signing method takes the signing certificate, converts it to a</em>
-<a name="280" href="#280">280</a> <em class="jxr_javadoccomment">     * &lt;code&gt;BinarySecurityToken&lt;/code&gt;, puts it in the security header,</em>
-<a name="281" href="#281">281</a> <em class="jxr_javadoccomment">     * and inserts a &lt;code&gt;Reference&lt;/code&gt; to the binary security token</em>
-<a name="282" href="#282">282</a> <em class="jxr_javadoccomment">     * into the &lt;code&gt;wsse:SecurityReferenceToken&lt;/code&gt;. Thus the whole</em>
-<a name="283" href="#283">283</a> <em class="jxr_javadoccomment">     * signing certificate is transfered to the receiver.</em>
-<a name="284" href="#284">284</a> <em class="jxr_javadoccomment">     * The X509 profile recommends to use {@link #ISSUER_SERIAL} instead</em>
-<a name="285" href="#285">285</a> <em class="jxr_javadoccomment">     * of sending the whole certificate.</em>
-<a name="286" href="#286">286</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="287" href="#287">287</a> <em class="jxr_javadoccomment">     * Please refer to WS Security specification X509 profile, chapter 3.3.2</em>
-<a name="288" href="#288">288</a> <em class="jxr_javadoccomment">     * and to WS Security specification, chapter 7.2</em>
-<a name="289" href="#289">289</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="290" href="#290">290</a> <em class="jxr_javadoccomment">     * Note: only local references to BinarySecurityToken are supported</em>
-<a name="291" href="#291">291</a> <em class="jxr_javadoccomment">     */</em>
-<a name="292" href="#292">292</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> BST_DIRECT_REFERENCE = 1;
-<a name="293" href="#293">293</a> 
-<a name="294" href="#294">294</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="295" href="#295">295</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto) signing}</em>
-<a name="296" href="#296">296</a> <em class="jxr_javadoccomment">     * or the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
-<a name="297" href="#297">297</a> <em class="jxr_javadoccomment">     * method to send the issuer name and the serial number of a</em>
-<a name="298" href="#298">298</a> <em class="jxr_javadoccomment">     * certificate to the receiver.</em>
-<a name="299" href="#299">299</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="300" href="#300">300</a> <em class="jxr_javadoccomment">     * In contrast to {@link #BST_DIRECT_REFERENCE} only the issuer name</em>
-<a name="301" href="#301">301</a> <em class="jxr_javadoccomment">     * and the serial number of the signing certificate are sent to the</em>
-<a name="302" href="#302">302</a> <em class="jxr_javadoccomment">     * receiver. This reduces the amount of data being sent. The encryption</em>
-<a name="303" href="#303">303</a> <em class="jxr_javadoccomment">     * method uses the public key associated with this certificate to encrypt</em>
-<a name="304" href="#304">304</a> <em class="jxr_javadoccomment">     * the symmetric key used to encrypt data.</em>
-<a name="305" href="#305">305</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="306" href="#306">306</a> <em class="jxr_javadoccomment">     * Please refer to WS Security specification X509 profile, chapter 3.3.3</em>
-<a name="307" href="#307">307</a> <em class="jxr_javadoccomment">     */</em>
-<a name="308" href="#308">308</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> ISSUER_SERIAL = 2;
-<a name="309" href="#309">309</a> 
-<a name="310" href="#310">310</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="311" href="#311">311</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
-<a name="312" href="#312">312</a> <em class="jxr_javadoccomment">     * method to send the certificate used to encrypt the symmetric key.</em>
-<a name="313" href="#313">313</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="314" href="#314">314</a> <em class="jxr_javadoccomment">     * The encryption method uses the public key associated with this certificate</em>
-<a name="315" href="#315">315</a> <em class="jxr_javadoccomment">     * to encrypr the symmetric key used to encrypt data. The certificate is</em>
-<a name="316" href="#316">316</a> <em class="jxr_javadoccomment">     * converted into a &lt;code&gt;KeyIdentfier&lt;/code&gt; token and sent to the receiver.</em>
-<a name="317" href="#317">317</a> <em class="jxr_javadoccomment">     * Thus the complete certificate data is transfered to receiver.</em>
-<a name="318" href="#318">318</a> <em class="jxr_javadoccomment">     * The X509 profile recommends to use {@link #ISSUER_SERIAL} instead</em>
-<a name="319" href="#319">319</a> <em class="jxr_javadoccomment">     * of sending the whole certificate.</em>
-<a name="320" href="#320">320</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="125" href="#125">125</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String WSS_SAML_KI_VALUE_TYPE = WSS_SAML_NS + SAML_ASSERTION_ID;
+<a name="126" href="#126">126</a> 
+<a name="127" href="#127">127</a>     <em class="jxr_comment">//</em>
+<a name="128" href="#128">128</a>     <em class="jxr_comment">// SOAP-ENV Namespaces</em>
+<a name="129" href="#129">129</a>     <em class="jxr_comment">//</em>
+<a name="130" href="#130">130</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP11_ENV =
+<a name="131" href="#131">131</a>             <span class="jxr_string">"http://schemas.xmlsoap.org/soap/envelope/"</span>;
+<a name="132" href="#132">132</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP12_ENV =
+<a name="133" href="#133">133</a>             <span class="jxr_string">"http://www.w3.org/2003/05/soap-envelope"</span>;
+<a name="134" href="#134">134</a> 
+<a name="135" href="#135">135</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String[] URIS_SOAP_ENV = {
+<a name="136" href="#136">136</a>         URI_SOAP11_ENV,
+<a name="137" href="#137">137</a>         URI_SOAP12_ENV,
+<a name="138" href="#138">138</a>     };
+<a name="139" href="#139">139</a> 
+<a name="140" href="#140">140</a>     <em class="jxr_comment">// Misc SOAP Namespaces / URIs</em>
+<a name="141" href="#141">141</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP11_NEXT_ACTOR =
+<a name="142" href="#142">142</a>             <span class="jxr_string">"http://schemas.xmlsoap.org/soap/actor/next"</span>;
+<a name="143" href="#143">143</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP12_NEXT_ROLE =
+<a name="144" href="#144">144</a>             <span class="jxr_string">"http://www.w3.org/2003/05/soap-envelope/role/next"</span>;
+<a name="145" href="#145">145</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP12_NONE_ROLE =
+<a name="146" href="#146">146</a>             <span class="jxr_string">"http://www.w3.org/2003/05/soap-envelope/role/none"</span>;
+<a name="147" href="#147">147</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String URI_SOAP12_ULTIMATE_ROLE =
+<a name="148" href="#148">148</a>             <span class="jxr_string">"http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"</span>;
+<a name="149" href="#149">149</a> 
+<a name="150" href="#150">150</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ELEM_ENVELOPE = <span class="jxr_string">"Envelope"</span>;
+<a name="151" href="#151">151</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ELEM_HEADER = <span class="jxr_string">"Header"</span>;
+<a name="152" href="#152">152</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ELEM_BODY = <span class="jxr_string">"Body"</span>;
+<a name="153" href="#153">153</a> 
+<a name="154" href="#154">154</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ATTR_MUST_UNDERSTAND = <span class="jxr_string">"mustUnderstand"</span>;
+<a name="155" href="#155">155</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ATTR_ACTOR = <span class="jxr_string">"actor"</span>;
+<a name="156" href="#156">156</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ATTR_ROLE = <span class="jxr_string">"role"</span>;
+<a name="157" href="#157">157</a> 
+<a name="158" href="#158">158</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String NULL_NS = <span class="jxr_string">"Null"</span>;
+<a name="159" href="#159">159</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="160" href="#160">160</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSAddUsernameToken#build(Document, String, String) UserNameToken}</em>
+<a name="161" href="#161">161</a> <em class="jxr_javadoccomment">     * method to use a password digest to send the password information</em>
+<a name="162" href="#162">162</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="163" href="#163">163</a> <em class="jxr_javadoccomment">     * This is a required method as defined by WS Specification, Username token profile.</em>
+<a name="164" href="#164">164</a> <em class="jxr_javadoccomment">     */</em>
+<a name="165" href="#165">165</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PW_DIGEST = <span class="jxr_string">"PasswordDigest"</span>;
+<a name="166" href="#166">166</a>     <em class="jxr_comment">/*</em>
+<a name="167" href="#167">167</a> <em class="jxr_comment">     * The password type URI used in the username token </em>
+<a name="168" href="#168">168</a> <em class="jxr_comment">     */</em>
+<a name="169" href="#169">169</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PASSWORD_DIGEST = USERNAMETOKEN_NS + <span class="jxr_string">"#PasswordDigest"</span>;
+<a name="170" href="#170">170</a> 
+<a name="171" href="#171">171</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="172" href="#172">172</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSAddUsernameToken#build(Document, String, String) UserNameToken}</em>
+<a name="173" href="#173">173</a> <em class="jxr_javadoccomment">     * method to send the password in clear</em>
+<a name="174" href="#174">174</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="175" href="#175">175</a> <em class="jxr_javadoccomment">     * This is a required method as defined by WS Specification, Username token profile.</em>
+<a name="176" href="#176">176</a> <em class="jxr_javadoccomment">     */</em>
+<a name="177" href="#177">177</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PW_TEXT = <span class="jxr_string">"PasswordText"</span>;
+<a name="178" href="#178">178</a>     <em class="jxr_comment">/*</em>
+<a name="179" href="#179">179</a> <em class="jxr_comment">     * The password type URI used in the username token </em>
+<a name="180" href="#180">180</a> <em class="jxr_comment">     */</em>
+<a name="181" href="#181">181</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PASSWORD_TEXT = USERNAMETOKEN_NS + <span class="jxr_string">"#PasswordText"</span>;
+<a name="182" href="#182">182</a>     
+<a name="183" href="#183">183</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="184" href="#184">184</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSAddUsernameToken#build(Document, String, String) UserNameToken}</em>
+<a name="185" href="#185">185</a> <em class="jxr_javadoccomment">     * method to send _no_ password related information. </em>
+<a name="186" href="#186">186</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="187" href="#187">187</a> <em class="jxr_javadoccomment">     * This is a required method as defined by WS Specification, Username token profile as passwords are optional.</em>
+<a name="188" href="#188">188</a> <em class="jxr_javadoccomment">     * Also see the WS-I documentation for scenario's using this feature in a trust environment.</em>
+<a name="189" href="#189">189</a> <em class="jxr_javadoccomment">     */</em> 
+<a name="190" href="#190">190</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PW_NONE = <span class="jxr_string">"PasswordNone"</span>;
+<a name="191" href="#191">191</a> 
+<a name="192" href="#192">192</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="193" href="#193">193</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
+<a name="194" href="#194">194</a> <em class="jxr_javadoccomment">     * method to encrypt the symmetric data encryption key with the RSA algorithm.</em>
+<a name="195" href="#195">195</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="196" href="#196">196</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
+<a name="197" href="#197">197</a> <em class="jxr_javadoccomment">     */</em>
+<a name="198" href="#198">198</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String KEYTRANSPORT_RSA15 = EncryptionConstants.ALGO_ID_KEYTRANSPORT_RSA15;
+<a name="199" href="#199">199</a> 
+<a name="200" href="#200">200</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="201" href="#201">201</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
+<a name="202" href="#202">202</a> <em class="jxr_javadoccomment">     * method to encrypt the symmetric data encryption key with the RSA algorithm.</em>
+<a name="203" href="#203">203</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="204" href="#204">204</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
+<a name="205" href="#205">205</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="206" href="#206">206</a> <em class="jxr_javadoccomment">     * NOTE: This algorithm is not yet supported by WSS4J</em>
+<a name="207" href="#207">207</a> <em class="jxr_javadoccomment">     */</em>
+<a name="208" href="#208">208</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String KEYTRANSPORT_RSAOEP = EncryptionConstants.ALGO_ID_KEYTRANSPORT_RSAOAEP;
+<a name="209" href="#209">209</a> 
+<a name="210" href="#210">210</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="211" href="#211">211</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
+<a name="212" href="#212">212</a> <em class="jxr_javadoccomment">     * method to use triple DES as the symmetric algorithm to encrypt data.</em>
+<a name="213" href="#213">213</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="214" href="#214">214</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
+<a name="215" href="#215">215</a> <em class="jxr_javadoccomment">     * The String to use in WSDD file (in accordance to w3c specifications:</em>
+<a name="216" href="#216">216</a> <em class="jxr_javadoccomment">     * &lt;br/&gt;</em>
+<a name="217" href="#217">217</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>#tripledes-cbc</em>
+<a name="218" href="#218">218</a> <em class="jxr_javadoccomment">     */</em>
+<a name="219" href="#219">219</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRIPLE_DES = EncryptionConstants.ALGO_ID_BLOCKCIPHER_TRIPLEDES;
+<a name="220" href="#220">220</a> 
+<a name="221" href="#221">221</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="222" href="#222">222</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
+<a name="223" href="#223">223</a> <em class="jxr_javadoccomment">     * method to use AES with 128 bit key as the symmetric algorithm to encrypt data.</em>
+<a name="224" href="#224">224</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="225" href="#225">225</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
+<a name="226" href="#226">226</a> <em class="jxr_javadoccomment">     * The String to use in WSDD file (in accordance to w3c specifications:</em>
+<a name="227" href="#227">227</a> <em class="jxr_javadoccomment">     * &lt;br/&gt;</em>
+<a name="228" href="#228">228</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="229" href="#229">229</a> <em class="jxr_javadoccomment">     */</em>
+<a name="230" href="#230">230</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String AES_128 = EncryptionConstants.ALGO_ID_BLOCKCIPHER_AES128;
+<a name="231" href="#231">231</a> 
+<a name="232" href="#232">232</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="233" href="#233">233</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
+<a name="234" href="#234">234</a> <em class="jxr_javadoccomment">     * method to use AES with 256 bit key as the symmetric algorithm to encrypt data.</em>
+<a name="235" href="#235">235</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="236" href="#236">236</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML encryption.</em>
+<a name="237" href="#237">237</a> <em class="jxr_javadoccomment">     * The String to use in WSDD file (in accordance to w3c specifications:</em>
+<a name="238" href="#238">238</a> <em class="jxr_javadoccomment">     * &lt;br/&gt;</em>
+<a name="239" href="#239">239</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>#aes256-cbc</em>
+<a name="240" href="#240">240</a> <em class="jxr_javadoccomment">     */</em>
+<a name="241" href="#241">241</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String AES_256 = EncryptionConstants.ALGO_ID_BLOCKCIPHER_AES256;
+<a name="242" href="#242">242</a> 
+<a name="243" href="#243">243</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="244" href="#244">244</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
+<a name="245" href="#245">245</a> <em class="jxr_javadoccomment">     * method to use AES with 192 bit key as the symmetric algorithm to encrypt data.</em>
+<a name="246" href="#246">246</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="247" href="#247">247</a> <em class="jxr_javadoccomment">     * This is a optional method as defined by XML encryption.</em>
+<a name="248" href="#248">248</a> <em class="jxr_javadoccomment">     * The String to use in WSDD file (in accordance to w3c specifications:</em>
+<a name="249" href="#249">249</a> <em class="jxr_javadoccomment">     * &lt;br/&gt;</em>
+<a name="250" href="#250">250</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>#aes192-cbc</em>
+<a name="251" href="#251">251</a> <em class="jxr_javadoccomment">     */</em>
+<a name="252" href="#252">252</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String AES_192 = EncryptionConstants.ALGO_ID_BLOCKCIPHER_AES192;
+<a name="253" href="#253">253</a> 
+<a name="254" href="#254">254</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="255" href="#255">255</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto) signature}</em>
+<a name="256" href="#256">256</a> <em class="jxr_javadoccomment">     * method to use DSA with SHA1 (DSS) to sign data.</em>
+<a name="257" href="#257">257</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="258" href="#258">258</a> <em class="jxr_javadoccomment">     * This is a required method as defined by XML signature.</em>
+<a name="259" href="#259">259</a> <em class="jxr_javadoccomment">     */</em>
+<a name="260" href="#260">260</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DSA = XMLSignature.ALGO_ID_SIGNATURE_DSA;
+<a name="261" href="#261">261</a> 
+<a name="262" href="#262">262</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="263" href="#263">263</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto) signature}</em>
+<a name="264" href="#264">264</a> <em class="jxr_javadoccomment">     * method to use RSA with SHA to sign data.</em>
+<a name="265" href="#265">265</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="266" href="#266">266</a> <em class="jxr_javadoccomment">     * This is a recommended method as defined by XML signature.</em>
+<a name="267" href="#267">267</a> <em class="jxr_javadoccomment">     */</em>
+<a name="268" href="#268">268</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RSA = XMLSignature.ALGO_ID_SIGNATURE_RSA_SHA1;
+<a name="269" href="#269">269</a> 
+<a name="270" href="#270">270</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String C14N_OMIT_COMMENTS = Canonicalizer.ALGO_ID_C14N_OMIT_COMMENTS;
+<a name="271" href="#271">271</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String C14N_WITH_COMMENTS = Canonicalizer.ALGO_ID_C14N_WITH_COMMENTS;
+<a name="272" href="#272">272</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String C14N_EXCL_OMIT_COMMENTS = Canonicalizer.ALGO_ID_C14N_EXCL_OMIT_COMMENTS;
+<a name="273" href="#273">273</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String C14N_EXCL_WITH_COMMENTS = Canonicalizer.ALGO_ID_C14N_EXCL_WITH_COMMENTS;
+<a name="274" href="#274">274</a> 
+<a name="275" href="#275">275</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="276" href="#276">276</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto) signing}</em>
+<a name="277" href="#277">277</a> <em class="jxr_javadoccomment">     * method to send the signing certificate as a</em>
+<a name="278" href="#278">278</a> <em class="jxr_javadoccomment">     * &lt;code&gt;BinarySecurityToken&lt;/code&gt;.</em>
+<a name="279" href="#279">279</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="280" href="#280">280</a> <em class="jxr_javadoccomment">     * The signing method takes the signing certificate, converts it to a</em>
+<a name="281" href="#281">281</a> <em class="jxr_javadoccomment">     * &lt;code&gt;BinarySecurityToken&lt;/code&gt;, puts it in the security header,</em>
+<a name="282" href="#282">282</a> <em class="jxr_javadoccomment">     * and inserts a &lt;code&gt;Reference&lt;/code&gt; to the binary security token</em>
+<a name="283" href="#283">283</a> <em class="jxr_javadoccomment">     * into the &lt;code&gt;wsse:SecurityReferenceToken&lt;/code&gt;. Thus the whole</em>
+<a name="284" href="#284">284</a> <em class="jxr_javadoccomment">     * signing certificate is transfered to the receiver.</em>
+<a name="285" href="#285">285</a> <em class="jxr_javadoccomment">     * The X509 profile recommends to use {@link #ISSUER_SERIAL} instead</em>
+<a name="286" href="#286">286</a> <em class="jxr_javadoccomment">     * of sending the whole certificate.</em>
+<a name="287" href="#287">287</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="288" href="#288">288</a> <em class="jxr_javadoccomment">     * Please refer to WS Security specification X509 profile, chapter 3.3.2</em>
+<a name="289" href="#289">289</a> <em class="jxr_javadoccomment">     * and to WS Security specification, chapter 7.2</em>
+<a name="290" href="#290">290</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="291" href="#291">291</a> <em class="jxr_javadoccomment">     * Note: only local references to BinarySecurityToken are supported</em>
+<a name="292" href="#292">292</a> <em class="jxr_javadoccomment">     */</em>
+<a name="293" href="#293">293</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> BST_DIRECT_REFERENCE = 1;
+<a name="294" href="#294">294</a> 
+<a name="295" href="#295">295</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="296" href="#296">296</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto) signing}</em>
+<a name="297" href="#297">297</a> <em class="jxr_javadoccomment">     * or the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
+<a name="298" href="#298">298</a> <em class="jxr_javadoccomment">     * method to send the issuer name and the serial number of a</em>
+<a name="299" href="#299">299</a> <em class="jxr_javadoccomment">     * certificate to the receiver.</em>
+<a name="300" href="#300">300</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="301" href="#301">301</a> <em class="jxr_javadoccomment">     * In contrast to {@link #BST_DIRECT_REFERENCE} only the issuer name</em>
+<a name="302" href="#302">302</a> <em class="jxr_javadoccomment">     * and the serial number of the signing certificate are sent to the</em>
+<a name="303" href="#303">303</a> <em class="jxr_javadoccomment">     * receiver. This reduces the amount of data being sent. The encryption</em>
+<a name="304" href="#304">304</a> <em class="jxr_javadoccomment">     * method uses the public key associated with this certificate to encrypt</em>
+<a name="305" href="#305">305</a> <em class="jxr_javadoccomment">     * the symmetric key used to encrypt data.</em>
+<a name="306" href="#306">306</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="307" href="#307">307</a> <em class="jxr_javadoccomment">     * Please refer to WS Security specification X509 profile, chapter 3.3.3</em>
+<a name="308" href="#308">308</a> <em class="jxr_javadoccomment">     */</em>
+<a name="309" href="#309">309</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> ISSUER_SERIAL = 2;
+<a name="310" href="#310">310</a> 
+<a name="311" href="#311">311</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="312" href="#312">312</a> <em class="jxr_javadoccomment">     * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}</em>
+<a name="313" href="#313">313</a> <em class="jxr_javadoccomment">     * method to send the certificate used to encrypt the symmetric key.</em>
+<a name="314" href="#314">314</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="315" href="#315">315</a> <em class="jxr_javadoccomment">     * The encryption method uses the public key associated with this certificate</em>
+<a name="316" href="#316">316</a> <em class="jxr_javadoccomment">     * to encrypr the symmetric key used to encrypt data. The certificate is</em>
+<a name="317" href="#317">317</a> <em class="jxr_javadoccomment">     * converted into a &lt;code&gt;KeyIdentfier&lt;/code&gt; token and sent to the receiver.</em>
+<a name="318" href="#318">318</a> <em class="jxr_javadoccomment">     * Thus the complete certificate data is transfered to receiver.</em>
+<a name="319" href="#319">319</a> <em class="jxr_javadoccomment">     * The X509 profile recommends to use {@link #ISSUER_SERIAL} instead</em>
+<a name="320" href="#320">320</a> <em class="jxr_javadoccomment">     * of sending the whole certificate.</em>
 <a name="321" href="#321">321</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="322" href="#322">322</a> <em class="jxr_javadoccomment">     * Please refer to WS Security specification X509 profile, chapter 7.3</em>
-<a name="323" href="#323">323</a> <em class="jxr_javadoccomment">     */</em>
-<a name="324" href="#324">324</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> X509_KEY_IDENTIFIER = 3;
-<a name="325" href="#325">325</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="326" href="#326">326</a> <em class="jxr_javadoccomment">     * Sets the</em>
-<a name="327" href="#327">327</a> <em class="jxr_javadoccomment">     * {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto)</em>
-<a name="328" href="#328">328</a> <em class="jxr_javadoccomment">     * signing}</em>
-<a name="329" href="#329">329</a> <em class="jxr_javadoccomment">     * method to send a &lt;code&gt;SubjectKeyIdentifier&lt;/code&gt; to identify</em>
-<a name="330" href="#330">330</a> <em class="jxr_javadoccomment">     * the signing certificate.</em>
-<a name="331" href="#331">331</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="332" href="#332">332</a> <em class="jxr_javadoccomment">     * Refer to WS Security specification X509 profile, chapter 3.3.1</em>
-<a name="333" href="#333">333</a> <em class="jxr_javadoccomment">     * This identification token is not yet fully tested by WSS4J. The</em>
-<a name="334" href="#334">334</a> <em class="jxr_javadoccomment">     * WsDoAllSender does not include the X.509 certificate as</em>
-<a name="335" href="#335">335</a> <em class="jxr_javadoccomment">     * &lt;code&gt;BinarySecurityToken&lt;/code&gt; in the request message.</em>
-<a name="336" href="#336">336</a> <em class="jxr_javadoccomment">     */</em>
-<a name="337" href="#337">337</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> SKI_KEY_IDENTIFIER = 4;
-<a name="338" href="#338">338</a> 
-<a name="339" href="#339">339</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="340" href="#340">340</a> <em class="jxr_javadoccomment">     * Embeds a keyinfo/key name into the EncryptedData element.</em>
-<a name="341" href="#341">341</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
-<a name="342" href="#342">342</a> <em class="jxr_javadoccomment">     * Refer to WS Security specification X509 profile</em>
-<a name="343" href="#343">343</a> <em class="jxr_javadoccomment">     */</em>
-<a name="344" href="#344">344</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> EMBEDDED_KEYNAME = 5;
-<a name="345" href="#345">345</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="346" href="#346">346</a> <em class="jxr_javadoccomment">     * Embeds a keyinfo/wsse:SecurityTokenReference into EncryptedData element.</em>
-<a name="347" href="#347">347</a> <em class="jxr_javadoccomment">     */</em>
-<a name="348" href="#348">348</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> EMBED_SECURITY_TOKEN_REF = 6;
-<a name="349" href="#349">349</a>     
-<a name="350" href="#350">350</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="351" href="#351">351</a> <em class="jxr_javadoccomment">     * &lt;code&gt;UT_SIGNING&lt;/code&gt; is used internally only to set a specific Signature</em>
-<a name="352" href="#352">352</a> <em class="jxr_javadoccomment">     * behavior.</em>
-<a name="353" href="#353">353</a> <em class="jxr_javadoccomment">     * </em>
-<a name="354" href="#354">354</a> <em class="jxr_javadoccomment">     * The signing token is constructed from values in the UsernameToken according</em>
-<a name="355" href="#355">355</a> <em class="jxr_javadoccomment">     * to WS-Trust specification.</em>
-<a name="356" href="#356">356</a> <em class="jxr_javadoccomment">     */</em>
-<a name="357" href="#357">357</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> UT_SIGNING = 7;
-<a name="358" href="#358">358</a>     
-<a name="359" href="#359">359</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="360" href="#360">360</a> <em class="jxr_javadoccomment">     * &lt;code&gt;THUMPRINT_IDENTIFIER&lt;/code&gt; is used to set the specific key identifier</em>
-<a name="361" href="#361">361</a> <em class="jxr_javadoccomment">     * ThumbprintSHA1.</em>
-<a name="362" href="#362">362</a> <em class="jxr_javadoccomment">     * </em>
-<a name="363" href="#363">363</a> <em class="jxr_javadoccomment">     * This identifier uses the SHA-1 digest of a security token to</em>
-<a name="364" href="#364">364</a> <em class="jxr_javadoccomment">     * identify the security token. Please refer to chapter 7.2 of the OASIS WSS 1.1</em>
-<a name="365" href="#365">365</a> <em class="jxr_javadoccomment">     * specification.</em>
-<a name="366" href="#366">366</a> <em class="jxr_javadoccomment">     * </em>
-<a name="367" href="#367">367</a> <em class="jxr_javadoccomment">     */</em>
-<a name="368" href="#368">368</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> THUMBPRINT_IDENTIFIER = 8;
-<a name="369" href="#369">369</a>     
-<a name="370" href="#370">370</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="371" href="#371">371</a> <em class="jxr_javadoccomment">     * &lt;code&gt;CUSTOM_SYMM_SIGNING&lt;/code&gt; is used internally only to set a </em>
-<a name="372" href="#372">372</a> <em class="jxr_javadoccomment">     * specific Signature behavior.</em>
-<a name="373" href="#373">373</a> <em class="jxr_javadoccomment">     * </em>
-<a name="374" href="#374">374</a> <em class="jxr_javadoccomment">     * The signing key, reference id and value type are set externally. </em>
-<a name="375" href="#375">375</a> <em class="jxr_javadoccomment">     */</em>
-<a name="376" href="#376">376</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> CUSTOM_SYMM_SIGNING = 9;
-<a name="377" href="#377">377</a>     
-<a name="378" href="#378">378</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="379" href="#379">379</a> <em class="jxr_javadoccomment">     * &lt;code&gt;ENCRYPTED_KEY_SHA1_IDENTIFIER&lt;/code&gt; is used to set the specific key identifier</em>
-<a name="380" href="#380">380</a> <em class="jxr_javadoccomment">     * ThumbprintSHA1.</em>
-<a name="381" href="#381">381</a> <em class="jxr_javadoccomment">     * </em>
-<a name="382" href="#382">382</a> <em class="jxr_javadoccomment">     * This identifier uses the SHA-1 digest of a security token to</em>
-<a name="383" href="#383">383</a> <em class="jxr_javadoccomment">     * identify the security token. Please refer to chapter 7.3 of the OASIS WSS 1.1</em>
-<a name="384" href="#384">384</a> <em class="jxr_javadoccomment">     * specification.</em>
-<a name="385" href="#385">385</a> <em class="jxr_javadoccomment">     * </em>
-<a name="386" href="#386">386</a> <em class="jxr_javadoccomment">     */</em>
-<a name="387" href="#387">387</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> ENCRYPTED_KEY_SHA1_IDENTIFIER = 10;
-<a name="388" href="#388">388</a>     
-<a name="389" href="#389">389</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="390" href="#390">390</a> <em class="jxr_javadoccomment">     * &lt;code&gt;CUSTOM_SYMM_SIGNING_DIRECT&lt;/code&gt; is used internally only to set a </em>
-<a name="391" href="#391">391</a> <em class="jxr_javadoccomment">     * specific Signature behavior.</em>
-<a name="392" href="#392">392</a> <em class="jxr_javadoccomment">     * </em>
-<a name="393" href="#393">393</a> <em class="jxr_javadoccomment">     * The signing key, reference id and value type are set externally. </em>
-<a name="394" href="#394">394</a> <em class="jxr_javadoccomment">     */</em>
-<a name="395" href="#395">395</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> CUSTOM_SYMM_SIGNING_DIRECT = 11;
-<a name="396" href="#396">396</a>     
-<a name="397" href="#397">397</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="398" href="#398">398</a> <em class="jxr_javadoccomment">     * &lt;code&gt;CUSTOM_KEY_IDENTIFIER&lt;/code&gt; is used to set a KeyIdentifier to</em>
-<a name="399" href="#399">399</a> <em class="jxr_javadoccomment">     * a particular ID</em>
-<a name="400" href="#400">400</a> <em class="jxr_javadoccomment">     * </em>
-<a name="401" href="#401">401</a> <em class="jxr_javadoccomment">     * The reference id and value type are set externally. </em>
-<a name="402" href="#402">402</a> <em class="jxr_javadoccomment">     */</em>
-<a name="403" href="#403">403</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> CUSTOM_KEY_IDENTIFIER = 12;
-<a name="404" href="#404">404</a>     
-<a name="405" href="#405">405</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="406" href="#406">406</a> <em class="jxr_javadoccomment">     * &lt;code&gt;KEY_VALUE&lt;/code&gt; is used to set a ds:KeyInfo/ds:KeyValue element to refer to</em>
-<a name="407" href="#407">407</a> <em class="jxr_javadoccomment">     * either an RSA or DSA public key.</em>
-<a name="408" href="#408">408</a> <em class="jxr_javadoccomment">     */</em>
-<a name="409" href="#409">409</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> KEY_VALUE = 13;
-<a name="410" href="#410">410</a>     
-<a name="411" href="#411">411</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENCRYPTED_HEADER = <span class="jxr_string">"EncryptedHeader"</span>;
-<a name="412" href="#412">412</a> 
-<a name="413" href="#413">413</a>     <em class="jxr_comment">/*</em>
-<a name="414" href="#414">414</a> <em class="jxr_comment">     * The following values are bits that can be combined to for a set.</em>
-<a name="415" href="#415">415</a> <em class="jxr_comment">     * Be careful when selecting new values.</em>
-<a name="416" href="#416">416</a> <em class="jxr_comment">     */</em>
-<a name="417" href="#417">417</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> NO_SECURITY = 0;
-<a name="418" href="#418">418</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> UT = 0x1; <em class="jxr_comment">// perform UsernameToken</em>
-<a name="419" href="#419">419</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> SIGN = 0x2; <em class="jxr_comment">// Perform Signature</em>
-<a name="420" href="#420">420</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> ENCR = 0x4; <em class="jxr_comment">// Perform Encryption</em>
-<a name="421" href="#421">421</a> 
-<a name="422" href="#422">422</a>     <em class="jxr_comment">/*</em>
-<a name="423" href="#423">423</a> <em class="jxr_comment">     * Attention: the signed/Unsigned types identify if WSS4J uses</em>
-<a name="424" href="#424">424</a> <em class="jxr_comment">     * the SAML token for signature, signature key or not. It does</em>
-<a name="425" href="#425">425</a> <em class="jxr_comment">     * not mean if the token contains an enveloped signature.</em>
-<a name="426" href="#426">426</a> <em class="jxr_comment">     */</em>
-<a name="427" href="#427">427</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> ST_UNSIGNED = 0x8; <em class="jxr_comment">// perform SAMLToken unsigned</em>
-<a name="428" href="#428">428</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> ST_SIGNED = 0x10; <em class="jxr_comment">// perform SAMLToken signed</em>
-<a name="429" href="#429">429</a> 
-<a name="430" href="#430">430</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> TS = 0x20; <em class="jxr_comment">// insert Timestamp</em>
-<a name="431" href="#431">431</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> UT_SIGN = 0x40; <em class="jxr_comment">// perform signature with UT secret key</em>
-<a name="432" href="#432">432</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> SC = 0x80;      <em class="jxr_comment">// this is a SignatureConfirmation</em>
-<a name="433" href="#433">433</a> 
-<a name="434" href="#434">434</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> NO_SERIALIZE = 0x100;
-<a name="435" href="#435">435</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> SERIALIZE = 0x200;
-<a name="436" href="#436">436</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> SCT = 0x400; <em class="jxr_comment">//SecurityContextToken</em>
-<a name="437" href="#437">437</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DKT = 0x800; <em class="jxr_comment">//DerivedKeyToken</em>
-<a name="438" href="#438">438</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> BST = 0x1000; <em class="jxr_comment">//BinarySecurityToken</em>
-<a name="439" href="#439">439</a> 
-<a name="440" href="#440">440</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="441" href="#441">441</a> <em class="jxr_javadoccomment">     * Length of UsernameToken derived key used by .NET WSE to sign a message.</em>
-<a name="442" href="#442">442</a> <em class="jxr_javadoccomment">     */</em>
-<a name="443" href="#443">443</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> WSE_DERIVED_KEY_LEN = 16;
-<a name="444" href="#444">444</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String LABEL_FOR_DERIVED_KEY = <span class="jxr_string">"WS-Security"</span>;
-<a name="445" href="#445">445</a>     
-<a name="446" href="#446">446</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="447" href="#447">447</a> <em class="jxr_javadoccomment">     * WS-Trust namespace</em>
-<a name="448" href="#448">448</a> <em class="jxr_javadoccomment">     */</em>
-<a name="449" href="#449">449</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String WST_NS = <span class="jxr_string">"http://schemas.xmlsoap.org/ws/2005/02/trust"</span>;
-<a name="450" href="#450">450</a>     
-<a name="451" href="#451">451</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">static</strong> String WSC_SCT = <span class="jxr_string">"http://schemas.xmlsoap.org/ws/2005/02/sc/sct"</span>;
-<a name="452" href="#452">452</a>     
-<a name="453" href="#453">453</a>     <em class="jxr_comment">//</em>
-<a name="454" href="#454">454</a>     <em class="jxr_comment">// Fault codes defined in the WSS 1.1 spec under section 12, Error handling</em>
-<a name="455" href="#455">455</a>     <em class="jxr_comment">//</em>
-<a name="456" href="#456">456</a>     
-<a name="457" href="#457">457</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="458" href="#458">458</a> <em class="jxr_javadoccomment">     * An unsupported token was provided</em>
-<a name="459" href="#459">459</a> <em class="jxr_javadoccomment">     */</em>
-<a name="460" href="#460">460</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> QName UNSUPPORTED_SECURITY_TOKEN = <strong class="jxr_keyword">new</strong> QName(WSSE_NS, <span class="jxr_string">"UnsupportedSecurityToken"</span>);
-<a name="461" href="#461">461</a>     
-<a name="462" href="#462">462</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="463" href="#463">463</a> <em class="jxr_javadoccomment">     * An unsupported signature or encryption algorithm was used</em>
-<a name="464" href="#464">464</a> <em class="jxr_javadoccomment">     */</em>
-<a name="465" href="#465">465</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> QName UNSUPPORTED_ALGORITHM  = <strong class="jxr_keyword">new</strong> QName(WSSE_NS, <span class="jxr_string">"UnsupportedAlgorithm"</span>);
-<a name="466" href="#466">466</a>     
-<a name="467" href="#467">467</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="468" href="#468">468</a> <em class="jxr_javadoccomment">     * An error was discovered processing the &lt;Security&gt; header</em>
-<a name="469" href="#469">469</a> <em class="jxr_javadoccomment">     */</em>
-<a name="470" href="#470">470</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> QName INVALID_SECURITY = <strong class="jxr_keyword">new</strong> QName (WSSE_NS, <span class="jxr_string">"InvalidSecurity"</span>);
-<a name="471" href="#471">471</a>     
-<a name="472" href="#472">472</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="473" href="#473">473</a> <em class="jxr_javadoccomment">     * An invalid security token was provided</em>
-<a name="474" href="#474">474</a> <em class="jxr_javadoccomment">     */</em>
-<a name="475" href="#475">475</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> QName INVALID_SECURITY_TOKEN = <strong class="jxr_keyword">new</strong> QName (WSSE_NS, <span class="jxr_string">"InvalidSecurityToken"</span>);
-<a name="476" href="#476">476</a>     
-<a name="477" href="#477">477</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="478" href="#478">478</a> <em class="jxr_javadoccomment">     * The security token could not be authenticated or authorized</em>
-<a name="479" href="#479">479</a> <em class="jxr_javadoccomment">     */</em>
-<a name="480" href="#480">480</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> QName FAILED_AUTHENTICATION = <strong class="jxr_keyword">new</strong> QName (WSSE_NS, <span class="jxr_string">"FailedAuthentication"</span>);
-<a name="481" href="#481">481</a>     
-<a name="482" href="#482">482</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="483" href="#483">483</a> <em class="jxr_javadoccomment">     * The signature or decryption was invalid</em>
-<a name="484" href="#484">484</a> <em class="jxr_javadoccomment">     */</em>
-<a name="485" href="#485">485</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> QName FAILED_CHECK = <strong class="jxr_keyword">new</strong> QName (WSSE_NS, <span class="jxr_string">"FailedCheck"</span>);
-<a name="486" href="#486">486</a>     
-<a name="487" href="#487">487</a>     <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> </em>
-<a name="488" href="#488">488</a> <em class="jxr_javadoccomment">     * Referenced security token could not be retrieved</em>
-<a name="489" href="#489">489</a> <em class="jxr_javadoccomment">     */</em>
-<a name="490" href="#490">490</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> QName SECURITY_TOKEN_UNAVAILABLE = <strong class="jxr_keyword">new</strong> QName (WSSE_NS, <span class="jxr_string">"SecurityTokenUnavailable"</span>);
-<a name="491" href="#491">491</a>     
-<a name="492" href="#492">492</a>     <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> </em>
-<a name="493" href="#493">493</a> <em class="jxr_javadoccomment">     * The message has expired</em>
-<a name="494" href="#494">494</a> <em class="jxr_javadoccomment">     */</em>
-<a name="495" href="#495">495</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> QName MESSAGE_EXPIRED = <strong class="jxr_keyword">new</strong> QName (WSSE_NS, <span class="jxr_string">"MessageExpired"</span>);
-<a name="496" href="#496">496</a>     
-<a name="497" href="#497">497</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="498" href="#498">498</a> <em class="jxr_javadoccomment">     * Header type in &lt;code&gt;org.apache.ws.security.WSEncryptionPart&lt;/code&gt;</em>
-<a name="499" href="#499">499</a> <em class="jxr_javadoccomment">     */</em>
-<a name="500" href="#500">500</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> PART_TYPE_HEADER = 1;
-<a name="501" href="#501">501</a>     
-<a name="502" href="#502">502</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="503" href="#503">503</a> <em class="jxr_javadoccomment">     * Body type in &lt;code&gt;org.apache.ws.security.WSEncryptionPart&lt;/code&gt;</em>
-<a name="504" href="#504">504</a> <em class="jxr_javadoccomment">     */</em>
-<a name="505" href="#505">505</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> PART_TYPE_BODY = 2;
-<a name="506" href="#506">506</a>     
-<a name="507" href="#507">507</a>     <em class="jxr_javadoccomment">/**</em>
-<a name="508" href="#508">508</a> <em class="jxr_javadoccomment">     * Element type in &lt;code&gt;org.apache.ws.security.WSEncryptionPart&lt;/code&gt;</em>
-<a name="509" href="#509">509</a> <em class="jxr_javadoccomment">     */</em>
-<a name="510" href="#510">510</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> PART_TYPE_ELEMENT = 3;
-<a name="511" href="#511">511</a>     
-<a name="512" href="#512">512</a> }
+<a name="322" href="#322">322</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="323" href="#323">323</a> <em class="jxr_javadoccomment">     * Please refer to WS Security specification X509 profile, chapter 7.3</em>
+<a name="324" href="#324">324</a> <em class="jxr_javadoccomment">     */</em>
+<a name="325" href="#325">325</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> X509_KEY_IDENTIFIER = 3;
+<a name="326" href="#326">326</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="327" href="#327">327</a> <em class="jxr_javadoccomment">     * Sets the</em>
+<a name="328" href="#328">328</a> <em class="jxr_javadoccomment">     * {@link org.apache.ws.security.message.WSSignEnvelope#build(Document, Crypto)</em>
+<a name="329" href="#329">329</a> <em class="jxr_javadoccomment">     * signing}</em>
+<a name="330" href="#330">330</a> <em class="jxr_javadoccomment">     * method to send a &lt;code&gt;SubjectKeyIdentifier&lt;/code&gt; to identify</em>
+<a name="331" href="#331">331</a> <em class="jxr_javadoccomment">     * the signing certificate.</em>
+<a name="332" href="#332">332</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="333" href="#333">333</a> <em class="jxr_javadoccomment">     * Refer to WS Security specification X509 profile, chapter 3.3.1</em>
+<a name="334" href="#334">334</a> <em class="jxr_javadoccomment">     * This identification token is not yet fully tested by WSS4J. The</em>
+<a name="335" href="#335">335</a> <em class="jxr_javadoccomment">     * WsDoAllSender does not include the X.509 certificate as</em>
+<a name="336" href="#336">336</a> <em class="jxr_javadoccomment">     * &lt;code&gt;BinarySecurityToken&lt;/code&gt; in the request message.</em>
+<a name="337" href="#337">337</a> <em class="jxr_javadoccomment">     */</em>
+<a name="338" href="#338">338</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> SKI_KEY_IDENTIFIER = 4;
+<a name="339" href="#339">339</a> 
+<a name="340" href="#340">340</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="341" href="#341">341</a> <em class="jxr_javadoccomment">     * Embeds a keyinfo/key name into the EncryptedData element.</em>
+<a name="342" href="#342">342</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="343" href="#343">343</a> <em class="jxr_javadoccomment">     * Refer to WS Security specification X509 profile</em>
+<a name="344" href="#344">344</a> <em class="jxr_javadoccomment">     */</em>
+<a name="345" href="#345">345</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> EMBEDDED_KEYNAME = 5;
+<a name="346" href="#346">346</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="347" href="#347">347</a> <em class="jxr_javadoccomment">     * Embeds a keyinfo/wsse:SecurityTokenReference into EncryptedData element.</em>
+<a name="348" href="#348">348</a> <em class="jxr_javadoccomment">     */</em>
+<a name="349" href="#349">349</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> EMBED_SECURITY_TOKEN_REF = 6;
+<a name="350" href="#350">350</a>     
+<a name="351" href="#351">351</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="352" href="#352">352</a> <em class="jxr_javadoccomment">     * &lt;code&gt;UT_SIGNING&lt;/code&gt; is used internally only to set a specific Signature</em>
+<a name="353" href="#353">353</a> <em class="jxr_javadoccomment">     * behavior.</em>
+<a name="354" href="#354">354</a> <em class="jxr_javadoccomment">     * </em>
+<a name="355" href="#355">355</a> <em class="jxr_javadoccomment">     * The signing token is constructed from values in the UsernameToken according</em>
+<a name="356" href="#356">356</a> <em class="jxr_javadoccomment">     * to WS-Trust specification.</em>
+<a name="357" href="#357">357</a> <em class="jxr_javadoccomment">     */</em>
+<a name="358" href="#358">358</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> UT_SIGNING = 7;
+<a name="359" href="#359">359</a>     
+<a name="360" href="#360">360</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="361" href="#361">361</a> <em class="jxr_javadoccomment">     * &lt;code&gt;THUMPRINT_IDENTIFIER&lt;/code&gt; is used to set the specific key identifier</em>
+<a name="362" href="#362">362</a> <em class="jxr_javadoccomment">     * ThumbprintSHA1.</em>
+<a name="363" href="#363">363</a> <em class="jxr_javadoccomment">     * </em>
+<a name="364" href="#364">364</a> <em class="jxr_javadoccomment">     * This identifier uses the SHA-1 digest of a security token to</em>
+<a name="365" href="#365">365</a> <em class="jxr_javadoccomment">     * identify the security token. Please refer to chapter 7.2 of the OASIS WSS 1.1</em>
+<a name="366" href="#366">366</a> <em class="jxr_javadoccomment">     * specification.</em>
+<a name="367" href="#367">367</a> <em class="jxr_javadoccomment">     * </em>
+<a name="368" href="#368">368</a> <em class="jxr_javadoccomment">     */</em>
+<a name="369" href="#369">369</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> THUMBPRINT_IDENTIFIER = 8;
+<a name="370" href="#370">370</a>     
+<a name="371" href="#371">371</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="372" href="#372">372</a> <em class="jxr_javadoccomment">     * &lt;code&gt;CUSTOM_SYMM_SIGNING&lt;/code&gt; is used internally only to set a </em>
+<a name="373" href="#373">373</a> <em class="jxr_javadoccomment">     * specific Signature behavior.</em>
+<a name="374" href="#374">374</a> <em class="jxr_javadoccomment">     * </em>
+<a name="375" href="#375">375</a> <em class="jxr_javadoccomment">     * The signing key, reference id and value type are set externally. </em>
+<a name="376" href="#376">376</a> <em class="jxr_javadoccomment">     */</em>
+<a name="377" href="#377">377</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> CUSTOM_SYMM_SIGNING = 9;
+<a name="378" href="#378">378</a>     
+<a name="379" href="#379">379</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="380" href="#380">380</a> <em class="jxr_javadoccomment">     * &lt;code&gt;ENCRYPTED_KEY_SHA1_IDENTIFIER&lt;/code&gt; is used to set the specific key identifier</em>
+<a name="381" href="#381">381</a> <em class="jxr_javadoccomment">     * ThumbprintSHA1.</em>
+<a name="382" href="#382">382</a> <em class="jxr_javadoccomment">     * </em>
+<a name="383" href="#383">383</a> <em class="jxr_javadoccomment">     * This identifier uses the SHA-1 digest of a security token to</em>
+<a name="384" href="#384">384</a> <em class="jxr_javadoccomment">     * identify the security token. Please refer to chapter 7.3 of the OASIS WSS 1.1</em>
+<a name="385" href="#385">385</a> <em class="jxr_javadoccomment">     * specification.</em>
+<a name="386" href="#386">386</a> <em class="jxr_javadoccomment">     * </em>
+<a name="387" href="#387">387</a> <em class="jxr_javadoccomment">     */</em>
+<a name="388" href="#388">388</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> ENCRYPTED_KEY_SHA1_IDENTIFIER = 10;
+<a name="389" href="#389">389</a>     
+<a name="390" href="#390">390</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="391" href="#391">391</a> <em class="jxr_javadoccomment">     * &lt;code&gt;CUSTOM_SYMM_SIGNING_DIRECT&lt;/code&gt; is used internally only to set a </em>
+<a name="392" href="#392">392</a> <em class="jxr_javadoccomment">     * specific Signature behavior.</em>
+<a name="393" href="#393">393</a> <em class="jxr_javadoccomment">     * </em>
+<a name="394" href="#394">394</a> <em class="jxr_javadoccomment">     * The signing key, reference id and value type are set externally. </em>
+<a name="395" href="#395">395</a> <em class="jxr_javadoccomment">     */</em>
+<a name="396" href="#396">396</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> CUSTOM_SYMM_SIGNING_DIRECT = 11;
+<a name="397" href="#397">397</a>     
+<a name="398" href="#398">398</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="399" href="#399">399</a> <em class="jxr_javadoccomment">     * &lt;code&gt;CUSTOM_KEY_IDENTIFIER&lt;/code&gt; is used to set a KeyIdentifier to</em>
+<a name="400" href="#400">400</a> <em class="jxr_javadoccomment">     * a particular ID</em>
+<a name="401" href="#401">401</a> <em class="jxr_javadoccomment">     * </em>
+<a name="402" href="#402">402</a> <em class="jxr_javadoccomment">     * The reference id and value type are set externally. </em>
+<a name="403" href="#403">403</a> <em class="jxr_javadoccomment">     */</em>
+<a name="404" href="#404">404</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> CUSTOM_KEY_IDENTIFIER = 12;
+<a name="405" href="#405">405</a>     
+<a name="406" href="#406">406</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="407" href="#407">407</a> <em class="jxr_javadoccomment">     * &lt;code&gt;KEY_VALUE&lt;/code&gt; is used to set a ds:KeyInfo/ds:KeyValue element to refer to</em>
+<a name="408" href="#408">408</a> <em class="jxr_javadoccomment">     * either an RSA or DSA public key.</em>
+<a name="409" href="#409">409</a> <em class="jxr_javadoccomment">     */</em>
+<a name="410" href="#410">410</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> KEY_VALUE = 13;
+<a name="411" href="#411">411</a>     
+<a name="412" href="#412">412</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ENCRYPTED_HEADER = <span class="jxr_string">"EncryptedHeader"</span>;
+<a name="413" href="#413">413</a> 
+<a name="414" href="#414">414</a>     <em class="jxr_comment">/*</em>
+<a name="415" href="#415">415</a> <em class="jxr_comment">     * The following values are bits that can be combined to for a set.</em>
+<a name="416" href="#416">416</a> <em class="jxr_comment">     * Be careful when selecting new values.</em>
+<a name="417" href="#417">417</a> <em class="jxr_comment">     */</em>
+<a name="418" href="#418">418</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> NO_SECURITY = 0;
+<a name="419" href="#419">419</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> UT = 0x1; <em class="jxr_comment">// perform UsernameToken</em>
+<a name="420" href="#420">420</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> SIGN = 0x2; <em class="jxr_comment">// Perform Signature</em>
+<a name="421" href="#421">421</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> ENCR = 0x4; <em class="jxr_comment">// Perform Encryption</em>
+<a name="422" href="#422">422</a> 
+<a name="423" href="#423">423</a>     <em class="jxr_comment">/*</em>
+<a name="424" href="#424">424</a> <em class="jxr_comment">     * Attention: the signed/Unsigned types identify if WSS4J uses</em>
+<a name="425" href="#425">425</a> <em class="jxr_comment">     * the SAML token for signature, signature key or not. It does</em>
+<a name="426" href="#426">426</a> <em class="jxr_comment">     * not mean if the token contains an enveloped signature.</em>
+<a name="427" href="#427">427</a> <em class="jxr_comment">     */</em>

[... 90 lines stripped ...]


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org