To set the basic key 1 that is used for tables defined, in that CXX, as using basic encryption, use the DBUTLTY ENCRYPT function as shown in the following syntax:
►► DBUTLTY ENCRYPT OPTION=SET_BASIC_KEY_1,OPTION2=x,OPTION4=y ────►◄
(Required) Basic encryption key 1 is stored in the CXX and available to functions LOAD, REORG, and REPLACE as needed.
Value 1 is used with every DBUTLTY LOAD or REORG (with the LOAD option)), or REPLACE if the area has no other encrypted tables, done to an area that has an encrypted table and is the value stored in the data area control block to ensure successful access.
(Required) We recommend that you request CA Datacom to generate a random key value. Request a random key value by specifying an asterisk (*) for both OPTION2= and OPTION4= (that is, OPTION2=*,OPTION4=*).
If you want to select the encryption key value of 32 bytes in length, specified as 64 hexadecimal digits (0-9 and A-F), use the options without the asterisks. The x is replaced by 32 digits representing the first half of the selected key. The y is replaced by 32 digits representing the second half of the selected key. If the x and y values are both set as all zeros, the values are never used as an encryption keys but are instead considered to be the absence of a key, which is therefore a way to delete a key.
The keys are considered "handles" of the actual encryption key to be used. The conversion of the handle or external key to the internal key is never intended to be made public. The key handles are saved in the CXX. When not setting the key to zeros to remove it, the values for OPTION2= and OPTION4= cannot have more than two repeating values and must have at least one occurrence of each possible hex value (0-9 and A-F).
A basic encryption key can only be set using an enabled MUF.
//DBUTLTY EXEC PGM=DBUTLTY * ENCRYPT OPTION=SET_BASIC_KEY_1, OPTION2=*, OPTION4=* ENCRYPT OPTION=SET_BASIC_KEY_1, OPTION2=1722EB3B75817A5A0787E6FB6B4D6C99, OPTION4=24A3841C6B365D0E3E17791F77110211
|
Copyright © 2014 CA.
All rights reserved.
|
|