Package com.wolfssl.provider.jsse
Class WolfSSLServerSocketFactory
- java.lang.Object
-
- javax.net.ServerSocketFactory
-
- javax.net.ssl.SSLServerSocketFactory
-
- com.wolfssl.provider.jsse.WolfSSLServerSocketFactory
-
public class WolfSSLServerSocketFactory extends javax.net.ssl.SSLServerSocketFactorywolfSSL implementation of SSLServerSocketFactory- Author:
- wolfSSL
-
-
Constructor Summary
Constructors Constructor Description WolfSSLServerSocketFactory(WolfSSLContext ctx, WolfSSLAuthStore authStore, com.wolfssl.provider.jsse.WolfSSLParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.ServerSocketcreateServerSocket()Creates a new unbound SSLServerSocket.java.net.ServerSocketcreateServerSocket(int port)Creates a new SSLServerSocket bound to the specified port.java.net.ServerSocketcreateServerSocket(int port, int backlog)Creates a new SSLServerSocket bound to the specified port, using the specified connection backlog.java.net.ServerSocketcreateServerSocket(int port, int backlog, java.net.InetAddress ifAddress)Creates a new SSLServerSocket bound to the specified port, using the specified connection backlog, and using a local IP.java.lang.String[]getDefaultCipherSuites()Returns the default cipher suite list for wolfJSSE.java.lang.String[]getSupportedCipherSuites()Returns the supported cipher suite list for this factory.
-
-
-
Constructor Detail
-
WolfSSLServerSocketFactory
public WolfSSLServerSocketFactory(WolfSSLContext ctx, WolfSSLAuthStore authStore, com.wolfssl.provider.jsse.WolfSSLParameters params)
-
-
Method Detail
-
getDefaultCipherSuites
public java.lang.String[] getDefaultCipherSuites()
Returns the default cipher suite list for wolfJSSE.- Specified by:
getDefaultCipherSuitesin classjavax.net.ssl.SSLServerSocketFactory- Returns:
- default array of cipher suite Strings for wolfSSL
-
getSupportedCipherSuites
public java.lang.String[] getSupportedCipherSuites()
Returns the supported cipher suite list for this factory.- Specified by:
getSupportedCipherSuitesin classjavax.net.ssl.SSLServerSocketFactory- Returns:
- array of supported cipher suite Strings
-
createServerSocket
public java.net.ServerSocket createServerSocket() throws java.io.IOExceptionCreates a new unbound SSLServerSocket.- Overrides:
createServerSocketin classjavax.net.ServerSocketFactory- Returns:
- the new ServerSocket
- Throws:
java.io.IOException- if socket creation fails
-
createServerSocket
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOExceptionCreates a new SSLServerSocket bound to the specified port.- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Parameters:
port- port number on which to bind socket- Returns:
- the new ServerSocket
- Throws:
java.io.IOException- if socket creation fails.
-
createServerSocket
public java.net.ServerSocket createServerSocket(int port, int backlog) throws java.io.IOExceptionCreates a new SSLServerSocket bound to the specified port, using the specified connection backlog.- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Parameters:
port- port number on which to bind Socketbacklog- connection backlog for this Socket- Returns:
- the new ServerSocket
- Throws:
java.io.IOException- if socket creation fails.
-
createServerSocket
public java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOExceptionCreates a new SSLServerSocket bound to the specified port, using the specified connection backlog, and using a local IP.- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Parameters:
port- port number on which to bind Socketbacklog- connection backlog for this SocketifAddress- local address to bind Socket- Returns:
- the new ServerSocket
- Throws:
java.io.IOException- if socket creation fails.
-
-