activemq-cpp-3.6.0
decaf::net::ssl::SSLServerSocketFactory Class Reference

Factory class interface that provides methods to create SSL Server Sockets. More...

#include <src/main/decaf/net/ssl/SSLServerSocketFactory.h>

Inheritance diagram for decaf::net::ssl::SSLServerSocketFactory:

Public Member Functions

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.
- Public Member Functions inherited from decaf::net::ServerSocketFactory
virtual ~ServerSocketFactory ()
virtual ServerSocketcreateServerSocket ()
 Create a new ServerSocket that is unbound.
virtual ServerSocketcreateServerSocket (int port)=0
 Create a new ServerSocket that is bound to the given port.
virtual ServerSocketcreateServerSocket (int port, int backlog)=0
 Create a new ServerSocket that is bound to the given port.
virtual ServerSocketcreateServerSocket (int port, int backlog, const InetAddress *address)=0
 Create a new ServerSocket that is bound to the given port.

Static Public Member Functions

static ServerSocketFactorygetDefault ()
 Returns the current default SSL ServerSocketFactory, the factory is returned as a pointer however the caller does not own this pointer and should not delete it.

Protected Member Functions

 SSLServerSocketFactory ()
- Protected Member Functions inherited from decaf::net::ServerSocketFactory
 ServerSocketFactory ()

Detailed Description

Factory class interface that provides methods to create SSL Server Sockets.

Since
1.0

Constructor & Destructor Documentation

decaf::net::ssl::SSLServerSocketFactory::SSLServerSocketFactory ( )
protected
virtual decaf::net::ssl::SSLServerSocketFactory::~SSLServerSocketFactory ( )
virtual

Member Function Documentation

static ServerSocketFactory* decaf::net::ssl::SSLServerSocketFactory::getDefault ( )
static

Returns the current default SSL ServerSocketFactory, the factory is returned as a pointer however the caller does not own this pointer and should not delete it.

This method returns SSLContext::getDefault()->getServerSocketFactory(). If that call fails, a non-functional factory is returned.

Returns
the default SSL ServerSocketFactory pointer.
See Also
decaf::net::ssl::SSLContext::getDefault()

Reimplemented from decaf::net::ServerSocketFactory.

virtual std::vector<std::string> decaf::net::ssl::SSLServerSocketFactory::getDefaultCipherSuites ( )
pure virtual

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()

Implemented in decaf::internal::net::ssl::openssl::OpenSSLServerSocketFactory, and decaf::internal::net::ssl::DefaultSSLServerSocketFactory.

virtual std::vector<std::string> decaf::net::ssl::SSLServerSocketFactory::getSupportedCipherSuites ( )
pure virtual

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()

Implemented in decaf::internal::net::ssl::openssl::OpenSSLServerSocketFactory, and decaf::internal::net::ssl::DefaultSSLServerSocketFactory.


The documentation for this class was generated from the following file: