|
| | OpenSSLServerSocketFactory (OpenSSLContextSpi *parent) |
| |
| virtual | ~OpenSSLServerSocketFactory () |
| |
| virtual decaf::net::ServerSocket * | createServerSocket () |
| | Create a new ServerSocket that is unbound.The ServerSocket will have been configured with the defaults from the factory.- Returns
- new ServerSocket pointer that is owned by the caller.
- Exceptions
-
| IOException | if the ServerSocket cannot be created for some reason. |
|
| |
| virtual decaf::net::ServerSocket * | createServerSocket (int port) |
| | Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory.- Parameters
-
- Returns
- new ServerSocket pointer that is owned by the caller.
- Exceptions
-
| IOException | if the ServerSocket cannot be created for some reason. |
|
| |
| virtual decaf::net::ServerSocket * | createServerSocket (int port, int backlog) |
| | Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory. The ServerSocket will use the specified connection backlog setting.- Parameters
-
- Returns
- new ServerSocket pointer that is owned by the caller.
- Exceptions
-
| IOException | if the ServerSocket cannot be created for some reason. |
|
| |
| virtual decaf::net::ServerSocket * | createServerSocket (int port, int backlog, const decaf::net::InetAddress *address) |
| | Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory. The ServerSocket will bind to the specified interface on the local host, and accept connections only on that interface. If the address parameter is NULL than the ServerSocket will listen on all interfaces.- Parameters
-
| port | The port to bind the ServerSocket to. |
| backlog | The number of pending connect request the ServerSocket can queue. |
| address | The address of the interface on the local machine to bind to. |
- Returns
- new ServerSocket pointer that is owned by the caller.
- Exceptions
-
| IOException | if the ServerSocket cannot be created for some reason. |
|
| |
| virtual std::vector< std::string > | getDefaultCipherSuites () |
| | Returns the list of cipher suites which are enabled by default.Unless a different list is enabled, handshaking on an SSL connection will use one of these cipher suites. The minimum quality of service for these defaults requires confidentiality protection and server authentication (that is, no anonymous cipher suites).- Returns
- an STL vector containing the list of cipher suites enabled by default.
- See also
- getSupportedCipherSuites()
|
| |
| virtual std::vector< std::string > | getSupportedCipherSuites () |
| | Returns the names of the cipher suites which could be enabled for use on an SSL connection.Normally, only a subset of these will actually be enabled by default, since this list may include cipher suites which do not meet quality of service requirements for those defaults. Such cipher suites are useful in specialized applications.- Returns
- an STL vector containing the list of supported cipher suites.
- See also
- getDefaultCipherSuites()
|
| |
| virtual | ~SSLServerSocketFactory () |
| |
| virtual std::vector< std::string > | getDefaultCipherSuites ()=0 |
| | Returns the list of cipher suites which are enabled by default.
|
| |
| virtual std::vector< std::string > | getSupportedCipherSuites ()=0 |
| | Returns the names of the cipher suites which could be enabled for use on an SSL connection.
|
| |
| virtual | ~ServerSocketFactory () |
| |
| virtual ServerSocket * | createServerSocket () |
| | Create a new ServerSocket that is unbound.
|
| |
| virtual ServerSocket * | createServerSocket (int port)=0 |
| | Create a new ServerSocket that is bound to the given port.
|
| |
| virtual ServerSocket * | createServerSocket (int port, int backlog)=0 |
| | Create a new ServerSocket that is bound to the given port.
|
| |
| virtual ServerSocket * | createServerSocket (int port, int backlog, const InetAddress *address)=0 |
| | Create a new ServerSocket that is bound to the given port.
|
| |
SSLServerSocketFactory that creates Server Sockets that use OpenSSL.
- Since
- 1.0