[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

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

MDSUTIL_GetCredLocationFromGUID

 » Table of Contents

 » Glossary

 » Index

NAME

MDSUTIL_GetCredLocationFromGUID — Returns the location of the add-in module, and the associated credentials file for the add-in module.

SYNOPSIS

# include <mds_util_api.h> 
# include <mds_util_helper.h>
CSSM_RETURN CSSMAPI MDSUTIL_GetCredLocationFromGUID
(const CSSM_GUID *ModuleGUID,
CSSM_DATA *pModulePath,
CSSM_DATA *pModuleCredentialPath,
CSSM_API_MEMORY_FUNCS_PTR MemoryFuncs)

LIBRARY

Module Directory Services library (cdsa$mds300_shr.exe)

PARAMETERS

ModuleGUID (input)
  

A pointer to the module's Globally Unique ID.

pModulePath (output)
  

A pointer to the module's full filespec location.

pModuleCredentialPath (output)
  

A pointer to the module's credential full filespec location.

MemoryFuncs (input)
  

The memory-management routines MDS uses to allocate query results on behalf of the caller.

DESCRIPTION

This function returns the location of the add-in module, and the associated credentials file for the add-in module. The caller is responsible for freeing the memory in the output parameters.

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_CSSM_INVALID_GUID
CSSMERR_CSSM_MDS_ERROR
CSSM_ERRCODE_INVALID_OUTPUT_POINTER
CSSM_ERRCODE_MEMORY_ERROR

SEE ALSO

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: MDSUTIL_ModuleInstall, MDSUTIL_ModuleUninstall, MDSUTIL_ListModules, MDSUTIL_GetModuleInfo, MDSUTIL_FreeModuleInfo, MDSUTIL_FreeModuleList, MDSUTIL_ListModuleManagers, MDSUTIL_GetModuleManagerInfo, MDSUTIL_ModuleManagerInstall, MDSUTIL_ModuleManagerUninstall, MDSUTIL_Init, MDSUTIL_Term