IBR-DTNSuite
0.8
|
This class is a wrapper for iostreams to the OpenSSL Input Output abstraction Layer (called BIO) More...
#include <iostreamBIO.h>
Classes | |
class | BIOException |
A Exception that is thrown on BIO related errors. More... | |
Public Member Functions | |
iostreamBIO (iostream *stream) | |
Creates a new iostreamBIO from a given iostream. | |
BIO * | getBIO () |
get the internal BIO pointer | |
Static Public Attributes | |
static const char *const | name = "iostreamBIO" |
the name that will be included in the BIO_METHOD->name field | |
static const int | type = BIO_TYPE_SOURCE_SINK |
type in the BIO_METHOD->type field |
This class is a wrapper for iostreams to the OpenSSL Input Output abstraction Layer (called BIO)
Definition at line 20 of file iostreamBIO.h.
ibrcommon::iostreamBIO::iostreamBIO | ( | iostream * | stream | ) | [explicit] |
Creates a new iostreamBIO from a given iostream.
stream | the iostream to use |
Definition at line 46 of file iostreamBIO.cpp.
References IBRCOMMON_LOGGER, and IBRCOMMON_LOGGER_ENDL.
BIO * ibrcommon::iostreamBIO::getBIO | ( | ) |
get the internal BIO pointer
Definition at line 65 of file iostreamBIO.cpp.
Referenced by ibrcommon::TLSStream::activate().
const char *const ibrcommon::iostreamBIO::name = "iostreamBIO" [static] |
the name that will be included in the BIO_METHOD->name field
Definition at line 50 of file iostreamBIO.h.
const int ibrcommon::iostreamBIO::type = BIO_TYPE_SOURCE_SINK [static] |
type in the BIO_METHOD->type field
Definition at line 52 of file iostreamBIO.h.