Example 11: OPKYLOAD Control Statement

This example shows a control statement to load a key into the CKDS from any CCA cryptographic coprocessor. The serial number of the card is 94000011. A key has been loaded on the card with the label ERC033.DEC50.

OPKYLOAD LABEL(ERC033.DEC50) SERNBR(94000011)  

KGUP checks the CKDS for the label and will fail if the label exists. KGUP then queries the coprocessor to see if the key exists on the card. If the key exists, the key token is retrieved from the card and loaded into the CKDS.