AcquireKeyInfoDestroyKeyInfoGenerateSessionKeyGetKeyInfoSetKeyInfo

AcquireKeyInfo

AcquireKeyInfo() allocates the KeyInfo structure.

The format of the AcquireKeyInfo method is:

KeyInfo *AcquireKeyInfo()

DestroyKeyInfo

DestroyKeyInfo() zeros memory associated with the KeyInfo structure.

The format of the DestroyKeyInfo method is:

KeyInfo *DestroyKeyInfo(KeyInfo *key_info)

A description of each parameter follows:

key_info
The key info.

GenerateSessionKey

GenerateSessionKey() generate a session key.

The format of the GenerateSessionKey method is:

void GenerateSessionKey(KeyInfo *key_info)

A description of each parameter follows:

key_info
The key info.

GetKeyInfo

GetKeyInfo() gets a key from the key splay-tree.

The format of the GetKeyInfo method is:

StringInfo *GetKeyInfo(KeyInfo *key_info,const StringInfo *id)

A description of each parameter follows:

key_info
The key info.
id
The key id.

SetKeyInfo

SetKeyInfo() saves a key to the splay-tree.

The format of the SetKeyInfo

WizardBooleanType SetKeyInfo(KeyInfo *key_info,const StringInfo *id, const StringInfo *key)

A description of each parameter follows:

key_info
The key info.
id
The key id.
key
The key.