8 class OpensslBIOWrapper : public OpensslBIO {
10 std::shared_ptr<BIO> b;
11 std::vector<char> buffer;
14 OpensslBIOWrapper( std::shared_ptr<BIO> b );
15 virtual ~OpensslBIOWrapper();
17 int write( const char* buf, int num );
18 int read( char* buf, int size );
19 long ctrl( int cmod, long arg1, void* arg2 );
21 int puts( const char* str );
22 int gets( char* str, int size );
24 static const char* getName();
26 std::string readLine();
29 class eof_exception : public std::exception{