Encipher To Master Key (ENCTOMSTK)

Where allowed to run:
  • Batch program (*BPGM)
  • Interactive program (*IPGM)
Threadsafe: No
Parameters
Examples
Error messages

The Encipher To Master Key (ENCTOMSTK) command reenciphers a data-encrypting key from encryption under a receiving cross-domain key to encryption under the host master key.

Top

Parameters

Keyword Description Choices Notes
CPHK CL var for re-encrypted key Character value Required, Positional 1
CRSDMNK *RCV cross-domain key name Name Required, Positional 2
ENCCPHK Enciphered key value Character value Required, Positional 3
Top

CL var for re-encrypted key (CPHK)

Specifies an 8-byte variable to receive the data-encrypting key encrypted under the host master key. This is a required parameter.

Top

*RCV cross-domain key name (CRSDMNK)

Specifies the name, or a variable containing the name, of a receiving cross-domain key. The value in the Enciphered key value prompt (ENCCPHK parameter) is decrypted using the receiving cross-domain key and encrypted using the host master key. This is a required parameter.

Top

Enciphered key value (ENCCPHK)

Specifies the 8-byte value, or a variable containing the 8-byte value, of a data-encrypting key enciphered under the receiving cross-domain key specified in the *RCV cross-domain key name prompt (CRSDMNK parameter). This is a required parameter.

Top

Examples

None
Top

Error messages

Unknown
Top