The Hex editor allows you to view or edit any attribute values in hex mode. For example, if you are synchronizing eDirectory attribute values of type octet string, then you can edit this information through Designer.
Figure 9-6 Hex Editor
The Hex editor is inside of the Policy Simulator. The Hex editor is opened for all attributes that have an eDirectory syntax of octet string or unknown and an application syntax type of octet. You can also access the Hex editor by following these steps:
Launch the Policy Simulator and do the following:
Set the Simulation Point to Publisher Creation.
Add a class parameter of User.
Click the Add Attribute button to add a new attribute to the class.
In the Schema Browser, select Add an Attribute .
Follow the steps in the New Attribute Wizard to create a new attribute. Make sure you specify the attribute’s syntax type as Octet String.
For more information, see Creating Identity Vault Attributes
in the NetIQ Designer for Identity Manager Administration Guide.
In the Schema Browser, select the new attribute, then click OK to launch the Hex editor.
You can import data from a file into the Hex editor.
Click Import in the Hex editor.
Browse to and select the file that has the information to import, then click Open.
You can press the Insert key to insert a single byte, or you can use the following method to add multiple bytes:
Select where you want to insert new data, then right-click in the Hex editor and select Insert.
Specify the amount of data to add in bytes (B) or kilobytes (kB).
Specify the initial hex value, then click OK.
Right-click in the Hex editor, then select Append.
The Append option is available when you right-click the first byte in the table, if there is no data. It is also available when you right-click the last byte if there is data.
Specify the amount of data to append in bytes or kilobytes.
Specify the initial hex value, then click OK.
From the Encoding drop-down list, select the desired encoding for the value.
When the encoding is selected, the far right column displays the value encoded.
Select the cell of data to edit, then edit the data.
When a cell is selected, the value is displayed in blue.
Click OK to save the changes.
The Hex editor also displays the value as hex, decimal, octet, and binary.
Figure 9-7 Value Displayed in Multiple Formats
If you make a change in the Hex editor and want to undo it:
Right-click in the Hex editor, then select Undo.
The last change you had made is undone.
If you decide you want that change back:
Right click in the Hex editor, then select Redo.
The change that was undone is now redone.
You can delete a single byte of data by pressing the Delete key. The Hex editor also allows you to delete sections of data from the table:
Right-click in the Hex editor, then select Delete.
Specify the amount of data to delete in bytes or kilobytes, then click OK.
Data is deleted from the current cursor position.
If you select From the cursor position to the end, it deletes all data in the Hex editor from the cursor position in the table to the end of the table.
You can move the cursor to a specified position in the Hex editor:
Right-click in the Hex editor, then select Goto.
Select whether the address specified in the table is a Decimal or Hexadecimal offset, then specify the value.
Select the mode of moving the cursor:
Absolute: Moves the cursor to the specified offset.
Relative Down: Moves the cursor down from where the cursor is currently located in the Hex editor.
Relative Up: Moves the cursor up from where the cursor is currently located in the Hex editor.
Click OK to move the cursor.
You can export data from the Hex editor to a file.
Click Export in the Hex editor.
Specify a filename and location for the file, then click Save.