Description
This command allows you to set encryption properties for a given client.
In case of an error, an error code and description are displayed as: "setencryptionprops: Error errorcode: errordescription"
Usage
qoperation setencryptionprops [-cs $[commserve_host_name]] -c $[client] -encryptdata $[encrypt] [-cipher $[cipher]] [-keylength $[keylength]] [-synthfull $[synthfull]] [-mediaaccess $[mediaaccess]] [-af $[argsfile]] [-h]
Options
|
-cs |
CommServe host name |
|
-c |
Client computer name |
|
-encryptdata |
Encrypt data. |
|
-cipher |
Data Encryption Algorithm (BLOWFISH|GOST|AES|SERPENT|TWOFISH|3-DES) |
|
-keylength |
Key Length(128|256) |
|
-synthfull |
Enable Synthetic Full. Valid values are 'y' and 'n' |
|
-mediaaccess |
Direct Media Access (password|noaccess) |
|
-af |
Reads arguments from a file |
|
-tf |
Reads token from a file |
|
-tk |
Token string |
|
-h |
Displays help |
Argument Files
For information on creating an argument file, see Command Line - FAQ - How do I use argument files in commands.
|
server |
CommServe host name |
|
client |
Client computer name |
|
encryptdata |
Encrypt Data. Valid values are 'y' and 'n' |
|
cipher |
Data Encryption Algorithm (BLOWFISH|AES|SERPENT|TWOFISH|3-DES) |
|
keylength |
Key Length(128|256) |
|
synthfull |
Enable Synthetic Full. Valid values are 'y' and 'n' |
|
mediaaccess |
Direct Media Access (password|noaccess) |
Diagnostics
Possible exit status values are:
0 - Successful completion.
1 - CLI usage failures, due to the use of an unsupported option or missing argument.
2 - Any other failure.
Example
-
To set Data Encryption Algorithm:
qoperation setencryptionprops -c "$[client1]" -encryptdata $[y] -cipher $[SERPENT] Updated client (client1) encryption properties successfully. -
To set Direct Encryption Algorithm BLOWFISH with Keylength of 256:
qoperation setencryptionprops -c "$[client1]" -encryptdata y -cipher $[BLOWFISH] -keylength $[256] Updated client (client1) encryption properties successfully.