Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

xmog_encryption_provider Class Reference

The facade for all custom encryption providers. More...

#include <xmog_encryption_provider.h>

List of all members.

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.
void encrypt (xmog_remote_message *msg)
 Encrypts a message.
virtual void decrypt (xmog_remote_message *msg)
 Decrypts the message.


Detailed Description

The facade for all custom encryption providers.


Constructor & Destructor Documentation

xmog_encryption_provider::xmog_encryption_provider const char *  encrypt  ) 
 

Creates an encryption provider instance based on an encryption string.

Parameters:
encrypt the provider-specific encryption options.


Member Function Documentation

virtual void xmog_encryption_provider::decrypt xmog_remote_message msg  )  [virtual]
 

Decrypts the message.

Parameters:
msg the message to decrypt.

void xmog_encryption_provider::encrypt xmog_remote_message msg  ) 
 

Encrypts a message.

Parameters:
msg the message to encrypt.


The documentation for this class was generated from the following file:
Generated on Wed May 31 14:01:23 2006 for Shared Codemesh Runtime Library API Reference by  doxygen 1.4.1