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.



BOOLEAN TYPE

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

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.


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

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.

 

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


 

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.

 

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.

 

ENUMERATED

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

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.


 

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