Translate Keystore (QC3TRNKS, Qc3TranslateKeyStore) API


  Required Parameter Group:


 Service Program Name: QC3KSTRN

 Default Public Authority: *USE

 Threadsafe: Yes

The Translate Keystore (OPM, QC3TRNKS; ILE, Qc3TranslateKeyStore) API translates keys stored in the specified keystore files to another master key, or if the same master key is specified, to the current version of the master key.

If an error occurs, processing halts immediately.

For more information about cryptographic services keystore, see Cryptographic Services Key Management.


Authorities and Locks

Required file authority
*OBJOPR, *READ, *UPD


Required Parameter Group

Keystore file list
INPUT; CHAR(*)

The list of keystore files to re-encrypt. This parameter has the following structure.


Number of keystore files
The number of qualified keystore file names specified in this structure.

Qualified keystore file name
The name of a keystore file to re-encrypt. The first 10 characters contain the file name. The second 10 characters contain the name of the library where the keystore file is located.
You can use the following special values for the library name.

Master key ID
INPUT; BINARY(4)

The master key under which the keys will be re-encrypted.


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages




API introduced: V5R4

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