You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Shaswata Das
5c6fe3db62
|
4 years ago | |
---|---|---|
.. | ||
atl.cpp | 4 years ago | |
certxsam.cpp | 4 years ago | |
certxsam.def | 4 years ago | |
certxsam.idl | 4 years ago | |
certxsam.rc | 4 years ago | |
exit.cpp | 4 years ago | |
exit.h | 4 years ago | |
exit0.cpp | 4 years ago | |
exit0.h | 4 years ago | |
makefile | 4 years ago | |
makefile.inc | 4 years ago | |
makefile.sdk | 4 years ago | |
mksdk.bat | 4 years ago | |
module.cpp | 4 years ago | |
module.h | 4 years ago | |
pch.cpp | 4 years ago | |
readme.txt | 4 years ago | |
resource.h | 4 years ago | |
sdk.sed | 4 years ago | |
sources | 4 years ago |
readme.txt
The source code in this directory can be used to build a sample Exit Module
for Microsoft Certificate Services. It is meant to run on Windows 2000 or
later. Certificate Services must already be installed.
Certificate Services calls the Exit Module through the ICertExit interface,
and the Exit Module can call back to Certificate Services through the
ICertServerExit interface.
Each time Certificate Services issues a certificate, it passes control to
the ICertExit::Notify method in exit.cpp, specifying that a certificate
has been issued. The passed Context parameter is used with the ICertServerExit
interface to retrieve properties from the newly issued certificate.
Once the certxsam.dll DLL is built, its COM interface must be registered
via the following command:
regsvr32 certxsam.dll
Once registered, the Certification Authority management console snapin can
be used to make this exit module active.
and the Certificate Services service must be stopped and restarted to load
the newly registered Exit Module. Use the Control Panel's Services applet,
and stop and restart the "Certificate Services" service.
If you wish to see the debug print output from the sample Exit Module,
attach a debugger to the running service process, or stop the Certificate
Services service, then start Certificate Services as a console application
via the following command:
certsrv -z
Files:
------
atl.cpp -- ActiveX Template Library COM support code
ceerror.cpp -- Implements error handling routines
celib.cpp -- Implements support routines
certxsam.cpp -- Implements COM and initialization entry points:
DllMain
DllCanUnloadNow
DllGetClassObject
DllRegisterServer
DllUnregisterServer
certxsam.def -- Exports COM entry points
certxsam.idl -- Interface Definitions
certxsam.rc -- Version Resource
exit.cpp -- Implements ICertExit
exit.h -- Implements ICertExit
module.cpp -- Implements ICertManageModule
module.h -- Implements ICertManageModule
pch.cpp -- Precompiled Header file
resource.h -- Resource ID definitions