Generic key manager
TableFieldQueue* | KeyManager::CreateDefinition () Creates definition of acTable - used only in constructor |
GMessage* | KeyManager::GetMixPrivateKey (char * , char * ) Returns Mix private key |
GMessage* | KeyManager::GetMixPublicKey (char * , char * ) Returns Mix public key |
GMessage* | KeyManager::GetPrivKeyByACID (ACID acID) Finds the key according to its keyID |
KeyManager::KeyManager (ConfigFile *keyManagerConfigFile, LogFile * keyManagerLogFile, Cipherer *keyManagerCipherer, MessageQueue *keyManagerMessageQueue) Key manager constructor | |
KeyManager::KeyManager (LogFile *aLogFile, Char* aTableName) Constructor of keyManager | |
Err | KeyManager::LoadAsymetricKeyPairIntoMemory () Loads asymetric keys from disk |
Err | KeyManager::SaveKeys (ACID acid, GMessage *pubKey, GMessage *privKey) Inserts keys into the table |
KeyManager::~KeyManager () Key manager destructor | |
KeyManager::~KeyManager () Destructor of keyManager |
attributes
| |||||||||||||
methods
|
Generic key manager. Generates all kinds of keys and manages them - takes care of their expiration and renewal.
It also loads keys saved on disk into memory in case someone wants it.
keyManagerLogFile - Log file that we have to write
debug messages to.
keyManagerCipherer - Cipherer object that is used for
key generation.
keyManagerMessageQueue - Message queue that is used for
publishing keys.
aTableName - Name of file to create keyManager table in.
pubKey - PubKey to save.
privKey - PrivKey to save.
alphabetic index hierarchy of classes
generated by doc++