A SSLServerSocket represents a Secure Socket Layer (TCP) server endpoint of a StreamSocket.
More...
#include <micxx/net/SSLServerSocket.hxx>
Inherits micxx::ServerSocket.
List of all members.
Detailed Description
A SSLServerSocket represents a Secure Socket Layer (TCP) server endpoint of a StreamSocket.
- See also:
- http://en.wikipedia.org/wiki/Secure_Sockets_Layer
http://www.rfc-editor.org/rfc/rfc5246.txt
- Note:
- Although SSLServerSocket is derived from Mutex, itself does no locking at all. If you intend to use SSLServerSocket concurrently from different threads, you could use the inherited Mutex to synchronize access to the instance (depending on the scenario in which it is used).
- Author:
- Norbert Klose
- Date:
- May, 2009
Constructor & Destructor Documentation
micxx::SSLServerSocket::SSLServerSocket |
( |
int |
aserverSessionIDContext = rand() | ) |
|
Member Function Documentation
Create a ClientSocket instance during accept().
This implementation just returns a ClientSocket. Derived classes may overwrite this method to return instances derived from ClientSocket.
- Parameters:
-
rawSocket | the socket descriptor |
socketAddress | the socket address to be used internally. This socket takes ownership of the allocated SocketAdress and gets responsible for deleting it |
Reimplemented from micxx::ServerSocket.
const PKCS12Store& micxx::SSLServerSocket::getPKCS12Store |
( |
| ) |
const [inline] |
PKCS12Store& micxx::SSLServerSocket::getPKCS12Store |
( |
| ) |
[inline] |
virtual void micxx::SSLServerSocket::setCACertificates |
( |
const std::string & |
url | ) |
[virtual] |
virtual void micxx::SSLServerSocket::setCertificate |
( |
const std::string & |
url | ) |
[virtual] |
virtual void micxx::SSLServerSocket::setCertificates |
( |
const std::string & |
url, |
|
|
const std::string * |
passphrase = 0 |
|
) |
| [virtual] |
virtual void micxx::SSLServerSocket::setPrivateKey |
( |
const std::string & |
url, |
|
|
const std::string * |
passphrase = 0 |
|
) |
| [virtual] |
The documentation for this class was generated from the following file: