| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_22) on Thu Apr 26 14:22:13 IST 2012 --> |
| <TITLE> |
| TrustUtil (Apache Rampart API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2012-04-26"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="TrustUtil (Apache Rampart API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TrustUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../index.html?org/apache/rahas/TrustUtil.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="TrustUtil.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.rahas</FONT> |
| <BR> |
| Class TrustUtil</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.apache.rahas.TrustUtil</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>TrustUtil</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| <HR> |
| |
| <P> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#TrustUtil()">TrustUtil</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createAppliesToElement(org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">createAppliesToElement</A></B>(org.apache.axiom.om.OMElement parent, |
| java.lang.String address, |
| java.lang.String addressingNs)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createBinarySecretElement(int, org.apache.axiom.om.OMElement, java.lang.String)">createBinarySecretElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String type)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createCancelRequest(java.lang.String, int)">createCancelRequest</A></B>(java.lang.String tokenId, |
| int version)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createCancelTargetElement(int, org.apache.axiom.om.OMElement)">createCancelTargetElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createClaims(int, org.apache.axiom.om.OMElement, java.lang.String)">createClaims</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String dialect)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createComputedKeyAlgorithm(int, org.apache.axiom.om.OMElement, java.lang.String)">createComputedKeyAlgorithm</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String algoId)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createComputedKeyElement(int, org.apache.axiom.om.OMElement)">createComputedKeyElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createEntropyElement(int, org.apache.axiom.om.OMElement)">createEntropyElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createKeySizeElement(int, org.apache.axiom.om.OMElement, int)">createKeySizeElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| int size)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createKeyTypeElement(int, org.apache.axiom.om.OMElement, java.lang.String)">createKeyTypeElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String type)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createLifetimeElement(int, org.apache.axiom.om.OMElement, long)">createLifetimeElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| long ttl)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createLifetimeElement(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">createLifetimeElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String created, |
| java.lang.String expires)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRenewTargetElement(int, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMElement)">createRenewTargetElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| org.apache.axiom.om.OMElement str)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestedAttachedRef(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">createRequestedAttachedRef</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String refUri, |
| java.lang.String refValueType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestedAttachedRef(org.apache.axiom.om.OMElement, java.lang.String, int)">createRequestedAttachedRef</A></B>(org.apache.axiom.om.OMElement rstrElem, |
| java.lang.String id, |
| int version)</CODE> |
| |
| <BR> |
| Create and add wst:AttachedReference element</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestedProofTokenElement(int, org.apache.axiom.om.OMElement)">createRequestedProofTokenElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestedSecurityTokenElement(int, org.apache.axiom.om.OMElement)">createRequestedSecurityTokenElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestedTokenCanceledElement(int, org.apache.axiom.om.OMElement)">createRequestedTokenCanceledElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestedUnattachedRef(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)">createRequestedUnattachedRef</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String refUri, |
| java.lang.String refValueType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestedUnattachedRef(org.apache.axiom.om.OMElement, java.lang.String, int)">createRequestedUnattachedRef</A></B>(org.apache.axiom.om.OMElement rstrElem, |
| java.lang.String id, |
| int version)</CODE> |
| |
| <BR> |
| Create and add wst:UnattachedReference element</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestSecurityTokenElement(int)">createRequestSecurityTokenElement</A></B>(int version)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestSecurityTokenResponseCollectionElement(int, org.apache.axiom.om.OMElement)">createRequestSecurityTokenResponseCollectionElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestSecurityTokenResponseElement(int, org.apache.axiom.om.OMElement)">createRequestSecurityTokenResponseElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createRequestTypeElement(int, org.apache.axiom.om.OMElement, java.lang.String)">createRequestTypeElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String value)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.w3c.dom.Element</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createSecurityTokenReference(org.w3c.dom.Document, java.lang.String, java.lang.String)">createSecurityTokenReference</A></B>(org.w3c.dom.Document doc, |
| java.lang.String refUri, |
| java.lang.String refValueType)</CODE> |
| |
| <BR> |
| Create a wsse:Reference element with the given URI and the value type</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.soap.SOAPEnvelope</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createSOAPEnvelope(java.lang.String)">createSOAPEnvelope</A></B>(java.lang.String nsUri)</CODE> |
| |
| <BR> |
| Create a new <code>SOAPEnvelope</code> of the same version as the |
| SOAPEnvelope in the given <code>MessageContext</code></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createTokenTypeElement(int, org.apache.axiom.om.OMElement)">createTokenTypeElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#createValidateTargetElement(int, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMElement)">createValidateTargetElement</A></B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| org.apache.axiom.om.OMElement str)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected byte[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#generateEphemeralKey(byte[], byte[], java.lang.String, int)">generateEphemeralKey</A></B>(byte[] reqEnt, |
| byte[] respEnt, |
| java.lang.String algo, |
| int keySize)</CODE> |
| |
| <BR> |
| Create an ephemeral key</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected byte[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#generateEphemeralKey(int)">generateEphemeralKey</A></B>(int keySize)</CODE> |
| |
| <BR> |
| Create an ephemeral key</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#getActionValue(int, java.lang.String)">getActionValue</A></B>(int version, |
| java.lang.String action)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../org/apache/rahas/TokenStorage.html" title="interface in org.apache.rahas">TokenStorage</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#getTokenStore(org.apache.axis2.context.ConfigurationContext)">getTokenStore</A></B>(org.apache.axis2.context.ConfigurationContext ctx)</CODE> |
| |
| <BR> |
| Fetches the token storage from the configuration context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../org/apache/rahas/TokenStorage.html" title="interface in org.apache.rahas">TokenStorage</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#getTokenStore(org.apache.axis2.context.MessageContext)">getTokenStore</A></B>(org.apache.axis2.context.MessageContext msgCtx)</CODE> |
| |
| <BR> |
| Returns the token store.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#getWSTNamespace(int)">getWSTNamespace</A></B>(int version)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#getWSTVersion(java.lang.String)">getWSTVersion</A></B>(java.lang.String ns)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.util.Properties</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/rahas/TrustUtil.html#toProperties(org.apache.axiom.om.OMElement)">toProperties</A></B>(org.apache.axiom.om.OMElement cryptoElem)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="TrustUtil()"><!-- --></A><H3> |
| TrustUtil</H3> |
| <PRE> |
| public <B>TrustUtil</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="createSecurityTokenReference(org.w3c.dom.Document, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createSecurityTokenReference</H3> |
| <PRE> |
| public static org.w3c.dom.Element <B>createSecurityTokenReference</B>(org.w3c.dom.Document doc, |
| java.lang.String refUri, |
| java.lang.String refValueType)</PRE> |
| <DL> |
| <DD>Create a wsse:Reference element with the given URI and the value type |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>doc</CODE> - <DD><CODE>refUri</CODE> - <DD><CODE>refValueType</CODE> - |
| <DT><B>Returns:</B><DD>Element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestSecurityTokenResponseElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createRequestSecurityTokenResponseElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestSecurityTokenResponseElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestSecurityTokenResponseCollectionElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createRequestSecurityTokenResponseCollectionElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestSecurityTokenResponseCollectionElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestedSecurityTokenElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createRequestedSecurityTokenElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestedSecurityTokenElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestSecurityTokenElement(int)"><!-- --></A><H3> |
| createRequestSecurityTokenElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestSecurityTokenElement</B>(int version) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestedProofTokenElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createRequestedProofTokenElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestedProofTokenElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createEntropyElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createEntropyElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createEntropyElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createComputedKeyElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createComputedKeyElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createComputedKeyElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestTypeElement(int, org.apache.axiom.om.OMElement, java.lang.String)"><!-- --></A><H3> |
| createRequestTypeElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestTypeElement</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String value) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTokenTypeElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createTokenTypeElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createTokenTypeElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createValidateTargetElement(int, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createValidateTargetElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createValidateTargetElement</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| org.apache.axiom.om.OMElement str) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRenewTargetElement(int, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createRenewTargetElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRenewTargetElement</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| org.apache.axiom.om.OMElement str) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createBinarySecretElement(int, org.apache.axiom.om.OMElement, java.lang.String)"><!-- --></A><H3> |
| createBinarySecretElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createBinarySecretElement</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String type) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createComputedKeyAlgorithm(int, org.apache.axiom.om.OMElement, java.lang.String)"><!-- --></A><H3> |
| createComputedKeyAlgorithm</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createComputedKeyAlgorithm</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String algoId) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestedUnattachedRef(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createRequestedUnattachedRef</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestedUnattachedRef</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String refUri, |
| java.lang.String refValueType) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestedAttachedRef(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createRequestedAttachedRef</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestedAttachedRef</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String refUri, |
| java.lang.String refValueType) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestedAttachedRef(org.apache.axiom.om.OMElement, java.lang.String, int)"><!-- --></A><H3> |
| createRequestedAttachedRef</H3> |
| <PRE> |
| public static void <B>createRequestedAttachedRef</B>(org.apache.axiom.om.OMElement rstrElem, |
| java.lang.String id, |
| int version) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD>Create and add wst:AttachedReference element |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>rstrElem</CODE> - wst:RequestSecurityToken element<DD><CODE>id</CODE> - Token identifier |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestedUnattachedRef(org.apache.axiom.om.OMElement, java.lang.String, int)"><!-- --></A><H3> |
| createRequestedUnattachedRef</H3> |
| <PRE> |
| public static void <B>createRequestedUnattachedRef</B>(org.apache.axiom.om.OMElement rstrElem, |
| java.lang.String id, |
| int version) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD>Create and add wst:UnattachedReference element |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>rstrElem</CODE> - wst:RequestSecurityToken element<DD><CODE>id</CODE> - Token identifier |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createKeySizeElement(int, org.apache.axiom.om.OMElement, int)"><!-- --></A><H3> |
| createKeySizeElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createKeySizeElement</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| int size) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createKeyTypeElement(int, org.apache.axiom.om.OMElement, java.lang.String)"><!-- --></A><H3> |
| createKeyTypeElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createKeyTypeElement</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String type) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createRequestedTokenCanceledElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createRequestedTokenCanceledElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createRequestedTokenCanceledElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createLifetimeElement(int, org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createLifetimeElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createLifetimeElement</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String created, |
| java.lang.String expires) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createLifetimeElement(int, org.apache.axiom.om.OMElement, long)"><!-- --></A><H3> |
| createLifetimeElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createLifetimeElement</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| long ttl) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createAppliesToElement(org.apache.axiom.om.OMElement, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createAppliesToElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createAppliesToElement</B>(org.apache.axiom.om.OMElement parent, |
| java.lang.String address, |
| java.lang.String addressingNs)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getActionValue(int, java.lang.String)"><!-- --></A><H3> |
| getActionValue</H3> |
| <PRE> |
| public static java.lang.String <B>getActionValue</B>(int version, |
| java.lang.String action) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createSOAPEnvelope(java.lang.String)"><!-- --></A><H3> |
| createSOAPEnvelope</H3> |
| <PRE> |
| public static org.apache.axiom.soap.SOAPEnvelope <B>createSOAPEnvelope</B>(java.lang.String nsUri)</PRE> |
| <DL> |
| <DD>Create a new <code>SOAPEnvelope</code> of the same version as the |
| SOAPEnvelope in the given <code>MessageContext</code> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>nsUri</CODE> - |
| <DT><B>Returns:</B><DD>SOAPEnvelope</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getWSTNamespace(int)"><!-- --></A><H3> |
| getWSTNamespace</H3> |
| <PRE> |
| public static java.lang.String <B>getWSTNamespace</B>(int version) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getWSTVersion(java.lang.String)"><!-- --></A><H3> |
| getWSTVersion</H3> |
| <PRE> |
| public static int <B>getWSTVersion</B>(java.lang.String ns) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTokenStore(org.apache.axis2.context.MessageContext)"><!-- --></A><H3> |
| getTokenStore</H3> |
| <PRE> |
| public static <A HREF="../../../org/apache/rahas/TokenStorage.html" title="interface in org.apache.rahas">TokenStorage</A> <B>getTokenStore</B>(org.apache.axis2.context.MessageContext msgCtx)</PRE> |
| <DL> |
| <DD>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 |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>msgCtx</CODE> - |
| <DT><B>Returns:</B><DD>the token store</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTokenStore(org.apache.axis2.context.ConfigurationContext)"><!-- --></A><H3> |
| getTokenStore</H3> |
| <PRE> |
| public static <A HREF="../../../org/apache/rahas/TokenStorage.html" title="interface in org.apache.rahas">TokenStorage</A> <B>getTokenStore</B>(org.apache.axis2.context.ConfigurationContext ctx)</PRE> |
| <DL> |
| <DD>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 |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ctx</CODE> - |
| <DT><B>Returns:</B><DD></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="generateEphemeralKey(int)"><!-- --></A><H3> |
| generateEphemeralKey</H3> |
| <PRE> |
| protected byte[] <B>generateEphemeralKey</B>(int keySize) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD>Create an ephemeral key |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The generated ephemeral key |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="generateEphemeralKey(byte[], byte[], java.lang.String, int)"><!-- --></A><H3> |
| generateEphemeralKey</H3> |
| <PRE> |
| protected byte[] <B>generateEphemeralKey</B>(byte[] reqEnt, |
| byte[] respEnt, |
| java.lang.String algo, |
| int keySize) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD>Create an ephemeral key |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The generated ephemeral key |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createCancelTargetElement(int, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| createCancelTargetElement</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createCancelTargetElement</B>(int version, |
| org.apache.axiom.om.OMElement parent) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createClaims(int, org.apache.axiom.om.OMElement, java.lang.String)"><!-- --></A><H3> |
| createClaims</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createClaims</B>(int version, |
| org.apache.axiom.om.OMElement parent, |
| java.lang.String dialect) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createCancelRequest(java.lang.String, int)"><!-- --></A><H3> |
| createCancelRequest</H3> |
| <PRE> |
| public static org.apache.axiom.om.OMElement <B>createCancelRequest</B>(java.lang.String tokenId, |
| int version) |
| throws <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="toProperties(org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| toProperties</H3> |
| <PRE> |
| public static java.util.Properties <B>toProperties</B>(org.apache.axiom.om.OMElement cryptoElem)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TrustUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../index.html?org/apache/rahas/TrustUtil.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="TrustUtil.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |