In a number of previous articles I have discussed the Cryptographic Services APIs and provided commands and code to support a cryptographic infrastructure, including key management facilities. However, release V5R4 has introduced many new cryptographic APIs to ease and support the key management part of the challenge involved in setting up a secure and manageable cryptographic environment.
In today’s issue of APIs by Example, I provide CL command interfaces to some of these APIs, with the intention of extending their immediate employment and usefulness, as well as discussing the API functions and the implications of their use. With that in mind, here are the Load Master Key Part (LODMSTKP) and Set Master Key (SETMSTK) commands.
Download the save file containing the source code.