36 size_t ReadOutgoing(
void * a_Data,
size_t a_DataMaxSize);
47 virtual int ReceiveEncrypted(
unsigned char * a_Buffer,
size_t a_NumBytes)
override;
48 virtual int SendEncrypted(
const unsigned char * a_Buffer,
size_t a_NumBytes)
override;
size_t WriteIncoming(const void *a_Data, size_t a_NumBytes)
Stores the specified data in the "incoming" buffer, to be process by the SSL decryptor.
cBufferedSslContext(size_t a_BufferSize=64000)
Creates a new context with the buffers of specified size for the encrypted / decrypted data...
virtual int ReceiveEncrypted(unsigned char *a_Buffer, size_t a_NumBytes) override
size_t ReadOutgoing(void *a_Data, size_t a_DataMaxSize)
Retrieves data from the "outgoing" buffer, after being processed by the SSL encryptor.
cByteBuffer m_IncomingData
Buffer for the data that has come in and needs to be decrypted from the SSL stream.
An object that can store incoming bytes and lets its clients read the bytes sequentially The bytes ar...
virtual int SendEncrypted(const unsigned char *a_Buffer, size_t a_NumBytes) override
cByteBuffer m_OutgoingData
Buffer for the data that has been encrypted into the SSL stream and should be sent out...