Index of  //timmersit.nl/sys$common/syshlp/examples/CDSA/DUMMYEMM/*.*

****    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.

NameRevisedSizeDescription

[TXT]CALLOUTS.C16-Jul-2004 08:342,338C source
[TXT]COMMON.C22-Mar-2010 18:3111,592C source
[TXT]COMMON.H22-Mar-2010 18:311,567C header
[TXT]DUMMY.C22-Mar-2010 18:3120,554C source
[TXT]DUMMYEMM.OPT 7-Aug-2002 11:10448VMS linker options
[TXT]DUMMYEMM_BUILD.COM 6-Jan-2003 15:231,486DCL procedure
[TXT]DUMMYEMM_INSTALL.COM 7-Aug-2002 09:55494DCL procedure
[TXT]DUMMYEMM_SIGN.COM30-Aug-2004 12:521,354DCL procedure
[TXT]DUMMYSPI.H22-Mar-2010 18:311,138C header
[TXT]DUMMY_MDS.H22-Mar-2010 18:312,743C header
[TXT]MAF_COLLECTN.H22-Mar-2010 18:317,027C header
[TXT]MAF_UTIL.H22-Mar-2010 18:319,157C header
[TXT]MDS_UTIL.H22-Mar-2010 18:3124,092C header
[TXT]MODINSTALL.C22-Mar-2010 18:314,508C source
[TXT]PUBLIC.C22-Mar-2010 18:31633C source
[TXT]README.TXT 6-Jan-2003 12:492,668plain text