SET.ENCRYPTION.KEY.NAME

SET.ENCRYPTION.KEY.NAME

Top  Previous  Next

 

The SET.ENCRYPTION.KEY.NAME command updates a data file to reference a new name for an encryption key.

 

 

Format

 

SET.ENCRYPTION.KEY.NAME filename field, keyname ...

SET.ENCRYPTION.KEY.NAME filename keyname

 

where

 

filenameis the name of the encrypted file to be updated.

 

fieldis the name or field number of the field to be amended.

 

keynameis the name of the encryption key to be used. This is case insensitive.

 

 

The SET.ENCRYPTION.KEY.NAME command is intended for use where an encrypted file is moved to a system on which the original encryption key name is already in use but with a different key value. It updates the encryption key information stored in the file but does not make any changes to the data records.

 

The first form of the SET.ENCRYPTION.KEY.NAME command updates the encryption key for one or more fields within a file that uses field level encryption.

 

The second form of the SET.ENCRYPTION.KEY.NAME command updates the encryption key for record level encryption.

 

 

Examples

 

SET.ENCRYPTION.KEY.NAME CUSTOMERS CCARD,CARDNO

 

The above command sets the encryption key for the CCARD field of the CUSTOMERS file to be CARDNO.

 

 

SET.ENCRYPTION.KEY.NAME CUSTOMERS CKEY

 

The above command sets the record level encryption key for encrypts the CUSTOMERS file to be CKEY.

 

 

See also:

Data encryption, CHANGE.KEY.PASSWORD, CREATE.FILE, CREATE.KEY, CREATE.SECURE.KEY, DELETE.KEY, DISABLE.KEY, DISABLE.KEY (QMBasic), ENABLE.KEY, ENABLE.KEY (QMBasic), ENCRYPT.FILE, GRANT.KEY, LIST.KEYS, RESET.MASTER.KEY, REVOKE.KEY, UNLOCK.KEY.VAULT