certmanager/lib

Important functions to be used by plugin implementors ONLY.

Functions

void CryptPlug::init_StructuringInfo (struct StructuringInfo *s)
 

Detailed Description

This section describes functions that have to be used by plugin implementors but should not be used by plugin users directly.

If you are not planning to write your own cryptography plugin you should ignore this section!

Function Documentation

◆ init_StructuringInfo()

void CryptPlug::init_StructuringInfo ( struct StructuringInfo s)
inline

If you are not planning to write your own cryptography plugin you should ignore this function!

Usage of this function is depreciated for plugin users but highly recommended for plugin implementors since this is an internal function for initializing all char* members of a StructuringInfo struct.
This function must be called in any plugin's implementations of the following functions:

signMessage()
encryptMessage()
encryptAndSignMessage()

Calling this function makes sure the corresponding free_StructuringInfo() calls which will be embedded by your plugin's users into their code will be able to determine which of the char* members belonging to the respective's StructuringInfo had been allocated memory for during previous signing or encrypting actions.

See also
free_StructuringInfo, StructuringInfo
signMessage, encryptMessage, encryptAndSignMessage

Definition at line 745 of file cryptplug.h.