37 size_t ReadOutgoing(
void * a_Data,
size_t a_DataMaxSize);
48 virtual int ReceiveEncrypted(
unsigned char * a_Buffer,
size_t a_NumBytes)
override;
49 virtual int SendEncrypted(
const unsigned char * a_Buffer,
size_t a_NumBytes)
override;
An object that can store incoming bytes and lets its clients read the bytes sequentially The bytes ar...
cByteBuffer m_IncomingData
Buffer for the data that has come in and needs to be decrypted from the SSL stream.
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.
virtual int SendEncrypted(const unsigned char *a_Buffer, size_t a_NumBytes) override
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
cByteBuffer m_OutgoingData
Buffer for the data that has been encrypted into the SSL stream and should be sent out.
size_t ReadOutgoing(void *a_Data, size_t a_DataMaxSize)
Retrieves data from the "outgoing" buffer, after being processed by the SSL encryptor.