Previous section.

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

NAME

CSSM_Init

SYNOPSIS

CSSM_RETURN CSSMAPI CSSM_Init
    (const CSSM_VERSION_PTR Version,
    const void * Reserved)

DESCRIPTION

This function initializes CSSM and verifies that the version of CSSM expected by the application is compatible with the version of CSSM on the system. This function should be called once by each application.

PARAMETERS

Version (input)

The major and minor version number of the CSSM release the application is compatible with.

Reserved (input)

A reserved input.

RETURN VALUE

A CSSM_OK return value signifies the initialization operation was successful. When CSSM_FAIL is returned, an error has occurred. Use CSSM_GetError to obtain the error code.

ERRORS

CSSM_INVALID_POINTER

Invalid pointer.

CSSM_INCOMPATIBLE_VERSION

Incompatible version.


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