Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems Documentation

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

CDSA_FileValidate

 » Table of Contents

 » Glossary

 » Index

NAME

FileValidate — Validate a manifest file against its target file

SYNOPSIS

#include <cssm.h>

int CDSA_FileValidate( char *target_file,
CSSM_RETURN *CDSA_Ret_Status );

LIBRARY

CDSA$VALIDATE_LIBSHR.EXE

PARAMETERS

target_file (input) 

The full UNIX file specication of the file to be validated.

CDSA_Ret_Status (output)  

A CDSA status code. If non-zero, the status can be decoded using the routine Decode_CDSA_Error.

DECRIPTION

CDSA_FileValidate validates a target file using the associated manifest file. It is the callable equivalent of CDSA$VALIDATE.EXE.

RETURN VALUE

VMS_Success or VMS_Failure.

ERRORS

Errors are described in the CDSA technical standard.

CSSM_OK
CSSM_ERRCODE_SELF_CHECK_FAILED
CSSMERR_SD_NO_TARGETFILE
CSSMERR_SD_NO_MANIFESTFILE
CSSM_ERRCODE_MEMORY_ERROR
CSSMERR_SD_MANIFESTFILE_OPEN_FAILED
CSSMERR_SD_MANIFESTFILE_READ_FAILED
CSSMERR_SD_TARGETFILE_STRING_NOT_FOUND
CSSMERR_SD_TARGETFILE_TERMINATOR_NOT_FOUN

 

** About PDF files: The PDF files on this Web site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software installed on your system, you may download it from the Adobe Web site.
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.