#include <yassl.hpp>
Collaboration diagram for yaSSL::Client:

Public Member Functions | |
| Client () | |
| ~Client () | |
| int | Connect (SOCKET_T) |
| int | Write (const void *, int) |
| int | Read (void *, int) |
| void | SetCA (const char *) |
| void | SetCert (const char *) |
| void | SetKey (const char *) |
Private Member Functions | |
| Client (const Client &) | |
| Client & | operator= (const Client &) |
Private Attributes | |
| ClientImpl * | pimpl_ |
Classes | |
| struct | ClientImpl |
Definition at line 41 of file yassl.hpp.
| yaSSL::Client::Client | ( | ) |
| yaSSL::Client::~Client | ( | ) |
| yaSSL::Client::Client | ( | const Client & | ) | [private] |
| int yaSSL::Client::Connect | ( | SOCKET_T | ) |
Definition at line 157 of file yassl.cpp.
References yaSSL::Client::ClientImpl::base_, yaSSL::client_end, pimpl_, yaSSL::SetUpBase(), yaSSL::Base::ssl_, and yaSSL::SSL_connect().
00158 { 00159 SetUpBase(pimpl_->base_, client_end, s); 00160 return SSL_connect(pimpl_->base_.ssl_); 00161 }
Here is the call graph for this function:

| int yaSSL::Client::Read | ( | void * | , | |
| int | ||||
| ) |
Definition at line 170 of file yassl.cpp.
References yaSSL::Client::ClientImpl::base_, data, yaSSL::MAX_RECORD_SIZE, min, pimpl_, yaSSL::receiveData(), and yaSSL::Base::ssl_.
00171 { 00172 Data data(min(sz, MAX_RECORD_SIZE), static_cast<opaque*>(buffer)); 00173 return receiveData(*pimpl_->base_.ssl_, data); 00174 }
Here is the call graph for this function:

| void yaSSL::Client::SetCA | ( | const char * | ) |
Definition at line 177 of file yassl.cpp.
References yaSSL::Client::ClientImpl::base_, yaSSL::Base::ca_, yaSSL::NewCopy(), and pimpl_.
Here is the call graph for this function:

| void yaSSL::Client::SetCert | ( | const char * | ) |
Definition at line 183 of file yassl.cpp.
References yaSSL::Client::ClientImpl::base_, yaSSL::Base::cert_, yaSSL::NewCopy(), and pimpl_.
Here is the call graph for this function:

| void yaSSL::Client::SetKey | ( | const char * | ) |
Definition at line 189 of file yassl.cpp.
References yaSSL::Client::ClientImpl::base_, yaSSL::Base::key_, yaSSL::NewCopy(), and pimpl_.
Here is the call graph for this function:

| int yaSSL::Client::Write | ( | const void * | , | |
| int | ||||
| ) |
Definition at line 164 of file yassl.cpp.
References yaSSL::Client::ClientImpl::base_, pimpl_, yaSSL::sendData(), and yaSSL::Base::ssl_.
Here is the call graph for this function:

ClientImpl* yaSSL::Client::pimpl_ [private] |
1.4.7

