blob: 644bff8d6647caee3f36bf32c01489da068e9bb3 [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>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WSS4JUtils (Apache CXF JavaDoc 3.4.5 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="WSS4JUtils (Apache CXF JavaDoc 3.4.5 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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/WSS4JUtils.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 class="aboutLanguage">Apache CXF API</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JTokenConverter.html" title="class in org.apache.cxf.ws.security.wss4j"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/cxf/ws/security/wss4j/WSS4JUtils.html" target="_top">Frames</a></li>
<li><a href="WSS4JUtils.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;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>Constr&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>Constr&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.cxf.ws.security.wss4j</div>
<h2 title="Class WSS4JUtils" class="title">Class WSS4JUtils</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/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.cxf.ws.security.wss4j.WSS4JUtils</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="typeNameLabel">WSS4JUtils</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Some common functionality that can be shared between the WSS4JInInterceptor and the
UsernameTokenInterceptor.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/cxf/binding/soap/SoapFault.html" title="class in org.apache.cxf.binding.soap">SoapFault</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#createSoapFault-org.apache.cxf.binding.soap.SoapMessage-org.apache.cxf.binding.soap.SoapVersion-org.apache.wss4j.common.ext.WSSecurityException-">createSoapFault</a></span>(<a href="../../../../../../org/apache/cxf/binding/soap/SoapMessage.html" title="class in org.apache.cxf.binding.soap">SoapMessage</a>&nbsp;message,
<a href="../../../../../../org/apache/cxf/binding/soap/SoapVersion.html" title="interface in org.apache.cxf.binding.soap">SoapVersion</a>&nbsp;version,
org.apache.wss4j.common.ext.WSSecurityException&nbsp;e)</code>
<div class="block">Create a SoapFault from a WSSecurityException, following the SOAP Message Security
1.1 specification, chapter 12 "Error Handling".</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static org.apache.wss4j.common.crypto.Crypto</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#getEncryptionCrypto-java.lang.Object-org.apache.cxf.binding.soap.SoapMessage-org.apache.wss4j.common.crypto.PasswordEncryptor-">getEncryptionCrypto</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;e,
<a href="../../../../../../org/apache/cxf/binding/soap/SoapMessage.html" title="class in org.apache.cxf.binding.soap">SoapMessage</a>&nbsp;message,
org.apache.wss4j.common.crypto.PasswordEncryptor&nbsp;passwordEncryptor)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static org.apache.wss4j.common.crypto.PasswordEncryptor</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#getPasswordEncryptor-org.apache.cxf.message.Message-">getPasswordEncryptor</a></span>(<a href="../../../../../../org/apache/cxf/message/Message.html" title="interface in org.apache.cxf.message">Message</a>&nbsp;message)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#getProps-java.lang.Object-java.net.URL-">getProps</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;propsURL)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static org.apache.wss4j.common.cache.ReplayCache</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#getReplayCache-org.apache.cxf.binding.soap.SoapMessage-java.lang.String-java.lang.String-">getReplayCache</a></span>(<a href="../../../../../../org/apache/cxf/binding/soap/SoapMessage.html" title="class in org.apache.cxf.binding.soap">SoapMessage</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;booleanKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;instanceKey)</code>
<div class="block">Get a ReplayCache instance.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#getReqSigCert-java.util.List-">getReqSigCert</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.wss4j.dom.handler.WSHandlerResult&gt;&nbsp;results)</code>
<div class="block">Get the certificate that was used to sign the request</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#getSecurityTokenLifetime-org.apache.cxf.message.Message-">getSecurityTokenLifetime</a></span>(<a href="../../../../../../org/apache/cxf/message/Message.html" title="interface in org.apache.cxf.message">Message</a>&nbsp;message)</code>
<div class="block">Get the security token lifetime value (in milliseconds).</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static org.apache.wss4j.common.crypto.Crypto</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#getSignatureCrypto-java.lang.Object-org.apache.cxf.binding.soap.SoapMessage-org.apache.wss4j.common.crypto.PasswordEncryptor-">getSignatureCrypto</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;s,
<a href="../../../../../../org/apache/cxf/binding/soap/SoapMessage.html" title="class in org.apache.cxf.binding.soap">SoapMessage</a>&nbsp;message,
org.apache.wss4j.common.crypto.PasswordEncryptor&nbsp;passwordEncryptor)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static org.apache.wss4j.common.crypto.Crypto</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#loadCryptoFromPropertiesFile-org.apache.cxf.message.Message-java.lang.String-java.lang.ClassLoader-org.apache.wss4j.common.crypto.PasswordEncryptor-">loadCryptoFromPropertiesFile</a></span>(<a href="../../../../../../org/apache/cxf/message/Message.html" title="interface in org.apache.cxf.message">Message</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propFilename,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
org.apache.wss4j.common.crypto.PasswordEncryptor&nbsp;passwordEncryptor)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JUtils.html#parseAndStoreStreamingSecurityToken-org.apache.xml.security.stax.securityToken.SecurityToken-org.apache.cxf.message.Message-">parseAndStoreStreamingSecurityToken</a></span>(org.apache.xml.security.stax.securityToken.SecurityToken&nbsp;securityToken,
<a href="../../../../../../org/apache/cxf/message/Message.html" title="interface in org.apache.cxf.message">Message</a>&nbsp;message)</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="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/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">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getSecurityTokenLifetime-org.apache.cxf.message.Message-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSecurityTokenLifetime</h4>
<pre>public static&nbsp;long&nbsp;getSecurityTokenLifetime(<a href="../../../../../../org/apache/cxf/message/Message.html" title="interface in org.apache.cxf.message">Message</a>&nbsp;message)</pre>
<div class="block">Get the security token lifetime value (in milliseconds). The default is "300000" (5 minutes).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the security token lifetime value in milliseconds</dd>
</dl>
</li>
</ul>
<a name="getReplayCache-org.apache.cxf.binding.soap.SoapMessage-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReplayCache</h4>
<pre>public static&nbsp;org.apache.wss4j.common.cache.ReplayCache&nbsp;getReplayCache(<a href="../../../../../../org/apache/cxf/binding/soap/SoapMessage.html" title="class in org.apache.cxf.binding.soap">SoapMessage</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;booleanKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;instanceKey)
throws org.apache.wss4j.common.ext.WSSecurityException</pre>
<div class="block">Get a ReplayCache instance. It first checks to see whether caching has been explicitly
enabled or disabled via the booleanKey argument. If it has been set to false then no
replay caching is done (for this booleanKey). If it has not been specified, then caching
is enabled only if we are not the initiator of the exchange. If it has been specified, then
caching is enabled.
It tries to get an instance of ReplayCache via the instanceKey argument from a
contextual property, and failing that the message exchange. If it can't find any, then it
defaults to using an EH-Cache instance and stores that on the message exchange.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.wss4j.common.ext.WSSecurityException</code></dd>
</dl>
</li>
</ul>
<a name="parseAndStoreStreamingSecurityToken-org.apache.xml.security.stax.securityToken.SecurityToken-org.apache.cxf.message.Message-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseAndStoreStreamingSecurityToken</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;parseAndStoreStreamingSecurityToken(org.apache.xml.security.stax.securityToken.SecurityToken&nbsp;securityToken,
<a href="../../../../../../org/apache/cxf/message/Message.html" title="interface in org.apache.cxf.message">Message</a>&nbsp;message)
throws org.apache.xml.security.exceptions.XMLSecurityException,
<a href="../../../../../../org/apache/cxf/ws/security/tokenstore/TokenStoreException.html" title="class in org.apache.cxf.ws.security.tokenstore">TokenStoreException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.xml.security.exceptions.XMLSecurityException</code></dd>
<dd><code><a href="../../../../../../org/apache/cxf/ws/security/tokenstore/TokenStoreException.html" title="class in org.apache.cxf.ws.security.tokenstore">TokenStoreException</a></code></dd>
</dl>
</li>
</ul>
<a name="createSoapFault-org.apache.cxf.binding.soap.SoapMessage-org.apache.cxf.binding.soap.SoapVersion-org.apache.wss4j.common.ext.WSSecurityException-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSoapFault</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/cxf/binding/soap/SoapFault.html" title="class in org.apache.cxf.binding.soap">SoapFault</a>&nbsp;createSoapFault(<a href="../../../../../../org/apache/cxf/binding/soap/SoapMessage.html" title="class in org.apache.cxf.binding.soap">SoapMessage</a>&nbsp;message,
<a href="../../../../../../org/apache/cxf/binding/soap/SoapVersion.html" title="interface in org.apache.cxf.binding.soap">SoapVersion</a>&nbsp;version,
org.apache.wss4j.common.ext.WSSecurityException&nbsp;e)</pre>
<div class="block">Create a SoapFault from a WSSecurityException, following the SOAP Message Security
1.1 specification, chapter 12 "Error Handling".
When the Soap version is 1.1 then set the Fault/Code/Value from the fault code
specified in the WSSecurityException (if it exists).
Otherwise set the Fault/Code/Value to env:Sender and the Fault/Code/Subcode/Value
as the fault code from the WSSecurityException.</div>
</li>
</ul>
<a name="getProps-java.lang.Object-java.net.URL-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProps</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;getProps(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;propsURL)</pre>
</li>
</ul>
<a name="getPasswordEncryptor-org.apache.cxf.message.Message-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPasswordEncryptor</h4>
<pre>public static&nbsp;org.apache.wss4j.common.crypto.PasswordEncryptor&nbsp;getPasswordEncryptor(<a href="../../../../../../org/apache/cxf/message/Message.html" title="interface in org.apache.cxf.message">Message</a>&nbsp;message)</pre>
</li>
</ul>
<a name="loadCryptoFromPropertiesFile-org.apache.cxf.message.Message-java.lang.String-java.lang.ClassLoader-org.apache.wss4j.common.crypto.PasswordEncryptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadCryptoFromPropertiesFile</h4>
<pre>public static&nbsp;org.apache.wss4j.common.crypto.Crypto&nbsp;loadCryptoFromPropertiesFile(<a href="../../../../../../org/apache/cxf/message/Message.html" title="interface in org.apache.cxf.message">Message</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propFilename,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
org.apache.wss4j.common.crypto.PasswordEncryptor&nbsp;passwordEncryptor)
throws org.apache.wss4j.common.ext.WSSecurityException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.wss4j.common.ext.WSSecurityException</code></dd>
</dl>
</li>
</ul>
<a name="getEncryptionCrypto-java.lang.Object-org.apache.cxf.binding.soap.SoapMessage-org.apache.wss4j.common.crypto.PasswordEncryptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncryptionCrypto</h4>
<pre>public static&nbsp;org.apache.wss4j.common.crypto.Crypto&nbsp;getEncryptionCrypto(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;e,
<a href="../../../../../../org/apache/cxf/binding/soap/SoapMessage.html" title="class in org.apache.cxf.binding.soap">SoapMessage</a>&nbsp;message,
org.apache.wss4j.common.crypto.PasswordEncryptor&nbsp;passwordEncryptor)
throws org.apache.wss4j.common.ext.WSSecurityException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.wss4j.common.ext.WSSecurityException</code></dd>
</dl>
</li>
</ul>
<a name="getSignatureCrypto-java.lang.Object-org.apache.cxf.binding.soap.SoapMessage-org.apache.wss4j.common.crypto.PasswordEncryptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSignatureCrypto</h4>
<pre>public static&nbsp;org.apache.wss4j.common.crypto.Crypto&nbsp;getSignatureCrypto(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;s,
<a href="../../../../../../org/apache/cxf/binding/soap/SoapMessage.html" title="class in org.apache.cxf.binding.soap">SoapMessage</a>&nbsp;message,
org.apache.wss4j.common.crypto.PasswordEncryptor&nbsp;passwordEncryptor)
throws org.apache.wss4j.common.ext.WSSecurityException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.wss4j.common.ext.WSSecurityException</code></dd>
</dl>
</li>
</ul>
<a name="getReqSigCert-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getReqSigCert</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a>&nbsp;getReqSigCert(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.wss4j.dom.handler.WSHandlerResult&gt;&nbsp;results)</pre>
<div class="block">Get the certificate that was used to sign the request</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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/WSS4JUtils.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 class="aboutLanguage">Apache CXF API</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/cxf/ws/security/wss4j/WSS4JTokenConverter.html" title="class in org.apache.cxf.ws.security.wss4j"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/cxf/ws/security/wss4j/WSS4JUtils.html" target="_top">Frames</a></li>
<li><a href="WSS4JUtils.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;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>Constr&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>Constr&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>Apache CXF</small></p>
</body>
</html>