HP OpenVMS Systems Documentation

Content starts here
HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > CDSA API Functions

CSSM_Terminate

  Table of Contents

  Glossary

  Index

NAME

CSSM_Terminate — Terminate the use of CSSM (CDSA)

SYNOPSIS

# include <cssm.h>

LIBRARY

Common Security Services Manager library (cdsa$incssm300_shr.exe)

PARAMETERS

None

DESCRIPTION

This function terminates the caller's use of CSSM. CSSM can clean up all internal states associated with the calling application. This function must be called once by each application.

CSSM_Terminate() must be called one time for each time CSSM_Init() was previously called.

CSSM services remain available to the program until the final call to CSSM_Terminate() completes. After that final call, all information introduced by the caller (including privileges, handles, contexts, introduced libraries, and so forth) is lost, and it is an error to subsequently call any CSSM API function other than CSSM_Init().

RETURN VALUE

A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition.

ERRORS

Errors are described in the CDSA Technical Standard.

SEE ALSO

Books

Intel CDSA Application Developer's Guide

Online Help

Functions CSSM_Init