IBM Tivoli Netcool/OMNIbus SNMP Writer Gateway: Reference Guide
IBM Tivoli Netcool/OMNIbus SNMP Writer Gateway: Reference Guide
IBM Tivoli Netcool/OMNIbus SNMP Writer Gateway: Reference Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Table 11. nco_aes_crypt command line options<br />
Command line option Description<br />
-d or-e Use this option to specify the mode in which<br />
the nco_aes_crypt tool runs:<br />
d - decrypt mode<br />
e - encrypt mode<br />
The default is e.<br />
-o string Use this option to specify the output file to<br />
which the encrypted data will be written.<br />
-k string Use this option to specify the path of the file<br />
containing the key data.<br />
-f string Use this option to specify the path of the file<br />
containing data requiring encryption.<br />
data Use this option to specify the data to be<br />
encrypted or decrypted.<br />
Encryption key file<br />
The encryption key is stored in a flat file alongside the encrypted data. The key<br />
storage file has an ASCII numeric key length indicator followed by a colon and the<br />
key in binary form.<br />
The format of the key file is as follows:<br />
key_length:key_data<br />
Where key_length is the length of the key in bits and the key_data is the key in<br />
binary form. Valid length values are 128, 192 and 256.<br />
For example:<br />
128:1234567812345678<br />
In this case, key_length is 128 since the ASCII string 1234567812345678 has 16<br />
bytes (128 bits).<br />
You can generate random or pre-defined keys of varying lengths using nco_keygen.<br />
To generate a key file, use the following command:<br />
nco_keygen -o outfile[-l length|-k]key][-h |-?]<br />
The following table gives the descriptions of the above command line options.<br />
Table 12. Encrytion key file command line options<br />
Command line option Description<br />
-o outfile Use this option to specify the output file<br />
name.<br />
-l length Use this option to specify the length (in bits)<br />
of the key to write out.<br />
The default is 128.<br />
Note: The value that you specify must be<br />
divisible by 8.<br />
<strong>IBM</strong> <strong>Tivoli</strong> <strong>Netcool</strong>/<strong>OMNIbus</strong> <strong>SNMP</strong> <strong>Writer</strong> <strong>Gateway</strong> 25