6 class OpensslBIOWrapper : public OpensslBIO {
8 std::shared_ptr<BIO> b;
10 OpensslBIOWrapper( std::shared_ptr<BIO> b );
11 virtual ~OpensslBIOWrapper();
13 int write( const char* buf, int num );
14 int read( char* buf, int size );
15 long ctrl( int cmod, long arg1, void* arg2 );
17 int puts( const char* str );
18 int gets( char* str, int size );
20 static const char* getName();