#include <sslbuffer.h>
Inheritance diagram for Dv::Ssl::SslBuffer:
Public Member Functions | |
SslBuffer (SslContext &context, int fd, size_t intbufsize=1024, size_t outbufsize=1024, int msecs=0) | |
Constructor. Msecs is max timeout value in millisecs. | |
~SslBuffer () | |
Destructor. | |
void * | ssl () const |
Return pointer to SSL object. | |
const char * | cipher () const |
Return string representation of cypher. | |
Protected Member Functions | |
virtual int | rread (char *buf, size_t len) |
Raw read implementation, see Dv::Util::fdstreambuf. | |
virtual int | rwrite (char *buf, size_t len) |
Raw write implementation, see Dv::Util::fdstreambuf. | |
Private Attributes | |
void * | ssl_ |
Opaque, really a SSL* pointer. |
Definition at line 15 of file sslbuffer.h.
|
Constructor. Msecs is max timeout value in millisecs.
|
|
Destructor.
|
|
Return pointer to SSL object. Return type is declared as void* to avoid inclusion of openssl header files. Definition at line 27 of file sslbuffer.h. References ssl_. |
|
Return string representation of cypher.
|
|
Raw read implementation, see Dv::Util::fdstreambuf.
Reimplemented from Dv::Util::fdstreambuf. |
|
Raw write implementation, see Dv::Util::fdstreambuf.
Reimplemented from Dv::Util::fdstreambuf. |
|
Opaque, really a SSL* pointer.
Definition at line 37 of file sslbuffer.h. Referenced by ssl(). |