Create Keystore (QC3CRTKS, Qc3CreateKeyStore) API


  Required Parameter Group:


 Service Program Name: QC3KSCRT

 Default Public Authority: *USE

 Threadsafe: Yes

The Create Keystore (OPM, QC3CRTKS; ILE, Qc3CreateKeyStore) API creates a database file for storing cryptographic key values for use with the cryptographic services set of APIs.

For more information about cryptographic services keystore, see Cryptographic services key management.


Authorities and Locks

Required library authority
*EXECUTE, *ADD


Required Parameter Group

Qualified keystore file name
INPUT; CHAR(20)

The keystore file to be created. The first 10 characters contain the file name. The second 10 characters contain the name of the library in which the keystore file will be located.

You can use the following special value for the library name.


Master key ID
INPUT; BINARY(4)

The master key under which the key values will be encrypted before storing in the keystore file. The master key IDs are


Public authority
INPUT; CHAR(10)

The authority you give to users who do not have specific private or group authority to the keystore file.


Text description
INPUT; CHAR(50)

A brief description of the keystore file.

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 ]