Delete Keystore Record Exit Program


  Required Parameter Group:


  QSYSINC Member Name: EDLTKR

  Exit Point Name: QIBM_QC3_DLT_KREC

  Exit Point Format Name: DLKR0100

The Delete Keystore Record exit program is called when the Remove Keystore File Entry (RMVCKMKSFE) CL command, the Qc3DeleteKeyRecord API, or the delete action of the Key Store Contents panel in System i® Navigator is being used.

The operating system calls the user-written exit programs through the registration facility for each keystore file.

The exit point supports an unlimited number of exit programs. For information about adding an exit program to an exit point, see the Registration Facility.


Authorities and Locks

None.


Required Parameter Group

Delete Keystore Record exit information
INPUT; CHAR(*)

Information that is needed by the exit program for notification of a keystore record that is to be deleted. For details, see Format of Delete Keystore Record Exit Information.

Action
INPUT; CHAR(1)

The type of exit program call being made. The following actions may be requested:

Delete status
OUTPUT; CHAR(*)

Information that is returned by the exit program. For details, see Format of Status Information.

Note: The information returned is ignored when the action parameter is set to 2 or 3.


Format of Delete Keystore Record Exit Information

The following table shows the structure of the delete keystore record exit information. For a description of the fields in this format, see Field Descriptions.



Format of Status Information

The following table shows the structure of the Delete status information. For a description of the fields in this format, see Field Descriptions.



Field Descriptions

Delete keystore record exit information length. The length of the delete keystore record exit information.

Delete keystore record status. The status value that indicates whether the exit program considers the keystore record eligible to be deleted. The possible values are:

Note: If any other value is specified for this field, the keystore record will not be eligible to be deleted.

Delete keystore record status length. The length in bytes of the delete status information.

Qualified keystore file name. The file name of the keystore to be deleted. The following table shows the structure of this field:

Record label. The label of the key record. The label will be converted from CCSID 1200 (Unicode UTF-16) to the job CCSID, or if 65535, the job default CCSID (DFTCCSID) job attribute.



Exit program introduced: V6R1

[ Back to top | Cryptographic Services APIs | APIs by category ]