In file keytool.h++:

class keyToolKey_c

Key tool key class

Public Classes

enum status_t
Status
FAILED
Failed.
OK
Ok.

Public Methods

status_t alloc (int size)
Allocate memory in key (previous contents MAY be deleted).
status_t commit ()
Commit this key (automatially timestamps. Does not affect aux time stamp.)
double getAuxTimeStamp ()
Get the aux time stamp.
char* getData ()
Get pointer to data buffer in key
int getDataSize ()
Return size of data.
md5Key_c getKeyId ()
Get the key id of the current key object.
char* getMeta ()
Get meta data. Returns ptr to the buffer.
int getMetaSize ()
Return size of meta data.
int getRealSize ()
Return size of internal buffer.
double getTimeStamp ()
Get the time stamp.
void setAuxTimeStamp (double theTime)
Set the aux time stamp to a particular time.
status_t setMeta (char *data, int msize)
Set meta field
void setTimeStamp (double theTime)
Set the time stamp to a particular time.
void stampAuxTime ()
Stamp the aux time stamp.
void stampTime ()
Force stamp the timestamp with the current time. Ie without doing a commit.

Public


Allocate memory while maintaining contents.

status_t resize(int size);
enum status_t
Status
FAILED
Failed.
OK
Ok.

Documentation

Key tool key class. Objects of this type are created by the Key Tool Manager.
char* getData()
Get pointer to data buffer in key. Need more elaborate call in future as in Stuart's original spec.


This class has no child classes.
See Also:
keyToolManager_c

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de