HP OpenVMS Systems Documentation

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

MDS_Uninstall

  Table of Contents

  Glossary

  Index

NAME

MDS_Uninstall — Delete the object directory database (CDSA)

SYNOPSIS

# include <cdsa/mds.h>
CSSM_RETURN CSSMAPI MDS_Uninstall
(MDS_HANDLE MdsHandle)

LIBRARY

Module Directory Services library (cdsa$mds300_shr.exe)

PARAMETERS

MdsHandle (input)
  

The MDS handle identifying a valid MDS context.

DESCRIPTION

This function deletes the Object Directory database containing the Object relation, and the CDSA Directory database containing the set of CDSA-specific relations defined in this specification. The MdsHandle identifies the MDS context created by invoking MDS_Initialize(). The context contains information about the access rights of the caller. Write-access is required to perform this operation.

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.

CSSMERR_DL_INVALID_DL_HANDLE CSSMERR_DL_DATASTORE_IS_OPEN
CSSMERR_DL_INVALID_DB_LOCATION CSSMERR_DL_INVALID_DB_NAME
CSSMERR_DL_DATASTORE_DOESNOT_EXIST

SEE ALSO

Books

Intel CDSA Application Developer's Guide