Previous section.

Common Security: CDSA and CSSM
Copyright © 1997 The Open Group

NAME

Initialize

SYNOPSIS

CSSM_RETURN CSSMAPI Initialize
    (uint32 VerMajor,
    uint32 VerMinor)

DESCRIPTION

This function checks whether the current version of the module is compatible with the CSSM version specified as input and performs any module-manager-specific setup activities.

PARAMETERS

VerMajor (input)

The major version number of the CSSM that is invoking this module manager.

VerMinor (input)

The minor version number of the CSSM that is invoking this module manager.

RETURN VALUE

A CSSM_OK return value signifies that the current version of the module is compatible with the input CSSM version numbers and all setup operations were successfully performed. When CSSM_FAIL is returned, either the current module manager is incompatible with the requested module version or an error has occurred. Use CSSM_GetError to obtain the error code.

ERRORS

CSSM_MANAGER_INITIALIZE_FAIL

Unable to initialize the module manager.

SEE ALSO

Terminate

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.
You should also read the legal notice explaining the terms and conditions relating to the CDSA documentation.

Contents Next section Index