8.4 Using the Hex Editor

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 8-6 Hex Editor

8.4.1 Accessing the 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:

  1. Launch the Policy Simulator and do the following:

    1. Set the Simulation Point to Publisher Creation.

    2. Add a class parameter of User.

    3. Click the Add Attribute button to add a new attribute to the class.

  2. 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.

  3. In the Schema Browser, select the new attribute, then click OK to launch the Hex editor.

    Launching the Hex editor by selecting the attribute

8.4.2 Importing Data into the Hex Editor

You can import data from a file into the Hex editor.

  1. Click Import in the Hex editor.

  2. Browse to and select the file that has the information to import, then click Open.

8.4.3 Inserting Data in the Hex Editor

You can press the Insert key to insert a single byte, or you can use the following method to add multiple bytes:

  1. Select where you want to insert new data, then right-click in the Hex editor and select Insert.

    Inserting data
  2. Specify the amount of data to add in bytes (B) or kilobytes (kB).

    Specifying the amount of data to add
  3. Specify the initial hex value, then click OK.

    Specifying the initial hex value

8.4.4 Appending Data in the Hex Editor

  1. Right-click in the Hex editor, then select Append.

    Selecting Append in the Hex editor

    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.

  2. Specify the amount of data to append in bytes or kilobytes.

    Specifying the amount of data to append
  3. Specify the initial hex value, then click OK.

8.4.5 Editing Data in the Hex Editor

  1. From the Encoding drop-down list, select the desired encoding for the value.

    Selecting the desired encoding

    When the encoding is selected, the far right column displays the value encoded.

  2. Select the cell of data to edit, then edit the data.

    Editing the selected field

    When a cell is selected, the value is displayed in blue.

  3. Click OK to save the changes.

The Hex editor also displays the value as hex, decimal, octet, and binary.

Figure 8-7 Value Displayed in Multiple Formats

8.4.6 Reverting Changes in the Hex Editor

If you make a change in the Hex editor and want to undo it:

  1. 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:

  1. Right click in the Hex editor, then select Redo.

    The change that was undone is now redone.

8.4.7 Deleting Data in the Hex Editor

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:

  1. Right-click in the Hex editor, then select Delete.

  2. Specify the amount of data to delete in bytes or kilobytes, then click OK.

    Deleting data

    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.

8.4.8 Moving the Cursor in the Hex Editor

You can move the cursor to a specified position in the Hex editor:

  1. Right-click in the Hex editor, then select Goto.

  2. Select whether the address specified in the table is a Decimal or Hexadecimal offset, then specify the value.

    Specifying an address
  3. 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.

  4. Click OK to move the cursor.

8.4.9 Exporting Data from the Hex Editor

You can export data from the Hex editor to a file.

  1. Click Export in the Hex editor.

  2. Specify a filename and location for the file, then click Save.