Libmacro  0.2
Libmacro is an extensible macro and hotkey library.
mcr::IKeyProvider Class Referenceabstract

#include <safe_string.h>

Public Member Functions

virtual void key (const void *obj, const unsigned char *keyOut[32])=0
 
virtual void deregister (const void *obj)=0
 

Detailed Description

Get an encryption key for a specific string object

Definition at line 42 of file safe_string.h.

Member Function Documentation

§ deregister()

virtual void mcr::IKeyProvider::deregister ( const void *  obj)
pure virtual

Remove a string object. If the key function is called again the key should be regenerated.

Parameters
objString object to remove key for

§ key()

virtual void mcr::IKeyProvider::key ( const void *  obj,
const unsigned char *  keyOut[32] 
)
pure virtual

Get an encryption key for a specific string object

If the object is not yet registered the key should be generated before given to the string object.

Parameters
objString object which is requesting a key
keyOutReturn a reference to the key

The documentation for this class was generated from the following file: