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