#include <tmt.h>
Public Types | |
typedef void(TipcMtEncrypt::* | Handler )(void *&data, int4 &dataSize, const void *key, int4 keySize) |
Public Methods | |
TipcMtEncrypt () | |
void | setEncryptHandler (Handler encryptMethod) |
Handler | getEncryptHandler () |
void | setDecryptHandler (Handler decryptMethod) |
Handler | getDecryptHandler () |
virtual | ~TipcMtEncrypt () throw () |
virtual void | encrypt (void *&data, int4 &dataSize, const void *key, int4 keySize) throw (TipcException) |
virtual void | decrypt (void *&data, int4 &dataSize, const void *key, int4 keySize) throw (TipcException) |
Static Public Methods | |
void T_ENTRY | encryptFuncDelegator (T_BUF buf, T_PTR key, T_INT4 key_size, T_PTR arg) |
void T_ENTRY | decryptFuncDelegator (T_BUF buf, T_PTR key, T_INT4 key_size, T_PTR arg) |
|
Method signature for encryption and decryption methods.
Warning:
|
|
constructor that sets the default handler method to onTraverse(). |
|
Destructor. |
|
Default implementation for an decryption method that doesn't do anything.
|
|
Default implementation for an encryption method that doesn't do anything.
|
|
Gets the current decrypt handler method. |
|
Gets the current encrypt handler method. |
|
Sets the current decrypt handler method; if this is not called, the default method decrypt() is called.
|
|
Sets the current encrypt handler method; if this is not called, the default method encrypt() is called. |