Index of  //675502.arinterhk.tech/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.C23-Mar-2010 08:3011,592C source
[TXT]COMMON.H23-Mar-2010 08:301,567C header
[TXT]DUMMY.C23-Mar-2010 08:3020,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.H23-Mar-2010 08:301,138C header
[TXT]DUMMY_MDS.H23-Mar-2010 08:302,743C header
[TXT]MAF_COLLECTN.H23-Mar-2010 08:307,027C header
[TXT]MAF_UTIL.H23-Mar-2010 08:309,157C header
[TXT]MDS_UTIL.H23-Mar-2010 08:3024,092C header
[TXT]MODINSTALL.C23-Mar-2010 08:304,508C source
[TXT]PUBLIC.C23-Mar-2010 08:30633C source
[TXT]README.TXT 6-Jan-2003 12:492,668plain text