|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.net.util.SSLContextUtils
public class SSLContextUtils
General utilities for SSLContext.
| Method Summary | |
|---|---|
static SSLContext |
createSSLContext(String protocol,
KeyManager[] keyManagers,
TrustManager[] trustManagers)
Create and initialise sn SSLContext. |
static SSLContext |
createSSLContext(String protocol,
KeyManager keyManager,
TrustManager trustManager)
Create and initialise sn SSLContext. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SSLContext createSSLContext(String protocol,
KeyManager keyManager,
TrustManager trustManager)
throws IOException
protocol - the protocol used to instatiate the contextkeyManager - the key manager, may be nulltrustManager - the trust manager, may be null
IOException - this is used to wrap any GeneralSecurityException that occurs
public static SSLContext createSSLContext(String protocol,
KeyManager[] keyManagers,
TrustManager[] trustManagers)
throws IOException
protocol - the protocol used to instatiate the contextkeyManagers - the array of key managers, may be null but array entries must not be nulltrustManagers - the array of trust managers, may be null but array entries must not be null
IOException - this is used to wrap any GeneralSecurityException that occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||