public class SSLSocketFactory extends SocketFactoryBase
ORBSocketFactory implementation that uses Elytron supplied SSLContexts
to create client and server side SSL sockets.orb| Constructor and Description |
|---|
SSLSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(String type,
InetSocketAddress inetSocketAddress) |
Socket |
createSocket(String type,
InetSocketAddress inetSocketAddress) |
ServerSocket |
createSSLServerSocket(int port,
int backlog,
InetAddress inetAddress) |
Socket |
createSSLSocket(String host,
int port) |
static void |
setClientSSLContextName(String clientSSLContextName) |
void |
setORB(com.sun.corba.se.spi.orb.ORB orb) |
static void |
setServerSSLContextName(String serverSSLContextName) |
setAcceptedSocketOptionspublic static void setServerSSLContextName(String serverSSLContextName)
public static void setClientSSLContextName(String clientSSLContextName)
public void setORB(com.sun.corba.se.spi.orb.ORB orb)
setORB in interface com.sun.corba.se.spi.transport.ORBSocketFactorysetORB in class SocketFactoryBasepublic ServerSocket createServerSocket(String type, InetSocketAddress inetSocketAddress) throws IOException
createServerSocket in interface com.sun.corba.se.spi.transport.ORBSocketFactorycreateServerSocket in class SocketFactoryBaseIOExceptionpublic Socket createSocket(String type, InetSocketAddress inetSocketAddress) throws IOException
createSocket in interface com.sun.corba.se.spi.transport.ORBSocketFactorycreateSocket in class SocketFactoryBaseIOExceptionpublic Socket createSSLSocket(String host, int port) throws IOException
IOExceptionpublic ServerSocket createSSLServerSocket(int port, int backlog, InetAddress inetAddress) throws IOException
IOExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.