Data
Extensions
The
functionality of the CMC data structures and functions can be augmented through
the use of CMC data extensions. Data extensions are used to add additional
fields to data structures and additional parameters to a function.
A standard
generic data structure, CMC_extension
Extensions
that are additional parameters to a function can be either input or output
parameters. If the extension is passed as an input parameter, the calling
client application or service provider allocates memory for the CMC_extension
structure and any other structures that are associated with the extension. If
the extension is passed as an output parameter, CMC allocates the storage for
the extension result and the caller frees it by calling the cmc_free
The following
extensions make up the CMC common extension set, the extensions that are common
to most CMC implementations but are not in the CMC base specification. The
extensions are listed in alphabetical order. Each reference entry describes the
purpose of the extension.