Load Master Key Part (QC3LDMKP, Qc3LoadMasterKeyPart) API


  Required Parameter Group:


 Service Program Name: QC3MKPLD

 Default Public Authority: *EXCLUDE

 Threadsafe: Yes

The Load Master Key Part (OPM, QC3LDMKP; ILE, Qc3LoadMasterKeyPart) API loads a key part for the specified master key by hashing the specified passphrase and adding it into the new master key version.

For more information about master keys, see Cryptographic services key management.


Authorities and Locks

Required special authority
*ALLOBJ and *SECADM

Required Parameter Group

Master key ID
INPUT; BINARY(4)

The master key IDs are


Passphrase
INPUT; CHAR(*)

A text string.

Length of passphrase
INPUT; BINARY(4)

The length of text specified in the passphrase parameter. The length must be in the range of 1 to 256.

CCSID of passphrase
INPUT; BINARY(4)

The CCSID of the passphrase. The passphrase will be converted from the specified CCSID to Unicode before creating the key part.


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 ]