| <!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 (1.8.0_191) on Sat Mar 16 10:16:35 CET 2019 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>SSLContextFactoryBean (Apache MINA 1.1.4 API Documentation)</title> |
| <meta name="date" content="2019-03-16"> |
| <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="SSLContextFactoryBean (Apache MINA 1.1.4 API Documentation)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance 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/SSLContextFactoryBean.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/mina/integration/spring/ssl/KeyStoreFactoryBean.html" title="class in org.apache.mina.integration.spring.ssl"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html" target="_top">Frames</a></li> |
| <li><a href="SSLContextFactoryBean.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: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.springframework.beans.factory.config.AbstractFactoryBean">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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.mina.integration.spring.ssl</div> |
| <h2 title="Class SSLContextFactoryBean" class="title">Class SSLContextFactoryBean</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.springframework.beans.factory.config.AbstractFactoryBean</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.mina.integration.spring.ssl.SSLContextFactoryBean</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean</dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">SSLContextFactoryBean</span> |
| extends org.springframework.beans.factory.config.AbstractFactoryBean</pre> |
| <div class="block">Spring <code>FactoryBean</code> implementation |
| which makes it possible to configure <code>SSLContext</code> |
| instances using Spring. |
| <p> |
| If no properties are set the returned <code>SSLContext</code> will |
| be equivalent to what the following creates: |
| <pre> |
| SSLContext c = SSLContext.getInstance( "TLS" ); |
| c.init( null, null, null ); |
| </pre> |
| </p> |
| <p> |
| Use the properties prefixed with <code>keyManagerFactory</code> to control |
| the creation of the <code>KeyManager</code> to be used. |
| </p> |
| <p> |
| Use the properties prefixed with <code>trustManagerFactory</code> to control |
| the creation of the <code>TrustManagerFactory</code> to be used. |
| </p></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Version:</span></dt> |
| <dd>$Rev: 555855 $, $Date: 2007-07-13 05:19:00 +0200 (Fri, 13 Jul 2007) $</dd> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>The Apache Directory Project (mina-dev@directory.apache.org)</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.springframework.beans.factory.config.AbstractFactoryBean"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean</h3> |
| <code>logger</code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#SSLContextFactoryBean--">SSLContextFactoryBean</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== 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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>protected java.lang.Object</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#createInstance--">createInstance</a></span>()</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Class</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#getObjectType--">getObjectType</a></span>()</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactory-javax.net.ssl.KeyManagerFactory-">setKeyManagerFactory</a></span>(javax.net.ssl.KeyManagerFactory factory)</code> |
| <div class="block">Sets the <code>KeyManagerFactory</code> to use.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactoryAlgorithm-java.lang.String-">setKeyManagerFactoryAlgorithm</a></span>(java.lang.String algorithm)</code> |
| <div class="block">Sets the algorithm to use when creating the <code>KeyManagerFactory</code> |
| using <code>KeyManagerFactory.getInstance(java.lang.String)</code> or |
| <code>KeyManagerFactory.getInstance(java.lang.String, java.lang.String)</code>.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactoryAlgorithmUseDefault-boolean-">setKeyManagerFactoryAlgorithmUseDefault</a></span>(boolean useDefault)</code> |
| <div class="block">If this is set to <code>true</code> while no <code>KeyManagerFactory</code> |
| has been set using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactory-javax.net.ssl.KeyManagerFactory-"><code>setKeyManagerFactory(KeyManagerFactory)</code></a> and |
| no algorithm has been set using |
| <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactoryAlgorithm-java.lang.String-"><code>setKeyManagerFactoryAlgorithm(String)</code></a> the default algorithm |
| return by <code>KeyManagerFactory.getDefaultAlgorithm()</code> will be used.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactoryKeyStore-java.security.KeyStore-">setKeyManagerFactoryKeyStore</a></span>(java.security.KeyStore keyStore)</code> |
| <div class="block">Sets the <code>KeyStore</code> which will be used in the call to |
| <code>KeyManagerFactory.init(java.security.KeyStore, char[])</code> when |
| the <code>SSLContext</code> is created.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactoryKeyStorePassword-java.lang.String-">setKeyManagerFactoryKeyStorePassword</a></span>(java.lang.String password)</code> |
| <div class="block">Sets the password which will be used in the call to |
| <code>KeyManagerFactory.init(java.security.KeyStore, char[])</code> when |
| the <code>SSLContext</code> is created.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactoryProvider-java.lang.String-">setKeyManagerFactoryProvider</a></span>(java.lang.String provider)</code> |
| <div class="block">Sets the provider to use when creating the <code>KeyManagerFactory</code> |
| using |
| <code>KeyManagerFactory.getInstance(java.lang.String, java.lang.String)</code>.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setProtocol-java.lang.String-">setProtocol</a></span>(java.lang.String protocol)</code> |
| <div class="block">Sets the protocol to use when creating the <code>SSLContext</code>.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setSecureRandom-java.security.SecureRandom-">setSecureRandom</a></span>(java.security.SecureRandom secureRandom)</code> |
| <div class="block">Sets the <code>SecureRandom</code> to use when initializing the |
| <code>SSLContext</code>.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactory-javax.net.ssl.TrustManagerFactory-">setTrustManagerFactory</a></span>(javax.net.ssl.TrustManagerFactory factory)</code> |
| <div class="block">Sets the <code>TrustManagerFactory</code> to use.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryAlgorithm-java.lang.String-">setTrustManagerFactoryAlgorithm</a></span>(java.lang.String algorithm)</code> |
| <div class="block">Sets the algorithm to use when creating the <code>TrustManagerFactory</code> |
| using <code>TrustManagerFactory.getInstance(java.lang.String)</code> or |
| <code>TrustManagerFactory.getInstance(java.lang.String, java.lang.String)</code>.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryAlgorithmUseDefault-boolean-">setTrustManagerFactoryAlgorithmUseDefault</a></span>(boolean useDefault)</code> |
| <div class="block">If this is set to <code>true</code> while no <code>TrustManagerFactory</code> |
| has been set using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactory-javax.net.ssl.TrustManagerFactory-"><code>setTrustManagerFactory(TrustManagerFactory)</code></a> and |
| no algorithm has been set using |
| <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryAlgorithm-java.lang.String-"><code>setTrustManagerFactoryAlgorithm(String)</code></a> the default algorithm |
| return by <code>TrustManagerFactory.getDefaultAlgorithm()</code> will be used.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryKeyStore-java.security.KeyStore-">setTrustManagerFactoryKeyStore</a></span>(java.security.KeyStore keyStore)</code> |
| <div class="block">Sets the <code>KeyStore</code> which will be used in the call to |
| <code>TrustManagerFactory.init(java.security.KeyStore)</code> when |
| the <code>SSLContext</code> is created.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryParameters-javax.net.ssl.ManagerFactoryParameters-">setTrustManagerFactoryParameters</a></span>(javax.net.ssl.ManagerFactoryParameters parameters)</code> |
| <div class="block">Sets the <code>ManagerFactoryParameters</code> which will be used in the call to |
| <code>TrustManagerFactory.init(javax.net.ssl.ManagerFactoryParameters)</code> when |
| the <code>SSLContext</code> is created.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryProvider-java.lang.String-">setTrustManagerFactoryProvider</a></span>(java.lang.String provider)</code> |
| <div class="block">Sets the provider to use when creating the <code>TrustManagerFactory</code> |
| using |
| <code>TrustManagerFactory.getInstance(java.lang.String, java.lang.String)</code>.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.springframework.beans.factory.config.AbstractFactoryBean"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean</h3> |
| <code>afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanFactory, setSingleton</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="SSLContextFactoryBean--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SSLContextFactoryBean</h4> |
| <pre>public SSLContextFactoryBean()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="createInstance--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createInstance</h4> |
| <pre>protected java.lang.Object createInstance() |
| throws java.lang.Exception</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>createInstance</code> in class <code>org.springframework.beans.factory.config.AbstractFactoryBean</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getObjectType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getObjectType</h4> |
| <pre>public java.lang.Class getObjectType()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>getObjectType</code> in interface <code>org.springframework.beans.factory.FactoryBean</code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>getObjectType</code> in class <code>org.springframework.beans.factory.config.AbstractFactoryBean</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setProtocol-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setProtocol</h4> |
| <pre>public void setProtocol(java.lang.String protocol)</pre> |
| <div class="block">Sets the protocol to use when creating the <code>SSLContext</code>. The |
| default is <code>TLS</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>protocol</code> - the name of the protocol.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - if the specified value is |
| <code>null</code>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setKeyManagerFactoryAlgorithmUseDefault-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setKeyManagerFactoryAlgorithmUseDefault</h4> |
| <pre>public void setKeyManagerFactoryAlgorithmUseDefault(boolean useDefault)</pre> |
| <div class="block">If this is set to <code>true</code> while no <code>KeyManagerFactory</code> |
| has been set using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactory-javax.net.ssl.KeyManagerFactory-"><code>setKeyManagerFactory(KeyManagerFactory)</code></a> and |
| no algorithm has been set using |
| <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactoryAlgorithm-java.lang.String-"><code>setKeyManagerFactoryAlgorithm(String)</code></a> the default algorithm |
| return by <code>KeyManagerFactory.getDefaultAlgorithm()</code> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>useDefault</code> - <code>true</code> or <code>false</code>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTrustManagerFactoryAlgorithmUseDefault-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTrustManagerFactoryAlgorithmUseDefault</h4> |
| <pre>public void setTrustManagerFactoryAlgorithmUseDefault(boolean useDefault)</pre> |
| <div class="block">If this is set to <code>true</code> while no <code>TrustManagerFactory</code> |
| has been set using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactory-javax.net.ssl.TrustManagerFactory-"><code>setTrustManagerFactory(TrustManagerFactory)</code></a> and |
| no algorithm has been set using |
| <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryAlgorithm-java.lang.String-"><code>setTrustManagerFactoryAlgorithm(String)</code></a> the default algorithm |
| return by <code>TrustManagerFactory.getDefaultAlgorithm()</code> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>useDefault</code> - <code>true</code> or <code>false</code>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setKeyManagerFactory-javax.net.ssl.KeyManagerFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setKeyManagerFactory</h4> |
| <pre>public void setKeyManagerFactory(javax.net.ssl.KeyManagerFactory factory)</pre> |
| <div class="block">Sets the <code>KeyManagerFactory</code> to use. If this is set the properties |
| which are used by this factory bean to create a <code>KeyManagerFactory</code> |
| will all be ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factory</code> - the factory.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setKeyManagerFactoryAlgorithm-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setKeyManagerFactoryAlgorithm</h4> |
| <pre>public void setKeyManagerFactoryAlgorithm(java.lang.String algorithm)</pre> |
| <div class="block">Sets the algorithm to use when creating the <code>KeyManagerFactory</code> |
| using <code>KeyManagerFactory.getInstance(java.lang.String)</code> or |
| <code>KeyManagerFactory.getInstance(java.lang.String, java.lang.String)</code>. |
| <p> |
| This property will be ignored if a <code>KeyManagerFactory</code> has been |
| set directly using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactory-javax.net.ssl.KeyManagerFactory-"><code>setKeyManagerFactory(KeyManagerFactory)</code></a>. |
| </p> |
| <p> |
| If this property isn't set while no <code>KeyManagerFactory</code> has been |
| set using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactory-javax.net.ssl.KeyManagerFactory-"><code>setKeyManagerFactory(KeyManagerFactory)</code></a> and |
| <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactoryAlgorithmUseDefault-boolean-"><code>setKeyManagerFactoryAlgorithmUseDefault(boolean)</code></a> has been set to |
| <code>true</code> the value returned |
| by <code>KeyManagerFactory.getDefaultAlgorithm()</code> will be used instead. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>algorithm</code> - the algorithm to use.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setKeyManagerFactoryProvider-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setKeyManagerFactoryProvider</h4> |
| <pre>public void setKeyManagerFactoryProvider(java.lang.String provider)</pre> |
| <div class="block">Sets the provider to use when creating the <code>KeyManagerFactory</code> |
| using |
| <code>KeyManagerFactory.getInstance(java.lang.String, java.lang.String)</code>. |
| <p> |
| This property will be ignored if a <code>KeyManagerFactory</code> has been |
| set directly using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactory-javax.net.ssl.KeyManagerFactory-"><code>setKeyManagerFactory(KeyManagerFactory)</code></a>. |
| </p> |
| <p> |
| If this property isn't set and no <code>KeyManagerFactory</code> has been set |
| using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setKeyManagerFactory-javax.net.ssl.KeyManagerFactory-"><code>setKeyManagerFactory(KeyManagerFactory)</code></a> |
| <code>KeyManagerFactory.getInstance(java.lang.String)</code> will be used |
| to create the <code>KeyManagerFactory</code>. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>provider</code> - the name of the provider.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setKeyManagerFactoryKeyStore-java.security.KeyStore-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setKeyManagerFactoryKeyStore</h4> |
| <pre>public void setKeyManagerFactoryKeyStore(java.security.KeyStore keyStore)</pre> |
| <div class="block">Sets the <code>KeyStore</code> which will be used in the call to |
| <code>KeyManagerFactory.init(java.security.KeyStore, char[])</code> when |
| the <code>SSLContext</code> is created.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keyStore</code> - the key store.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setKeyManagerFactoryKeyStorePassword-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setKeyManagerFactoryKeyStorePassword</h4> |
| <pre>public void setKeyManagerFactoryKeyStorePassword(java.lang.String password)</pre> |
| <div class="block">Sets the password which will be used in the call to |
| <code>KeyManagerFactory.init(java.security.KeyStore, char[])</code> when |
| the <code>SSLContext</code> is created.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>password</code> - the password. Use <code>null</code> to disable password.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTrustManagerFactory-javax.net.ssl.TrustManagerFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTrustManagerFactory</h4> |
| <pre>public void setTrustManagerFactory(javax.net.ssl.TrustManagerFactory factory)</pre> |
| <div class="block">Sets the <code>TrustManagerFactory</code> to use. If this is set the properties |
| which are used by this factory bean to create a <code>TrustManagerFactory</code> |
| will all be ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factory</code> - the factory.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTrustManagerFactoryAlgorithm-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTrustManagerFactoryAlgorithm</h4> |
| <pre>public void setTrustManagerFactoryAlgorithm(java.lang.String algorithm)</pre> |
| <div class="block">Sets the algorithm to use when creating the <code>TrustManagerFactory</code> |
| using <code>TrustManagerFactory.getInstance(java.lang.String)</code> or |
| <code>TrustManagerFactory.getInstance(java.lang.String, java.lang.String)</code>. |
| <p> |
| This property will be ignored if a <code>TrustManagerFactory</code> has been |
| set directly using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactory-javax.net.ssl.TrustManagerFactory-"><code>setTrustManagerFactory(TrustManagerFactory)</code></a>. |
| </p> |
| <p> |
| If this property isn't set while no <code>TrustManagerFactory</code> has been |
| set using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactory-javax.net.ssl.TrustManagerFactory-"><code>setTrustManagerFactory(TrustManagerFactory)</code></a> and |
| <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryAlgorithmUseDefault-boolean-"><code>setTrustManagerFactoryAlgorithmUseDefault(boolean)</code></a> has been set to |
| <code>true</code> the value returned |
| by <code>TrustManagerFactory.getDefaultAlgorithm()</code> will be used instead. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>algorithm</code> - the algorithm to use.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTrustManagerFactoryKeyStore-java.security.KeyStore-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTrustManagerFactoryKeyStore</h4> |
| <pre>public void setTrustManagerFactoryKeyStore(java.security.KeyStore keyStore)</pre> |
| <div class="block">Sets the <code>KeyStore</code> which will be used in the call to |
| <code>TrustManagerFactory.init(java.security.KeyStore)</code> when |
| the <code>SSLContext</code> is created. |
| <p> |
| This property will be ignored if <code>ManagerFactoryParameters</code> has been |
| set directly using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactoryParameters-javax.net.ssl.ManagerFactoryParameters-"><code>setTrustManagerFactoryParameters(ManagerFactoryParameters)</code></a>. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keyStore</code> - the key store.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTrustManagerFactoryParameters-javax.net.ssl.ManagerFactoryParameters-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTrustManagerFactoryParameters</h4> |
| <pre>public void setTrustManagerFactoryParameters(javax.net.ssl.ManagerFactoryParameters parameters)</pre> |
| <div class="block">Sets the <code>ManagerFactoryParameters</code> which will be used in the call to |
| <code>TrustManagerFactory.init(javax.net.ssl.ManagerFactoryParameters)</code> when |
| the <code>SSLContext</code> is created.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parameters</code> - describing provider-specific trust material.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTrustManagerFactoryProvider-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTrustManagerFactoryProvider</h4> |
| <pre>public void setTrustManagerFactoryProvider(java.lang.String provider)</pre> |
| <div class="block">Sets the provider to use when creating the <code>TrustManagerFactory</code> |
| using |
| <code>TrustManagerFactory.getInstance(java.lang.String, java.lang.String)</code>. |
| <p> |
| This property will be ignored if a <code>TrustManagerFactory</code> has been |
| set directly using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactory-javax.net.ssl.TrustManagerFactory-"><code>setTrustManagerFactory(TrustManagerFactory)</code></a>. |
| </p> |
| <p> |
| If this property isn't set and no <code>TrustManagerFactory</code> has been set |
| using <a href="../../../../../../org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html#setTrustManagerFactory-javax.net.ssl.TrustManagerFactory-"><code>setTrustManagerFactory(TrustManagerFactory)</code></a> |
| <code>TrustManagerFactory.getInstance(java.lang.String)</code> will be used |
| to create the <code>TrustManagerFactory</code>. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>provider</code> - the name of the provider.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSecureRandom-java.security.SecureRandom-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setSecureRandom</h4> |
| <pre>public void setSecureRandom(java.security.SecureRandom secureRandom)</pre> |
| <div class="block">Sets the <code>SecureRandom</code> to use when initializing the |
| <code>SSLContext</code>. The JVM's default will be used if this isn't set.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>secureRandom</code> - the <code>SecureRandom</code> or <code>null</code> if the |
| JVM's default should be used.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>SSLContext.init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], java.security.SecureRandom)</code></dd> |
| </dl> |
| </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/SSLContextFactoryBean.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/mina/integration/spring/ssl/KeyStoreFactoryBean.html" title="class in org.apache.mina.integration.spring.ssl"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/mina/integration/spring/ssl/SSLContextFactoryBean.html" target="_top">Frames</a></li> |
| <li><a href="SSLContextFactoryBean.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: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.springframework.beans.factory.config.AbstractFactoryBean">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2004-2019 <a href="http://mina.apace.org/">Apache MINA Project</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |