topic icon logo Editing Primitive Type Fields


 

To edit a field, select the required field in tree view and the detail view will be updated to display the appropriate edit box for value editing. The various edit boxes for different ASN.1 primitive types are described as follows:

INTEGER TYPE

This value type can be edited using the following dialog displayed in the edit window. Only an integer numeric value may be entered. When the value is changed, the update button will be enabled.


image of hoow to edit an integer type


BOOLEAN TYPE

A Boolean value type can be edited using the following dialog displayed in the edit window:

image of how to edit a boolean type

The value is changed by simply toggling the TRUE / FALSE radio buttons.


BIT STRING TYPE

This type of value can be edited using the following dialog displayed in the edit window. It will accept only 1 or 0 bits values, other values will be marked as invalid values.


image of how to edit a bit string type

Alternately, the Hex Edit... button can be used to toggle the view to all hex values to be entered:

image of a hex edit

Note in this case that the Hex Edit... button has been changed to Binary Edit... to allow you to get back to binary mode.


OCTET STRING

This value type can be edited using the following dialog displayed in the edit window. It will accept only hex characters (i.e. A,B, C, D, E, F, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9), other characters will be marked as invalid.

image of how o edit an octet string using dialog

 

REAL TYPE

This type of value can be edited using the following dialog displayed in the edit window. In this dialog, only floating point numeric data may be entered (+, -, ., e, E, and numeric digits).

image of how to edit a real type value

 

OBJECT IDENTIFIER and RELATIVEOID

This type of value can be edited using the following dialog displayed in the edit window. Although the value may be displayed with named-number arc values (if name is known), it is not necessary to retain this data when editing the value. A space-separated list of numbers can be used.

image of how to edit an object identifier and relativeoid with dialog which supports BMP and UTF-8 string types

 

CHARACTER STRING or Restricted Character String

This type of value can be edited using the following dialog displayed in the edit window. Any type of character input will be accepted. The dialog supports BMP (Unicode) and UTF-8 string types.

shows how to edit a character string value, with anyy form of dialog being accepted

 

ENUMERATED

This type of value can be edited using the following dialog displayed in the edit window.

image of how to edit an enumerated type of value with dialog

In this case, all possible enumerations of the enumerated type can be accessed via the dropdown menu. Adding an undefined enumeration to an extensible enumerated type is not supported.


 UTCTime or GeneralizedTime

A time value can be edited using the following dialog.

  • The 'value' field can be edited directly by entering a valid UTC or Generalized time string.
  • The time controls can be used to select a given time value and to set the time zone offset.
  • The 'Set Current' push button can be used to set the time value to the current time.
shows how to edit a time value


 

Copyright © 2004-2011 Objective Systems, Inc. All Rights Reserved.