44 virtual int SendEncrypted(
const unsigned char * a_Buffer,
size_t a_NumBytes) = 0;
59 virtual int ReceiveEncrypted(
unsigned char * a_Buffer,
size_t a_NumBytes)
override;
60 virtual int SendEncrypted(
const unsigned char * a_Buffer,
size_t a_NumBytes)
override;
virtual int SendEncrypted(const unsigned char *a_Buffer, size_t a_NumBytes) override
cCallbackSslContext(void)
Creates a new SSL context with no callbacks assigned.
cDataCallbacks * m_Callbacks
The callbacks to use to send and receive SSL peer data.
virtual int ReceiveEncrypted(unsigned char *a_Buffer, size_t a_NumBytes) override
Interface used as a data sink for the SSL peer data.
virtual int SendEncrypted(const unsigned char *a_Buffer, size_t a_NumBytes)=0
Called when mbedTLS wants to write encrypted data to the SSL peer.
virtual int ReceiveEncrypted(unsigned char *a_Buffer, size_t a_NumBytes)=0
Called when mbedTLS wants to read encrypted data from the SSL peer.
virtual ~cDataCallbacks()