ENABLE.KEY

ENABLE.KEY

Top  Previous  Next

 

The ENABLE.KEY statement is used to enter the password for a secure encryption key.

 

 

Format

 

ENABLE.KEY keyname, password {THEN statement(s)} {ELSE statement(s)}

 

where

 

keynameis the name of the encryption key to be enabled.

 

passwordis the password protecting this key.

 

At least one of the THEN and ELSE clauses must be present.

 

 

An encryption key created using the CREATE.SECURE.KEY command can only be accessed in a QM session after it has been enabled by use of the ENABLE.KEY statement of the corresponding ENABLE.KEY command.
 
If successful, the THEN clause is executed. If unsuccessful, the ELSE clause is executed after a short pause.

 

Access to the key can be denied again by use of DISABLE.KEY.

 

 

See also:

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