Clear Master Key Exit Program


  Required Parameter Group:


  QSYSINC Member Name: ECLRMST

  Exit Point Name: QIBM_QC3_CLR_MSTKEY

  Exit Point Format Name: CLMK0100

The Clear Master Key exit program is called when the Clear Master Key (CLRMSTKEY) CL command, the Qc3ClearMasterKey API, or the Clear Master Key dialog in System i® Navigator is being used.

The operating system calls the user-written exit programs through the registration facility.

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

Clear master key exit information
INPUT; CHAR(*)

Information that is needed by the exit program for notification of any master key that is to be cleared. For details, see Format of Clear Master Key Exit Information.

Action
INPUT; CHAR(1)

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

Clear 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 Clear Master Key Exit Information

The following table shows the structure of the clear master key 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 clear status information. For a description of the fields in this format, see Field Descriptions.



Field Descriptions

Clear master key exit information length. The length in bytes of all data passed to the clear master key exit program.

Clear master key status. The status value that indicates whether the exit program considers the master key eligible to be cleared. The possible values are:

Clear master key status length. The length in bytes of the clear status information.

Master key ID. The ID of the master key that is being cleared. The possible values are:

Master key version.The version of the master key that is being cleared. The possible values are:



Exit program introduced: V6R1

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