Codemesh Runtime v3 C++ API Reference
3.9.205
|
The facade for all custom encryption providers. More...
#include <xmog_encryption_provider.h>
Public Types | |
typedef void(XMOG_CALLING_CONVENTION * | XMOG_ENCRYPTION_METHOD) (xmog_remote_message *) |
The function prototype for encrpytion methods. | |
typedef void(XMOG_CALLING_CONVENTION * | XMOG_DECRPYTION_METHOD) (xmog_remote_message *) |
The function prototype for decryption methods. | |
Public Member Functions | |
xmog_encryption_provider (const char *encrypt) | |
Creates an encryption provider instance based on an encryption string. More... | |
void | encrypt (xmog_remote_message *msg) |
Encrypts a message. More... | |
virtual void | decrypt (xmog_remote_message *msg) |
Decrypts the message. More... | |
The facade for all custom encryption providers.
xmog_encryption_provider::xmog_encryption_provider | ( | const char * | encrypt | ) |
Creates an encryption provider instance based on an encryption string.
encrypt | the provider-specific encryption options. |
|
virtual |
Decrypts the message.
msg | the message to decrypt. |
void xmog_encryption_provider::encrypt | ( | xmog_remote_message * | msg | ) |
Encrypts a message.
msg | the message to encrypt. |