public class HttpSocketFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
javax.net.SocketFactory |
getClientSocketFactory(javax.net.ssl.SSLContext pContext)
Returns a client socket factory
|
javax.net.ssl.SSLContext |
getClientSSLContext(WBEMConfiguration pProperties)
Returns a SSLContext for client sockets corresponding to a given set of
configuration properties
|
static HttpSocketFactory |
getInstance()
Returns the singleton instance
|
javax.net.ServerSocketFactory |
getServerSocketFactory(javax.net.ssl.SSLContext pContext)
Returns a server socket factory
|
javax.net.ssl.SSLContext |
getServerSSLContext(WBEMConfiguration pProperties)
Returns a SSLContext for server sockets corresponding to a given set of
configuration properties
|
public static HttpSocketFactory getInstance()
public javax.net.ServerSocketFactory getServerSocketFactory(javax.net.ssl.SSLContext pContext)
pContext
- The corresponding SSL context or null
for
insecure connectionspublic javax.net.SocketFactory getClientSocketFactory(javax.net.ssl.SSLContext pContext)
pContext
- The SSL context or null
for insecure connectionspublic javax.net.ssl.SSLContext getClientSSLContext(WBEMConfiguration pProperties)
pProperties
- The configuration to applypublic javax.net.ssl.SSLContext getServerSSLContext(WBEMConfiguration pProperties)
pProperties
- The configuration to applyCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.