**** DUMMYEMM_README.TXT ****
This CDSA example is an Entity Module Manager, which extends
the functionality of CDSA by providing an additional category
of service.
It's purpose is to demonstrate the mechanics of developing
a CDSA EMM (which on OpenVMS is a shareable image).
It also provides the necessary CDSA code files that would be
necessary to build an Entity Module Manager.
The installation procedure will verify that it is built
correctly. It will attach the module and execute
RegisterCDSAModule(), (the definition of INSTALL_ENTRY_NAME).
********************
** Special Note **
********************
Sys$common:[syshlp.examples.cdsa]readme.txt contains general
information that applies to all of the example programs that are signed.
The necessary files to build the example on OpenVMS are included,
with the exception of modselfkey.h. This include file must be
generated from the certificate created for the addin module(s).
See the OpenVMS book "Open Source Security for OpenVMS, Volume 1: Common Data
Security Architecture", CDSA Programing Concepts, for complete instructions.
Special attention should be paid to the section on Signed Application Development.
A signed CDSA application will not execute until the proper credentials are
generated.
The DUMMYEMM example files are:
CALLOUTS.C COMMON.H DUMMYEMM_BUILD.COM
COMMON.C DUMMYSPI.H DUMMYEMM_SIGN.COM
DUMMY.C DUMMY_MDS.H DUMMYEMM_INSTALL.COM
MODINSTALL.C MAF_COLLECTN.H
PUBLIC.C MAF_UTIL.H
MDS_UTIL.H
(MODSELFKEY.H not provided, user generated)
After performing the steps to generate the application credentials
and the include file, modselfkey.h, the DUMMYEMM example program
can be built by copying the example files to a local build
area, and executing the DUMMYEMM_BUILD command file, as follows:
$ define/trans=conceal cdsa_tempdir :[.]
$ set default cdsa_tempdir:[DUMMYEMM]
$ copy SYS$SYSROOT:[SYSHLP.EXAMPLES.CDSA.DUMMYEMM]*.* []
$ copy CDSA_SYSDIR:[SIGN]MODSELFKEY.H []
$ @DUMMYEMM_BUILD
The resulting shareable image is DUMMYEMM_SHR.EXE.
**************
On the SIGNING SYSTEM run the command procedure to generate the manifest.
**************
$ @DUMMYEMM_SIGN
Finally back on the development system run the command procedure
to install the module.
$ @DUMMYEMM_INSTALL
When an application program loads an addin module that is written to
the SPI of this EMM, the EMM will be automatically loaded.
| Name | Revised | Size | Description |
|
| CALLOUTS.C | 16-Jul-2004 08:34 | 2,338 | C source |
| COMMON.C | 23-Mar-2010 08:30 | 11,592 | C source |
| COMMON.H | 23-Mar-2010 08:30 | 1,567 | C header |
| DUMMY.C | 23-Mar-2010 08:30 | 20,554 | C source |
| DUMMYEMM.OPT | 7-Aug-2002 11:10 | 448 | VMS linker options |
| DUMMYEMM_BUILD.COM | 6-Jan-2003 15:23 | 1,486 | DCL procedure |
| DUMMYEMM_INSTALL.COM | 7-Aug-2002 09:55 | 494 | DCL procedure |
| DUMMYEMM_SIGN.COM | 30-Aug-2004 12:52 | 1,354 | DCL procedure |
| DUMMYSPI.H | 23-Mar-2010 08:30 | 1,138 | C header |
| DUMMY_MDS.H | 23-Mar-2010 08:30 | 2,743 | C header |
| MAF_COLLECTN.H | 23-Mar-2010 08:30 | 7,027 | C header |
| MAF_UTIL.H | 23-Mar-2010 08:30 | 9,157 | C header |
| MDS_UTIL.H | 23-Mar-2010 08:30 | 24,092 | C header |
| MODINSTALL.C | 23-Mar-2010 08:30 | 4,508 | C source |
| PUBLIC.C | 23-Mar-2010 08:30 | 633 | C source |
| README.TXT | 6-Jan-2003 12:49 | 2,668 | plain text |
|