blob: 6b716593d83ba70201396e71cb72cc6e05e55c1a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>TrustUtil (Apache Rampart)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="TrustUtil (Apache Rampart)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/TrustUtil.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/rahas/TrustUtil.html" target="_top">Frames</a></li>
<li><a href="TrustUtil.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.rahas</div>
<h2 title="Class TrustUtil" class="title">Class TrustUtil</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.rahas.TrustUtil</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">TrustUtil</span>
extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#TrustUtil()">TrustUtil</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createAppliesToElement(org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">createAppliesToElement</a></strong>(org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;address,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;addressingNs)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createBinarySecretElement(int, org.apache.axiom.om.OMElement, java.lang.String)">createBinarySecretElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;type)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createCancelRequest(java.lang.String, int)">createCancelRequest</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tokenId,
int&nbsp;version)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createCancelTargetElement(int, org.apache.axiom.om.OMElement)">createCancelTargetElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createClaims(int, org.apache.axiom.om.OMElement, java.lang.String)">createClaims</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dialect)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createComputedKeyAlgorithm(int, org.apache.axiom.om.OMElement, java.lang.String)">createComputedKeyAlgorithm</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;algoId)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createComputedKeyElement(int, org.apache.axiom.om.OMElement)">createComputedKeyElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createEntropyElement(int, org.apache.axiom.om.OMElement)">createEntropyElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createKeySizeElement(int, org.apache.axiom.om.OMElement, int)">createKeySizeElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
int&nbsp;size)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createKeyTypeElement(int, org.apache.axiom.om.OMElement, java.lang.String)">createKeyTypeElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;type)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createLifetimeElement(int, org.apache.axiom.om.OMElement, long)">createLifetimeElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
long&nbsp;ttl)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createLifetimeElement(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">createLifetimeElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;created,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;expires)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRenewTargetElement(int, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMElement)">createRenewTargetElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
org.apache.axiom.om.OMElement&nbsp;str)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestedAttachedRef(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">createRequestedAttachedRef</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refUri,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refValueType)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestedAttachedRef(org.apache.axiom.om.OMElement, java.lang.String, int)">createRequestedAttachedRef</a></strong>(org.apache.axiom.om.OMElement&nbsp;rstrElem,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
int&nbsp;version)</code>
<div class="block">Create and add wst:AttachedReference element</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestedProofTokenElement(int, org.apache.axiom.om.OMElement)">createRequestedProofTokenElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestedSecurityTokenElement(int, org.apache.axiom.om.OMElement)">createRequestedSecurityTokenElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestedTokenCanceledElement(int, org.apache.axiom.om.OMElement)">createRequestedTokenCanceledElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestedUnattachedRef(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">createRequestedUnattachedRef</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refUri,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refValueType)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestedUnattachedRef(org.apache.axiom.om.OMElement, java.lang.String, int)">createRequestedUnattachedRef</a></strong>(org.apache.axiom.om.OMElement&nbsp;rstrElem,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
int&nbsp;version)</code>
<div class="block">Create and add wst:UnattachedReference element</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestSecurityTokenElement(int)">createRequestSecurityTokenElement</a></strong>(int&nbsp;version)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestSecurityTokenResponseCollectionElement(int, org.apache.axiom.om.OMElement)">createRequestSecurityTokenResponseCollectionElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestSecurityTokenResponseElement(int, org.apache.axiom.om.OMElement)">createRequestSecurityTokenResponseElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createRequestTypeElement(int, org.apache.axiom.om.OMElement, java.lang.String)">createRequestTypeElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createSecurityTokenReference(org.w3c.dom.Document, java.lang.String, java.lang.String)">createSecurityTokenReference</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a>&nbsp;doc,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refUri,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refValueType)</code>
<div class="block">Create a wsse:Reference element with the given URI and the value type</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.soap.SOAPEnvelope</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createSOAPEnvelope(java.lang.String)">createSOAPEnvelope</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nsUri)</code>
<div class="block">Create a new <code>SOAPEnvelope</code> of the same version as the
SOAPEnvelope in the given <code>MessageContext</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createTokenTypeElement(int, org.apache.axiom.om.OMElement)">createTokenTypeElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.apache.axiom.om.OMElement</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#createValidateTargetElement(int, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMElement)">createValidateTargetElement</a></strong>(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
org.apache.axiom.om.OMElement&nbsp;str)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#generateEphemeralKey(byte[], byte[], java.lang.String, int)">generateEphemeralKey</a></strong>(byte[]&nbsp;reqEnt,
byte[]&nbsp;respEnt,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;algo,
int&nbsp;keySize)</code>
<div class="block">Create an ephemeral key</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#generateEphemeralKey(int)">generateEphemeralKey</a></strong>(int&nbsp;keySize)</code>
<div class="block">Create an ephemeral key</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#getActionValue(int, java.lang.String)">getActionValue</a></strong>(int&nbsp;version,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;action)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/rahas/TokenStorage.html" title="interface in org.apache.rahas">TokenStorage</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#getTokenStore(org.apache.axis2.context.ConfigurationContext)">getTokenStore</a></strong>(org.apache.axis2.context.ConfigurationContext&nbsp;ctx)</code>
<div class="block">Fetches the token storage from the configuration context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/rahas/TokenStorage.html" title="interface in org.apache.rahas">TokenStorage</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#getTokenStore(org.apache.axis2.context.MessageContext)">getTokenStore</a></strong>(org.apache.axis2.context.MessageContext&nbsp;msgCtx)</code>
<div class="block">Returns the token store.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#getWSTNamespace(int)">getWSTNamespace</a></strong>(int&nbsp;version)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#getWSTVersion(java.lang.String)">getWSTVersion</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ns)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/rahas/TrustUtil.html#toProperties(org.apache.axiom.om.OMElement)">toProperties</a></strong>(org.apache.axiom.om.OMElement&nbsp;cryptoElem)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="TrustUtil()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TrustUtil</h4>
<pre>public&nbsp;TrustUtil()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createSecurityTokenReference(org.w3c.dom.Document, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSecurityTokenReference</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a>&nbsp;createSecurityTokenReference(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a>&nbsp;doc,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refUri,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refValueType)</pre>
<div class="block">Create a wsse:Reference element with the given URI and the value type</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>doc</code> - </dd><dd><code>refUri</code> - </dd><dd><code>refValueType</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>Element</dd></dl>
</li>
</ul>
<a name="createRequestSecurityTokenResponseElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestSecurityTokenResponseElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestSecurityTokenResponseElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestSecurityTokenResponseCollectionElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestSecurityTokenResponseCollectionElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestSecurityTokenResponseCollectionElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestedSecurityTokenElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestedSecurityTokenElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestedSecurityTokenElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestSecurityTokenElement(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestSecurityTokenElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestSecurityTokenElement(int&nbsp;version)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestedProofTokenElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestedProofTokenElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestedProofTokenElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createEntropyElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEntropyElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createEntropyElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createComputedKeyElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createComputedKeyElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createComputedKeyElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestTypeElement(int, org.apache.axiom.om.OMElement, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestTypeElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestTypeElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createTokenTypeElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTokenTypeElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createTokenTypeElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createValidateTargetElement(int, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createValidateTargetElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createValidateTargetElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
org.apache.axiom.om.OMElement&nbsp;str)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRenewTargetElement(int, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRenewTargetElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRenewTargetElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
org.apache.axiom.om.OMElement&nbsp;str)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createBinarySecretElement(int, org.apache.axiom.om.OMElement, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBinarySecretElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createBinarySecretElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;type)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createComputedKeyAlgorithm(int, org.apache.axiom.om.OMElement, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createComputedKeyAlgorithm</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createComputedKeyAlgorithm(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;algoId)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestedUnattachedRef(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestedUnattachedRef</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestedUnattachedRef(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refUri,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refValueType)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestedAttachedRef(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestedAttachedRef</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestedAttachedRef(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refUri,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refValueType)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestedAttachedRef(org.apache.axiom.om.OMElement, java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestedAttachedRef</h4>
<pre>public static&nbsp;void&nbsp;createRequestedAttachedRef(org.apache.axiom.om.OMElement&nbsp;rstrElem,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
int&nbsp;version)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<div class="block">Create and add wst:AttachedReference element</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rstrElem</code> - wst:RequestSecurityToken element</dd><dd><code>id</code> - Token identifier</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestedUnattachedRef(org.apache.axiom.om.OMElement, java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestedUnattachedRef</h4>
<pre>public static&nbsp;void&nbsp;createRequestedUnattachedRef(org.apache.axiom.om.OMElement&nbsp;rstrElem,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
int&nbsp;version)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<div class="block">Create and add wst:UnattachedReference element</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rstrElem</code> - wst:RequestSecurityToken element</dd><dd><code>id</code> - Token identifier</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createKeySizeElement(int, org.apache.axiom.om.OMElement, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createKeySizeElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createKeySizeElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
int&nbsp;size)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createKeyTypeElement(int, org.apache.axiom.om.OMElement, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createKeyTypeElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createKeyTypeElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;type)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createRequestedTokenCanceledElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestedTokenCanceledElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createRequestedTokenCanceledElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createLifetimeElement(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLifetimeElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createLifetimeElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;created,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;expires)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createLifetimeElement(int, org.apache.axiom.om.OMElement, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLifetimeElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createLifetimeElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
long&nbsp;ttl)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createAppliesToElement(org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAppliesToElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createAppliesToElement(org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;address,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;addressingNs)</pre>
</li>
</ul>
<a name="getActionValue(int, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActionValue</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getActionValue(int&nbsp;version,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;action)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createSOAPEnvelope(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSOAPEnvelope</h4>
<pre>public static&nbsp;org.apache.axiom.soap.SOAPEnvelope&nbsp;createSOAPEnvelope(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nsUri)</pre>
<div class="block">Create a new <code>SOAPEnvelope</code> of the same version as the
SOAPEnvelope in the given <code>MessageContext</code></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nsUri</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>SOAPEnvelope</dd></dl>
</li>
</ul>
<a name="getWSTNamespace(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWSTNamespace</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getWSTNamespace(int&nbsp;version)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="getWSTVersion(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWSTVersion</h4>
<pre>public static&nbsp;int&nbsp;getWSTVersion(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ns)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="getTokenStore(org.apache.axis2.context.MessageContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTokenStore</h4>
<pre>public static&nbsp;<a href="../../../org/apache/rahas/TokenStorage.html" title="interface in org.apache.rahas">TokenStorage</a>&nbsp;getTokenStore(org.apache.axis2.context.MessageContext&nbsp;msgCtx)</pre>
<div class="block">Returns the token store.
If the token store is already available in the configuration context then
fetch it and return it. If not create a new one, hook it up in the
configuration context and return it</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>msgCtx</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>the token store</dd></dl>
</li>
</ul>
<a name="getTokenStore(org.apache.axis2.context.ConfigurationContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTokenStore</h4>
<pre>public static&nbsp;<a href="../../../org/apache/rahas/TokenStorage.html" title="interface in org.apache.rahas">TokenStorage</a>&nbsp;getTokenStore(org.apache.axis2.context.ConfigurationContext&nbsp;ctx)</pre>
<div class="block">Fetches the token storage from the configuration context.
If the token store is already available in the configuration context then
fetch it and return it. If not create a new one, hook it up in the
configuration context and return it</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ctx</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
</li>
</ul>
<a name="generateEphemeralKey(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateEphemeralKey</h4>
<pre>protected&nbsp;byte[]&nbsp;generateEphemeralKey(int&nbsp;keySize)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<div class="block">Create an ephemeral key</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The generated ephemeral key</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="generateEphemeralKey(byte[], byte[], java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateEphemeralKey</h4>
<pre>protected&nbsp;byte[]&nbsp;generateEphemeralKey(byte[]&nbsp;reqEnt,
byte[]&nbsp;respEnt,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;algo,
int&nbsp;keySize)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<div class="block">Create an ephemeral key</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The generated ephemeral key</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createCancelTargetElement(int, org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCancelTargetElement</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createCancelTargetElement(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createClaims(int, org.apache.axiom.om.OMElement, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createClaims</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createClaims(int&nbsp;version,
org.apache.axiom.om.OMElement&nbsp;parent,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dialect)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="createCancelRequest(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCancelRequest</h4>
<pre>public static&nbsp;org.apache.axiom.om.OMElement&nbsp;createCancelRequest(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tokenId,
int&nbsp;version)
throws <a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl>
</li>
</ul>
<a name="toProperties(org.apache.axiom.om.OMElement)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toProperties</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;toProperties(org.apache.axiom.om.OMElement&nbsp;cryptoElem)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/TrustUtil.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/rahas/TrustUtil.html" target="_top">Frames</a></li>
<li><a href="TrustUtil.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>