Inheritance diagram for SslSocket:

Public Member Functions | |
| virtual u_long | bytesToRead () |
| virtual int | closesocket () |
| virtual int | connect (MYSERVER_SOCKADDR *sa, int na) |
| virtual int | dataOnRead (int sec=0, int usec=500) |
| int | freeSSL () |
| SSL * | getSSLConnection () |
| virtual int | rawSend (const char *buffer, int len, int flags) |
| virtual int | recv (char *buffer, int len, int flags) |
| int | setSSLContext (SSL_CTX *) |
| virtual int | shutdown (int how) |
| int | sslAccept () |
| SslSocket (Socket *) | |
| ~SslSocket () | |
Protected Attributes | |
| X509 * | clientCert |
| bool | externalContext |
| Socket * | socket |
| SSL * | sslConnection |
| SSL_CTX * | sslContext |
| SSL_METHOD * | sslMethod |
|
|
Constructor of the class. |
|
|
|
|
|
Returns the number of bytes waiting to be read. Reimplemented from Socket. |
|
|
Close the socket. Reimplemented from Socket. |
|
||||||||||||
|
Connect the socket. Reimplemented from Socket. |
|
||||||||||||
|
Returns the number of bytes waiting to be read. Reimplemented from Socket. |
|
|
Free the SSL connection. |
|
|
Returns the SSL connection. |
|
||||||||||||||||
|
Send data over the socket. Return -1 on error. This routine is accessible only from the Socket class. Reimplemented from Socket. |
|
||||||||||||||||
|
Receive data from the socket. Returns -1 on errors. Reimplemented from Socket. |
|
|
Set the SSL context. |
|
|
Shutdown the socket. Reimplemented from Socket. |
|
|
SSL handshake procedure. Return nonzero on errors. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is used only by clients sockets. |
1.3.9.1