z/OS Cryptographic Services PKI Services Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Customizing with installation exit routines

z/OS Cryptographic Services PKI Services Guide and Reference
SA23-2286-00

Programming Interface information
Programming Interface information
PKI Services supports the use of installation exit routines in the following ways:
  • The PKI Services daemon can call an installation-provided exit routine for automatic renewal processing.
  • If you implement the PKI Services Web application using REXX CGI execs, the PKI Services Web application CGIs can call an installation-provided exit routine for end-user functions except VERIFY.
  • If you implement the PKI Services Web application using Java™ server pages (JSPs), exit methods are called before and after end-user functions except VERIFY.

PKI Services provides a sample exit routine, pkiexit.c, written in the C language. It is intended to demonstrate the power of the exit routine for the daemon and REXX CGI execs, and to provide a guide for you to write your own exit routine. The main routine of the program determines which subroutine to call, based on the R_PKIServ function being called and whether this is a pre- or post-processing call.

No sample is provided for the exit methods used with JSPs.

You can implement the exit routines for the PKI Services daemon and the PKI Services Web application CGIs in the same program (as shown in the sample, pkiexit.c) or in separate programs.

PKI Services provides the following files for the daemon and CGI exit routine. Both files are, by default, located in: /usr/lpp/pkiserv/samples/.
Table 1. Files for the pkiexit.c exit routine
File name Description
pkiexit.c Code sample for the exit routine (in the C programming language). You probably need to update the exit routine code before using it.
Makefile.pkiexit Makefile for pkiexit.c.
End of Programming Interface information
End of Programming Interface information

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014