Translate Keystore Exit Program


  Required Parameter Group:


  QSYSINC Member Name: ETRNKSF

  Exit Point Name: QIBM_QC3_TRN_KSF

  Exit Point Format Name: TRNK0100

The Translate Keystore exit program is called when the Translate Keystore File (TRNCKMKSF) CL command, the Qc3TranslateKeyStore API, or the Translate Key Store dialog in System i® Navigator is being used. The exit program is called for each keystore that is translated.

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

Translate keystore exit information
INPUT; CHAR(*)

Information that is needed by the exit program for notification of a keystore that is to be translated. For details, see Format of Translate Keystore Exit Information.

Action
INPUT; CHAR(1)

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

Translate 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 Translate Keystore Exit Information

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



Field Descriptions

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

To master key ID. The ID of the master key that will be used to encrypt the keystore after the keystore is translated. The possible values are:

Translate keystore exit information length. The length in bytes of all data passed to the translate keystore exit program.

Translate keystore status. The status value that indicates whether the exit program considers the keystore eligible to be translated. The possible values are:

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

Translate keystore status length. The length in bytes of the translate status information.



Exit program introduced: V6R1

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